ephraimbuddy opened a new pull request, #77689:
URL: https://github.com/apache/airflow/pull/77689

   A Dag processor can lose the response to a callback claim even though the 
API server has committed it. This gives the processor a replay-only request to 
resolve that uncertainty. If another API server cannot decode an 
already-delivered callback during replay, the original Job keeps ownership. A 
second Job cannot claim the same callback while that ownership is live.
   
   The callback table gains nullable fields for the bundle version pin and the 
next decode attempt. Existing rows can be classified in bounded batches. A 
processor can request pinned callbacks from an unavailable bundle while 
continuing to claim live callbacks from healthy bundles. An unreadable callback 
is deferred with a cooldown, and a failed retry leaves room for fresh work.
   
   This is the storage prerequisite for the Dag processor recovery changes and 
[apache/airflow#74794](https://github.com/apache/airflow/pull/74794).
   
   ### Verification
   
   The claim routes, token scope, callback model, routing and migration suites 
passed on SQLite (339 passed, 7 backend-specific skips) and PostgreSQL (344 
passed, 2 backend-specific skips). Regression tests cover late replay by an 
incompatible reader, stale deferral after a replacement claim, and fresh work 
progressing across Job restarts and bundle rotation.
   
   ---
   
   ##### Was generative AI tooling used to co-author this PR?
   
   - [X] Yes — Codex (GPT-6) and Claude
   
   Generated-by: Codex (GPT-6) following [the Airflow contribution 
guidelines](https://github.com/apache/airflow/blob/main/contributing-docs/05_pull_requests.rst#gen-ai-assisted-contributions)
   
   ---
   
   Drafted-by: Codex (GPT-6) (no human review 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