Skip to content

Unify cancellation confirmation budget - #631

Merged
SaladDay merged 1 commit into
aos/cutoverfrom
aos/unify-cancellation-confirmation-budget
Oct 10, 2026
Merged

SaladDay merged 1 commit into
aos/cutoverfrom
aos/unify-cancellation-confirmation-budget

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 10, 2026 •

Copy link
Copy Markdown
Collaborator

A native cancellation that stops its subprocesses can still need more than ten seconds to confirm the native result and drain output. Apply one protocol-owned 30-second confirmation budget to Runtime settlement and cancellation receipts and to Core cancellation exchange/watchdog, returning immediately on confirmation or failure. Preserve the 15-second function acknowledgement and 10-second resource-close budgets; closing resources never converts failed settlement into an applied cancellation.

Validation: affected package tests, runtime contract gate, focused cancellation race tests, vet and EN/zh translation checks pass. Virtual-time coverage includes confirmation after the previous deadline, finite timeout, one native cancellation owner, output joins, Done/receipt ordering and earlier caller deadlines. Fresh independent complete-diff review found no in-scope defects. Database-dependent tests retained their prerequisite skips. Live Claude lifecycle qualification follows the integrated build; this is a reliability policy change, not a performance improvement.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@SaladDay
SaladDay merged commit d56e8e3 into aos/cutover Oct 10, 2026
20 checks passed
@SaladDay
SaladDay deleted the aos/unify-cancellation-confirmation-budget branch October 10, 2026 02:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant