{"record":{"id":"8688dd46651626e2","repo":"dbt-labs/dbt-core","slug":"info-must-parse-on-show","errorCode":null,"errorMessage":"--info must parse on show","messagePattern":"--info must parse on show","errorType":"panic","errorClass":null,"httpStatus":null,"severity":"error","filePath":"crates/dbt-clap-core/src/lib.rs","lineNumber":3275,"sourceCode":"            \"--write-index\",\n            \"--write-metadata\",\n        ])\n        .expect(\"hidden artifact flags must remain accepted\");\n        assert!(parsed.write_catalog);\n        assert!(parsed.write_lineage);\n        assert!(parsed.write_index);\n        assert!(parsed.write_metadata);\n\n        assert!(\n            CommonArgs::try_parse_from([\"dbt\", \"--lineage\"]).is_err(),\n            \"--lineage is not a clap flag\"\n        );\n    }\n\n    #[test]\n    fn show_info_parses_and_conflicts_with_inline() {\n        let parsed = ShowArgs::try_parse_from([\"show\", \"--info\", \"models\"])\n            .expect(\"--info must parse on show\");\n        assert_eq!(parsed.info.as_deref(), Some(\"models\"));\n\n        assert!(\n            ShowArgs::try_parse_from([\"show\", \"--info\", \"models\", \"--inline\", \"select 1\"]).is_err(),\n            \"--info must conflict with --inline\"\n        );\n        assert!(\n            ShowArgs::try_parse_from([\"show\", \"--info\", \"models\", \"--adapter\", \"lakecompute\"])\n                .is_err(),\n            \"--info must conflict with --adapter\"\n        );\n    }\n\n    #[test]\n    fn manage_state_defaults_to_false() {\n        let project_dir = tempfile::tempdir().unwrap();\n        let common_args = CommonArgs::default();\n","sourceCodeStart":3257,"sourceCodeEnd":3293,"githubUrl":"https://github.com/dbt-labs/dbt-core/blob/0267ce9170576975b76b64ce856b2e5848e96617/crates/dbt-clap-core/src/lib.rs#L3257-L3293","documentation":"Test-only assertion in show_info_parses_and_conflicts_with_inline: `dbt show --info <arg>` must parse successfully. Fires only if the --info flag on the show command is removed or its argument definition changes incompatibly.","triggerScenarios":"Thrown at crates/dbt-clap-core/src/lib.rs:3275 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Restore the --info flag on ShowArgs","Check the conflicts/argument definition around show --info","Update the test if the flag surface intentionally changes"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"0267ce9170576975b76b64ce856b2e5848e96617","analyzedAt":"2026-09-07T21:53:39.732Z","contentChangedAt":"2026-09-07T21:53:39.732Z","schemaVersion":2},"datasetVersion":"2026-09-17T15:17:12.973Z"}