drive: cloud run 663d9095 - #165
Conversation
Work produced by cloud run 663d9095-ab4a-432a-b1f7-99e19c022fde in a workflow sandbox and delivered from this host, because a sandbox has no remote and no GitHub token. Verification and adversarial review ran in-run; see ops/reviews/ in the diff.
ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Free Run ID: 📒 Files selected for processing (4)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe SDK test command now uses a shared shell pipeline with cleanup. The CI workflow uses ChangesTest execution updates
Estimated code review effort: 3 (Moderate) | ~20 minutes Poem
Note 🎁 Summarized by CodeRabbit FreeYour organization is on the Free plan. CodeRabbit will generate a high-level summary and a walkthrough for each pull request. For a comprehensive line-by-line review, please upgrade your subscription to CodeRabbit Essentials by visiting https://app.coderabbit.ai/settings/billing. Comment |
Not merging: this reverts #154 and would break CI for every PRThe workflow change here deletes the plain That is the invocation #154 removed, along with the comment explaining why. Adding The wrapper exists for a cloud sandbox, where the propagated tree drops files over a per-file size cap and each step must obtain its own toolchain. A runner has neither constraint, and The rest may well be good
Suggested split: drop the Note on the drive loopThis is the second automated drive PR to touch that workflow. It is worth teaching the drive prompt that |
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FtQSAcGDta5VH9xiZFT4sR Session-Id: c228933d-4f94-4d83-9a9a-daf3c83b94f1
Split out of #165, which bundled this with a wholesale revert of the CI workflow. The workflow half restored `ops/cargo.sh` for the kernel test step (that wrapper redirects RUSTUP_HOME to an empty dir on a runner, so rustup cannot choose a toolchain) and dropped the analyzer-skip env, i.e. it reverted #153, #154 and #159 together. Only the sdk tooling is carried here; `.github/` is byte-identical to main. scripts/test.sh runs the same chain the inline `test` script did, in the same order, with `set -eu` for the fail-fast the `&&` chain gave. The new behaviour is the EXIT trap, which prunes `.map` and `.d.ts` from sdk/dist afterward. CI is unaffected either way: the workflow runs the expanded chain minus test:prep, not `npm test`. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FtQSAcGDta5VH9xiZFT4sR Session-Id: c228933d-4f94-4d83-9a9a-daf3c83b94f1 Session-Id: c228933d-4f94-4d83-9a9a-daf3c83b94f1
The sdk half of #165, with that PR's CI revert dropped. `.github/` is byte-identical to main (verified: `git diff origin/main --stat -- .github/` returns 0 lines); #165's workflow hunk would have reverted #153, #154 and #159 together, restoring `ops/cargo.sh` for the kernel step, which redirects RUSTUP_HOME to an empty dir on a runner. `scripts/test.sh` runs the same chain the inline `test` script did, in the same order, with `set -eu` supplying the fail-fast the `&&` chain gave. Pruning is source maps only. Deleting `.d.ts` would have left `"types": "./dist/index.d.ts"` pointing at a file `npm test` had just removed. Every current in-repo consumer imports `.js` (`ops/probes/**`, `workflows/drive.yaml`, `workflows/drive-cloud.yaml`, `testdata/backlog-picker.flow.yaml`), so nothing breaks today — but the next TypeScript consumer would meet a failure caused by running the tests. Evidence at this head: - independent signoff: local 3-lens preswarm review, maintainability / history / structure all REVIEW_PASSED. The history lens caught a false scope claim in an earlier message ("only ops/probes consume the sdk"), which was corrected. - CI: linux-x64-artifact success, packed-consumer pass, CodeRabbit pass. The `review` check fails for a reason independent of this change and common to every flows PR: the gate invokes `agent-relay` and no step installs it (exit 127). Supersedes the sdk half of #165.
|
Closing as superseded by #170, which is now merged. This PR bundled two unrelated changes. The sdk tooling half has landed via #170, with one change: pruning is source maps only, because deleting every The remaining half is the reason this is closed rather than merged. Its
Merging it would have re-broken CI in two places. Nothing here is lost: the half worth keeping is on main. |
Automated drive work from cloud run
663d9095-ab4a-432a-b1f7-99e19c022fde.The sandbox cannot open PRs (no remote, no GitHub token), so this was delivered
from a host that can. Verification and adversarial review ran in-run — see
ops/reviews/in the diff. A human merges.