-
Notifications
You must be signed in to change notification settings - Fork 183
Add fixed idempotent lease-ID support to the Agent Sandbox provider #1742
Copy link
Copy link
Open
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Description
Activity
Metadata
Metadata
Assignees
Labels
P2Normal priority bug or improvement with limited blast radius.Normal priority bug or improvement with limited blast radius.clawsweeper:needs-maintainer-reviewClawSweeper marked this issue as needing maintainer review before automation.ClawSweeper marked this issue as needing maintainer review before automation.clawsweeper:needs-product-decisionClawSweeper marked this issue as needing a product or behavior decision.ClawSweeper marked this issue as needing a product or behavior decision.clawsweeper:no-new-fix-prClawSweeper does not recommend queueing a new automated fix PR for this issue.ClawSweeper does not recommend queueing a new automated fix PR for this issue.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:otherThis issue has meaningful maintainer-visible impact outside the owned taxonomy.This issue has meaningful maintainer-visible impact outside the owned taxonomy.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Priority
None yet
Summary
Add fixed idempotent lease-ID support to the
agent-sandboxprovider so it can satisfy OpenClaw’s cloud-worker lifecycle contract.Problem
OpenClaw cloud workers provision Crabbox leases using a caller-supplied fixed
cbx_...lease ID. Crabbox 0.48.0’s Agent Sandbox provider rejects this before allocation:The same Agent Sandbox configuration otherwise works. A direct disposable
crabbox runsuccessfully created aSandboxClaim, ran Node.js on ARM64, and deleted the claim.This prevents Agent Sandbox from being used as an OpenClaw cloud-worker backend.
Environment
delegated-runarchive-sync,cleanup,run-session,managed-sandboxCurrent Crabbox
mainatd3d244899f79d5fcecbb5073fa482c9f1e7230dfalso lacks an Agent Sandbox implementation of the fixed-ID backend contract.Reproduction
SandboxWarmPool.No
SandboxClaim,Sandbox, or pod is created.Requested behavior
Implement Crabbox’s fixed idempotent lease-ID contract for
agent-sandbox, including:cbx_...IDThe implementation should continue to fail closed when Kubernetes identity or ownership cannot be established.
Related work