Skip to content

Follow Serve liveness for sandbox readiness - #545

Merged
SaladDay merged 1 commit into
aos/cutoverfrom
aos/pr5c2a-serve-liveness
Oct 8, 2026
Merged

SaladDay merged 1 commit into
aos/cutoverfrom
aos/pr5c2a-serve-liveness

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

PR5c-2a: sandbox readiness follows Serve liveness, plus the protocol points the agent-host switch (2b) needs.

  • Relay.Serving(ref) reports a live serve peer at the resource's generation. It is documented under "Run a relay".
  • Lease renewal and each Environment's connection status follow a live sandbox_resources row whose resource is Serving. One Worker pass covers resources of every kind. It skips quiesced compute and is ordered against the quiesce publish.
  • An Environment initialization that ends before any step took effect returns to pending and is retried. That covers a bind that fails typed, and a first step rejected resource_unavailable. The scanner claims only when the Environment's resource, if any, is Serving.
  • A resume of an Environment the connection has not quiesced, as after a Runtime restart, succeeds and changes nothing.
  • runtime-protocol.md states the supersede rule as the Runtime implements it.

Docs: runtime-protocol.md and sandbox-link-protocol.md, en and zh.


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 722bb96 into aos/cutover Oct 8, 2026
1 check passed
@SaladDay
SaladDay deleted the aos/pr5c2a-serve-liveness branch October 8, 2026 04:02
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