Repository navigation
Conversation
…heir own A syscall that arrives while its vat has no delivery to answer goes through the inbox, so it no longer joins whatever crank is open. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
…ver the inbox routing Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Contributor
Coverage Report
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
sirtimid
marked this pull request as ready for review
November 24, 2026 16:20
…and cover an idle ping and a terminated worker A crank-isolation row replaces the mock-only KernelQueue test of an inbox outcome's terminate, and the send row makes two sends to pin their order. Three comments that said a syscall is always applied on receipt now say where a late one goes, and a syscall dropped for a vat that is gone is logged at debug. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
A vat can make a syscall outside a delivery, from a timer or a fetch callback. The kernel applied it in whatever crank was open, so if that crank aborted, the
resolve,sendordropImportswas lost.Such a syscall now goes through the inbox and gets a crank of its own, before the vat's next delivery and in the order the vat made it. An illegal one, or an
exit, terminates the vat. One still waiting when its vat is terminated or restarted is dropped.Tested by the crank-isolation matrix: its three vat rows now assert the rule, and a new row covers an illegal late syscall.
Known gaps: a late syscall after
stophas begun is refused and logged. Before the run loop starts, a late syscall is applied at once, and an illegal one does not terminate the vat (#1165). A latesendfollowed by a lateexitcan kill the run loop, as onmain(#1324).Closes #1177
🤖 Generated with Claude Code