Skip to content

fix(ci): restore AWS Crabbox provisioning - #1041

Merged
vincentkoc merged 1 commit into
mainfrom
fix/crabbox-root-volume
Aug 6, 2026
Merged

vincentkoc merged 1 commit into
mainfrom
fix/crabbox-root-volume

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Aug 6, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Fixes an issue where trusted AWS Crabbox checks could not provision because the repository still requested a 160 GB root volume while the current ClawSweeper snapshot requires 400 GB.

Why This Change Was Made

The repository now requests a 400 GB AWS root volume, matching the current provisioning floor without changing Crabbox itself or adding a root-size environment override. The changelog records the operational allocation change.

User Impact

Maintainers can provision the trusted clawsweeper-check AWS environment and run the repository check suite again. The configured allocation increases from 160 GB to 400 GB: +240 GB, or 2.5x.

Evidence

  • Exact base: 480d56953f381b127bdc0b5a7029efeeaa717595
  • Exact head: 212856c38f52cdf3e13b57afde1751e6e7dc5d86
  • git diff --check 480d56953f381b127bdc0b5a7029efeeaa717595..212856c38f52cdf3e13b57afde1751e6e7dc5d86 passed.
  • Production code delta: 0 lines. The diff changes one Crabbox configuration value and adds one changelog bullet.
  • Exact-head review found no issue introduced by this two-file change. Two unrelated pre-existing findings surfaced in a broad repository review and were escalated separately instead of widening this release-infrastructure fix.

Real Behavior Proof

Claim: the repository's checked-in configuration provisions a trusted AWS Crabbox lease with a 400 GB root volume, hydrates it, runs pnpm run check, and cleans the lease up without any root-size override.

Exercised surface: .crabbox.yaml AWS provisioning, GitHub-runner hydration, the full ClawSweeper check script, and lease cleanup.

Scenario and environment:

  • Crabbox 0.40.0
  • provider aws
  • profile clawsweeper-check
  • region eu-west-1
  • successful proof market on-demand
  • CRABBOX_AWS_ROOT_GB, CRABBOX_ROOT_GB, and CRABBOX_ROOTGB unset

Commands and observed result:

  1. env -u CRABBOX_AWS_ROOT_GB -u CRABBOX_ROOT_GB -u CRABBOX_ROOTGB crabbox config show -json
    • resolved provider aws
    • resolved profile clawsweeper-check
    • resolved aws.rootGB 400
  2. Provisioned task-owned lease cbx_60a6245cec4e.
    • provider telemetry reported 415381426176 total disk bytes, consistent with the requested 400 GB allocation
  3. Hydrated with GitHub-runner Actions run 31092888514.
  4. Aligned the proof host with CI's Corepack-managed [email protected], then ran pnpm run check.
    • Crabbox run run_424c321f6cf1
    • exit code 0
    • command duration approximately 2m31s
  5. Stopped the task-owned lease and checked the authoritative lease list.
    • cbx_60a6245cec4e absent
    • earlier interrupted spot lease cbx_3e6ea60e17f0 also absent
    • remaining task-owned lease count 0

Trace: the first task-owned spot lease, cbx_3e6ea60e17f0, provisioned the same 400 GB disk but was interrupted by AWS during the full check. It was stopped and verified absent before the on-demand replacement was created. An initial on-demand check exposed a hydration-only pnpm/action-setup PATH mismatch; the final proof used the same Corepack setup as repository CI. No repository code or configuration was changed to accommodate either proof-environment event.

Limits: this change does not modify application/runtime behavior, Crabbox retry behavior, hydration workflow code, or the upstream fatal block-device handling path. It only restores the repository's current AWS allocation requirement.

Review Disposition

  • Changelog finding: declined. AGENTS.md reserves the OpenClaw CHANGELOG.md for release ownership; this pull request targets the ClawSweeper repository. CONTRIBUTING.md explicitly distinguishes ClawSweeper and other target repositories from that OpenClaw-only rule. This repository's unreleased changelog entry is intentional and was requested with the operational fix.
  • Allocation decision: accepted. The owner-approved 400 GB value matches Crabbox's canonical AWS default and the current snapshot minimum. The recurring per-lease capacity increase from 160 GB to 400 GB is acknowledged; the volume is ephemeral, encrypted, and deleted with the task-owned lease.

@vincentkoc vincentkoc self-assigned this Aug 6, 2026
@clawsweeper clawsweeper Bot added proof: sufficient Contributor real behavior proof is sufficient. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. P2 Normal priority bug or improvement with limited blast radius. merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. labels Aug 6, 2026
@clawsweeper

clawsweeper Bot commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed August 6, 2026, 7:01 AM ET / 11:01 UTC.

ClawSweeper review

What this changes

The PR raises the AWS Crabbox root-volume setting from 160 GB to 400 GB and adds an unreleased ClawSweeper changelog entry describing the operational change.

Merge readiness

⚠️ Ready for maintainer review - 1 item remains

Keep open: this current, member-authored PR has a narrow configuration repair, clean merge state, and credible after-fix provisioning evidence; ordinary code-owner review should decide the recurring AWS allocation.

