Skip to content

Declare which Link failures are retryable - #352

Merged
SaladDay merged 1 commit into
feature/agent-outside-sandboxfrom
aos/link-retryable
Oct 1, 2026
Merged

SaladDay merged 1 commit into
feature/agent-outside-sandboxfrom
aos/link-retryable

Conversation

@SaladDay

@SaladDay SaladDay commented Oct 1, 2026 •

Copy link
Copy Markdown
Collaborator

Link protocol declaration, split out of #349. The world frontend must tell a Link failure it can retry from one that ends the attachment. Serve already treated ServiceUnavailable and LimitExceeded as transient. This PR declares that rule once, so attach peers read it instead of repeating the list.

  • sandboxlink.Code.Retryable() reports ServiceUnavailable and LimitExceeded. Every other code is final for the same credential, attachment and generation.
  • The Link doc states the rule under "Failures", and Serve uses it.

There is no wire change. go test ./internal/sandboxlink/... and vet pass.


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 31b61c0 into feature/agent-outside-sandbox Oct 1, 2026
1 check passed
@SaladDay
SaladDay deleted the aos/link-retryable branch October 1, 2026 02:08
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