912 B
Implement the approved PR #481 review update for Context.cancel(). Use one absolute deadline for both cancellation-request frame publication and acknowledgement waiting, without broadening the change to unrelated cancellation behavior.
git diff HEAD~1..HEAD -- tractor/_context.py
Context.cancel() computes one absolute cancellation deadline, uses it for the outer bounded wait, and forwards it through Portal._run_from_ns() to shielded frame publication.
git diff HEAD~1..HEAD -- tests/test_to_actor.py
A deterministic mocked-clock regression arranges a shielded blocked publication and proves that Context.cancel() forwards the same deadline which bounds the complete cancel transaction.
Run the focused cancellation deadline regressions after the edit.