@@ -150,9 +150,9 @@ describe("execDbtShow", () => {
150150 await expect ( execDbtShow ( "SELECT 1" ) ) . rejects . toThrow ( "Could not parse dbt show output in any format" )
151151 } )
152152
153- // --- AI-7082: bubble real dbt error instead of generic "Could not parse" ---
153+ // --- Bubble real dbt error instead of generic "Could not parse" ---
154154
155- test ( "AI-7082: surfaces real dbt stderr when run fails" , async ( ) => {
155+ test ( "surfaces real dbt stderr when run fails" , async ( ) => {
156156 mockExecFile . mockImplementation ( ( _cmd : string , _args : string [ ] , _opts : any , cb : Function ) => {
157157 const err : any = new Error ( "Command failed: dbt show --inline ..." )
158158 err . code = 1
@@ -166,7 +166,7 @@ describe("execDbtShow", () => {
166166 await expect ( execDbtShow ( "SELECT 1" ) ) . rejects . toThrow ( / d b t s h o w f a i l e d / )
167167 } )
168168
169- test ( "AI-7082: prefers structured error event in JSON log over raw stderr" , async ( ) => {
169+ test ( "prefers structured error event in JSON log over raw stderr" , async ( ) => {
170170 const errorLog = JSON . stringify ( {
171171 info : {
172172 level : "error" ,
@@ -184,7 +184,7 @@ describe("execDbtShow", () => {
184184 await expect ( execDbtShow ( "SELECT 1" ) ) . rejects . toThrow ( / C o m p i l a t i o n E r r o r .* M o d e l ' f o o ' / )
185185 } )
186186
187- test ( "AI-7082: does not surface generic 'Could not parse' when dbt actually crashed" , async ( ) => {
187+ test ( "does not surface generic 'Could not parse' when dbt actually crashed" , async ( ) => {
188188 mockExecFile . mockImplementation ( ( _cmd : string , _args : string [ ] , _opts : any , cb : Function ) => {
189189 const err : any = new Error ( "Command failed" )
190190 err . code = 2
@@ -196,7 +196,7 @@ describe("execDbtShow", () => {
196196 await expect ( execDbtShow ( "SELECT 1" ) ) . rejects . not . toThrow ( / C o u l d n o t p a r s e d b t s h o w o u t p u t / )
197197 } )
198198
199- test ( "AI-7082: preserves generic 'Could not parse' when dbt exited 0 but output unparseable" , async ( ) => {
199+ test ( "preserves generic 'Could not parse' when dbt exited 0 but output unparseable" , async ( ) => {
200200 // Existing behavior — dbt didn't crash, we just couldn't decode its output.
201201 mockExecFile . mockImplementation ( ( _cmd : string , _args : string [ ] , _opts : any , cb : Function ) => {
202202 cb ( null , "some unparseable output" , "" )
@@ -205,7 +205,7 @@ describe("execDbtShow", () => {
205205 await expect ( execDbtShow ( "SELECT 1" ) ) . rejects . toThrow ( "Could not parse dbt show output in any format" )
206206 } )
207207
208- test ( "AI-7082: falls back to error message when stderr is empty" , async ( ) => {
208+ test ( "falls back to error message when stderr is empty" , async ( ) => {
209209 mockExecFile . mockImplementation ( ( _cmd : string , _args : string [ ] , _opts : any , cb : Function ) => {
210210 const err : any = new Error ( "spawn ENOENT" )
211211 err . code = "ENOENT"
0 commit comments