1.2 KiB
1.2 KiB
Prompt
Continue the PR #481 review after triage. The human explicitly accepted the proposed merge-blocking Context.cancel() deadline update with “keep” and required the work to remain limited to that review item.
Response summary
Update Context.cancel() so one absolute deadline bounds both shielded cancel-request publication and acknowledgement waiting. Add a focused mocked-clock regression for the blocked-publication failure mode and run the narrow cancellation tests.
Files changed
tractor/_context.py- forward the cancel transaction’s absolute deadline to frame publication.tests/test_to_actor.py- prove blocked context-cancel publication is bounded by the shared deadline.
Human edits
The human retained ownership of review scope and explicitly selected “keep” for this item after receiving keep/defer/drop options. The human required no unrelated cancellation changes and did not directly edit source lines.