Priority: P2
Reviewed head: 212856c38f52cdf3e13b57afde1751e6e7dc5d86

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused operational repair with strong real provisioning evidence and one explicit capacity decision for code owners.
Proof confidence 🦞 diamond lobster (5/6) Sufficient (terminal): The PR body provides an after-fix AWS lease trace with the checked-in 400 GB setting, successful hydration and check execution, and confirmed cleanup.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (terminal): The PR body provides an after-fix AWS lease trace with the checked-in 400 GB setting, successful hydration and check execution, and confirmed cleanup.
Evidence reviewed 5 items Current-main baseline: Current main requests a 160 GB AWS root volume, so the reported provisioning setting is not already fixed on main.
Proposed correction: The PR head changes only the checked-in root-volume value to 400 GB.
Feature provenance: The current profile baseline, including the prior 160 GB setting, dates to the modularization commit; the PR head is the first local history change to that line.
Findings None None.
Security None None.

How this fits together

Crabbox provisions ephemeral AWS environments for ClawSweeper’s repository checks. The checked-in profile selects the root volume before hydration installs dependencies and runs the validation suite.

flowchart LR
  A[Repository check request] --> B[Crabbox profile]
  B --> C[AWS root-volume setting]
  C --> D[Ephemeral AWS lease]
  D --> E[Hydration workflow]
  E --> F[Repository check run]
Loading

Before merge

  • Resolve merge risk (P1) - Merging changes each trusted AWS lease from 160 GB to 400 GB, so code owners should confirm that the increased ephemeral capacity allocation remains intended.
Agent review details

Security

None.

Review metrics

Metric Value Why it matters
Provisioning allocation 160 GB → 400 GB (+240 GB; 2.5×) This is the only behavioral configuration change and determines per-lease AWS capacity.
Patch scope 2 files affected; 2 additions, 1 deletion The branch remains tightly limited to the provisioning setting and its release context.

Merge-risk options

Maintainer options:

  1. Confirm the recurring allocation (recommended)
    Accept the 400 GB ephemeral AWS allocation after confirming that its recurring capacity use is intended for trusted check leases.

Technical review

Best possible solution:

Keep the profile at the proven 400 GB provisioning floor once the designated code owners confirm the recurring ephemeral AWS allocation.

Do we have a high-confidence way to reproduce the issue?

Unclear for the pre-fix failure: current main visibly requests 160 GB and the PR supplies an after-fix AWS trace, but this read-only checkout cannot rerun Crabbox because its wrapper binary is unavailable.

Is this the best way to solve the issue?

Yes—the focused checked-in allocation correction addresses the stated provisioning floor without changing Crabbox behavior or adding an override path.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against 480d56953f38.

Labels

Label justifications:

  • P2: Restoring trusted check provisioning has limited operational blast radius but affects the repository validation path.
  • merge-risk: 🚨 other: The 2.5× per-lease capacity allocation needs explicit operator acceptance beyond green checks.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (terminal): The PR body provides an after-fix AWS lease trace with the checked-in 400 GB setting, successful hydration and check execution, and confirmed cleanup.
  • proof: sufficient: Contributor real behavior proof is sufficient. The PR body provides an after-fix AWS lease trace with the checked-in 400 GB setting, successful hydration and check execution, and confirmed cleanup.

Evidence

What I checked:

  • Current-main baseline: Current main requests a 160 GB AWS root volume, so the reported provisioning setting is not already fixed on main. (.crabbox.yaml:27, 480d56953f38)
  • Proposed correction: The PR head changes only the checked-in root-volume value to 400 GB. (.crabbox.yaml:27, 212856c38f52)
  • Feature provenance: The current profile baseline, including the prior 160 GB setting, dates to the modularization commit; the PR head is the first local history change to that line. (.crabbox.yaml:27, 05c662bd74e1)
  • Repository release-note policy: The contribution guide permits ClawSweeper to follow its own release-note policy; the prior OpenClaw-only changelog concern does not apply to this target repository. (CONTRIBUTING.md:13, 480d56953f38)
  • After-fix behavior proof: The PR body records a real AWS lease resolving 400 GB, successful hydration and pnpm run check, plus verified cleanup; local re-execution was unavailable because the Crabbox wrapper binary is absent from this checkout. (.crabbox.yaml:27, 212856c38f52)

Likely related people:

  • Peter Steinberger: Git history attributes the current Crabbox profile baseline and its 160 GB root-volume line to the modularization commit. (role: current profile introducer; confidence: high; commits: 05c662bd74e1; files: .crabbox.yaml)
  • openclaw/openclaw-secops: The repository CODEOWNERS file assigns the Crabbox profile to this review group. (role: code owner; confidence: high; files: .github/CODEOWNERS, .crabbox.yaml)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

History

Review history (1 earlier review cycle)
  • reviewed 2026-08-06T10:56:20.483Z sha 212856c :: needs changes before merge. :: [P3] Remove the release-owned changelog edit

@vincentkoc

Copy link
Copy Markdown
Member Author

@clawsweeper re-review

@clawsweeper

clawsweeper Bot commented Aug 6, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: when the review finishes, ClawSweeper will create the durable review comment if needed or update the existing comment in place.

Re-review progress:

@vincentkoc
vincentkoc marked this pull request as ready for review August 6, 2026 11:03
@vincentkoc
vincentkoc requested a review from a team as a code owner August 6, 2026 11:03
@vincentkoc
vincentkoc merged commit 0588bda into main Aug 6, 2026
23 checks passed
@vincentkoc
vincentkoc deleted the fix/crabbox-root-volume branch August 6, 2026 11:03
ostehost pushed a commit to ostehost/clawsweeper that referenced this pull request Aug 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

merge-risk: 🚨 other 🚨 Merging this PR has meaningful risk outside the owned taxonomy. P2 Normal priority bug or improvement with limited blast radius. proof: sufficient Contributor real behavior proof is sufficient. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant