namanjain24-sudo commented on PR #75423:
URL: https://github.com/apache/airflow/pull/75423#issuecomment-7132235619

   Both fixed in `09c4bab784`, thanks @dabla.
   
   **[1]** Confirmed before changing it — printing the caught exception gave
   `AssertionError("{'error': 'API_SERVER_ERROR', ... 'exception_type': 
'RuntimeError'}")`, so the test was
   passing on the harness's own assert. `InProcessTriggerComms.asend` now raises
   `AirflowRuntimeError(error=...)` on an error response the way 
`CommsDecoder._from_frame` does; the same
   probe gives `AirflowRuntimeError: API_SERVER_ERROR: ...`. The three revert 
checks still fail as before.
   
   **[2]** `autospec=True` on both, and the assertions take the supervisor 
first.
   
   `test_triggerer_job.py`: 343 passed, 1 skipped (needs postgres). `prek` 
clean on both stages,
   `mypy-airflow-core` clean.
   
   ---
   Drafted-by: Claude Code (Opus 5); reviewed by @namanjain24-sudo before 
posting
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to