Repository navigation
ci: bump run-claude-cli pins to the sandbox default - #14250
Conversation
Refs: melodic-software/ci-workflows#1060 Bump every run-claude-cli pin to 8f22403 (ci-workflows #1061), which runs the leg's Bash in Claude Code's sandbox by default with network only to github.com and api.github.com, and fails closed without socat while the sandbox is on. Set sandbox: "false" where the model's Bash needs more: - maintenance-tidy-code-upkeep model legs: pip/npm installs and test suites. - upstream-apply-changelog model legs: the changelog fetch from raw.githubusercontent.com; its scrub-probe legs match them. - pr-verify-capture: launch's nested claude and npm ci; the probe matches. - pr-run-activity-read launcher legs: ci-context skills get bare Bash and may run npm ci. post-merge-test-mutation keeps the sandbox: its Bash runs local git and suppression-lint.sh only. Every launcher job installs socat through setup-runner-isolation. Follow the pin where it is coupled: the eval classifier checkouts (plus managed-settings.cjs, which lane.cjs now requires), apply-claude-managed-settings in pr-verify and pr-verify-capture, the replay pin, and the pinned-SHA tests. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_015XWwmbdW8moDiQ5Rtgt7d5
Codex Review Summary: ❌ FailedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
|
claude-security-review reviewed Security review: PR #14250, bump run-claude-cli pins to the sandbox defaultNo security issues found. I read every hunk of all 20 changed files in What changed
Trust controls checked. I found no change to:
Nothing widens. Limits of this review. I did not read ci-workflows' code at Embedded text. The PR context contains no instructions aimed at this lane. Spend. No change to turn limits, timeouts, models or schedules. Nothing draws extra prepaid or subscription usage. critical-findings: 0 |
|
claude-review reviewed Code review: ci: bump run-claude-cli pins to the sandbox defaultI read every hunk of all 20 changed files and found no blocking or advisory issues. What I checked myself (read-only; I ran no tests or actionlint):
Author-claimed, not verified by this lane: the Note (not counted as a finding): three workflows now run
The Closing issues: the PR closes none; it only refers to ci-workflows#1060. No acceptance criteria to check. Embedded text: none in the PR context. Spend (not a hold, not a finding): this adds no new runs, turns or models. Some Bash legs now run sandboxed, which can make a leg fail and retry, using prepaid API credit or subscription usage. No plugin manifests changed. No paved-path or path-scoped rule applies. |
Refs: melodic-software/ci-workflows#1060
Summary
Bumps every
run-claude-clipin (95 steps in 13 workflows) to8f22403,the merge commit of ci-workflows#1061 and
ci-workflows main today. That commit runs the leg's Bash in Claude Code's sandbox by default, with no
unsandboxed retry and network only to
github.comandapi.github.com. It also fails closed whensocat is missing and the sandbox is on. Lanes whose Bash needs more get
sandbox: "false", with acomment that names the need and ci-workflows#1060.
Fix
Callers
"Bash" means the
toolsinput names Bash. Every launcher job installs socat throughsetup-runner-isolationwithinstall-subprocess-isolationon. That action runsapt-get install bubblewrap socattogether and skips the install only when both binaries arepresent (
.github/actions/setup-runner-isolation/action.yml, the install loop). No job needed a newinstall step.
intake-triage.ymldisallowed-tools, so the sandbox has nothing to wrapmaintenance-audit-lane-runs.ymlmaintenance-measure-skill-edit.ymlpr-rate-merge-risk.ymlpr-review-main.ymlpr-run-activity-read.ymlRead(./.summary/**)onlypr-unblock.ymlpr-verify.ymlpost-merge-test-mutation.ymlgit status/diff/branch/rev-parseandbash suppression-lint.sh, which usesmktemp(plugins/mutation-testing/scripts/suppression-lint.sh:402), awk and sha256summaintenance-tidy-code-upkeep.ymlplugins/code-tidying/skills/remove-comments/reference/tooling.md:24-28), ecosystem test suites (.../reference/safety.md:113), writes under~upstream-apply-changelog.ymlraw.githubusercontent.com(plugins/harness-ops/scripts/fetch-changelog.sh:25, through curl, which the WebFetch allow does not cover)upstream-apply-changelog.ymlcapture-probe.mjsonly)pr-verify-capture.ymldriver.mjs launchstarts a nestedclaude(api.anthropic.com) and runsnpm ci(registry.npmjs.org). The launch broker and runtime dir live under/home/runner/.ccdpr-verify-capture.ymlcapture-probe.mjsonly)pr-run-activity-read.ymlsteps.stage.outputs.tools).github/actions/collect-base-activity/action.yml:498-499). "a skill that needs the head's own packages runs npm ci there" (pr-run-activity-read.yml:1644-1646)falsechanges nothing for them. :1756, :1816, :1866None is UNVERIFIED: the code settled every Bash caller's needs.
Coupled pins and tests
eval-browser-dispatch.ymlandeval-hill-climb-pass.yml(3 classifier checkouts each) now checkout ci-workflows at the same commit. lane.cjs at 8f22403 requires
./managed-settings.cjs(addedin ci-workflows 4aba9be), so that file joins every sparse list and
CLASSIFIER_FILESineval-handoff.mjs.apply-claude-managed-settingsmoves to 8f22403 inpr-verify.ymlandpr-verify-capture.yml,so each stays at one commit with its
run-claude-cli, asparity.test.mjsandpr-verify/workflow.test.mjsrequire. Its default settings JSON is unchanged since b8bdd7f.Between 4aba9be and 8f22403 only its
name:changed.replay.mjsRUN_CLAUDE_CLI_PINmoves to 8f22403. I re-read cliArgs and legEnv: the only argvchange is
--settings <sandbox JSON>, at the position where the replay already passes its settingsfile. The comments now say so. The judge has no Bash, so the sandbox cannot change its verdict.
callers.test.mjs: 8f22403 is added toPERMISSION_PROMPTS_NONE_LAUNCHERS.--permission-prompts noneis unconditional in cliArgs at lane.cjs:467-468, so the pin is safe to add.
CLASSIFIER_PINmoves to 8f22403.hill-climb-workflow.test.mjs: the allowed pin list and the classifier ref follow.pr-verify/workflow.test.mjs: the capture pin list follows, and a new assertion checks that bothcapture legs keep
sandbox: "false".run-claude-cli changes between the old pins and 8f22403
These are the ci-workflows commits that touched run-claude-cli. For these callers each one is
additive or a rename:
4aba9be (
loopback-base-urlopt-in,managed-settings.cjs),e6e5227 (select-model-credential),
944fe9a (
fallback-ready: handoff-only),000790a (
execution-file-cleanoutput),2a6e268 (Title Case names),
8f22403 (sandbox default, socat check).
Verification
node --testonresolve-config/callers.test.mjs,plugin-eval/hill-climb-workflow.test.mjs,plugin-eval/eval-handoff.test.mjs(it fetches the classifier files at the new pin and loadsthem),
pr-verify/workflow.test.mjs,pr-verify/probe/parity.test.mjs,post-merge-test-mutation/report.test.mjs,pr-merge-risk/workflow.test.mjs,pr-review-main/workflow.test.mjs,pr-unblock/workflow-gates.test.mjs,upstream-apply-changelog/upstream-apply-changelog.test.mjsandmaintenance-audit-lane-runs/workflow.test.mjs: 642 pass, 0 fail.cache-modeand
concurrency.queuekeys, which that version does not know.check-affected, guardrails reference-verify and content): pass.this merges.
Related
Bash, then
failIfUnavailable.eval-handoff.mjsrestateshandoffReason"because lane.cjs does not exportit". lane.cjs exports it at 8f22403.
🤖 Generated with Claude Code
https://claude.ai/code/session_015XWwmbdW8moDiQ5Rtgt7d5