Vamsi-klu commented on PR #69379:
URL: https://github.com/apache/airflow/pull/69379#issuecomment-4889070581

   Could the helper also validate the keys each resume path needs, not just 
`status`? An event like `{"status": "success"}` passes 
`validate_execute_complete_event()` but then the operator/sensor hits 
`KeyError` on `session_id`, `batch_id`, or `request_counts`. It would be 
cleaner for `AnthropicTriggerEventError` to cover malformed allowed-status 
events too, with tests for missing required keys per `execute_complete` path.
   
   ---
   Drafted-by: Codex (GPT-5); reviewed by @Vamsi-klu 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