Repository navigation
Conversation
Adds a narrow Linux job for pull requests touching deploy/**, docker/cloudflare-supervisor.ts or its test: frozen-lockfile install of deploy/cloudflare, `bun run typecheck`, and tests/service/cloudflare-deploy.test.ts. It runs with contents: read, no secrets and the file's existing pinned actions, and the aggregate ci check requires it only when its filter matches. deploy/** stays out of the push allowlist, which parity tests tie to the full matrix, the same accepted gap as docs-site/**. Depends on the Cloudflare hub (lidge-jun#6077), which adds the files it checks. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: trueThanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
리뷰 · 우선순위 48 / 80이 PR은 Cloudflare Worker 패키지를, 그 폴더만 고친 변경에서도 검사하게 만듭니다. 루트 타입 검사는
메인테이너의 판단이 필요한 지점
너의 추천 이 댓글은 grok-bot이 작성했습니다 |
⏳ DRAFT
What to do
Review readiness checklist
0/4 boxes ticked. This pull request was already a draft. Its draft status will be preserved after every issue above is resolved. |
The ops doc said all three narrow filters list ci.yml; remote_helper does not. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
|
Thanks for the review. I fixed |
|
Exact-head hold for fe66dba: this workflow change enables the new deploy filter, but this branch does not contain deploy/cloudflare or its tests. Approving it now would make the new job enter a directory that does not exist. Dependency #6077 is still open/draft, both branches are currently 111 commits behind dev, and this head has no product-CI proof (hygiene/enforce-target are failing on sponsorship). Please keep this draft blocked until #6077 lands, then rebase onto current dev, prove the new job on the exact head, and obtain workflow-maintainer sponsorship. The workflow permission/pinning/aggregate wiring otherwise looked clean in this pass. |
|
Closing during triage: draft inactive since late September and now far behind dev. Happy to review a fresh rebase on dev. |
Summary
Adds CI coverage for the Cloudflare deploy package. Maintainer triage on #6077 (T4-P-6077) asked for this before a hosting release. It's split out of #6077 so the workflow change gets its own security review under
MAINTAINERS.md, and so the hub PR isn't held behind that sponsorship.cloudflare-deployin.github/workflows/ci.yml:contents: read, no secrets;persist-credentials: false) and./.github/actions/setup-project-bun;deploy/cloudflare, thenbun run typecheckthere, then a root install, thenbun test tests/service/cloudflare-deploy.test.ts.deployfilter in thechangesjob, coveringdeploy/**,docker/cloudflare-supervisor.ts,tests/service/cloudflare-deploy.test.tsand.github/workflows/ci.yml. It applies to pull requests only, like the existingdocs,structure,setup_actionandremote_helperfilters. The aggregatecicheck requires the job to succeed when the filter matches and to be skipped otherwise.deploy/**is not added to the push-event path allowlist. The parity tests tie that allowlist to the full cross-platform matrix, so it would run every lane for a Worker-only edit. That's the same accepted gap asdocs-site/**andstructure/**, and all three release branches require a pull request, so every change still passes this job.wrangler deploy --dry-run. With thecontainersentry it builds the root Docker image, whichdocker smokealready covers.ci-scope-gaps.test.ts;CHANGES_DEPLOYis set inci-privacy-gate.test.tsandci-review-lanes.test.ts, because the gate script runs underset -u.structure/ops/cross-platform-ci.mdandstructure/ops/docs-and-release.mddescribe the job.Depends on #6077, which adds
deploy/cloudflare,docker/cloudflare-supervisor.tsand the test this job runs. On today'sdev,structure:checkfails because the ops doc names those two files, and the job itself would have nothing to typecheck. I'll rebase this ontodevonce #6077 lands; it stays a draft until then.Verification
On the #6077 branch, where the files exist:
bun run typecheck, the root install, andtests/service/cloudflare-deploy.test.ts(29 pass).bun test tests/ci-workflows: all pass except twotest-runner.test.tscases ("a bare pass/fail run removes its preload-owned TEMP root"), which fail the same way on untoucheddev.bun run typecheck,bun run structure:checkandbun run privacy:scanpass.On this branch (today's
devplus this commit):bun run typecheckpasses.bun test tests/ci-workflowsshows 1383 pass and 3 fail: the same twotest-runnercases, plus the structure-docs guard, which fails only because of the #6077 dependency above.Not run: the job itself on GitHub Actions. Fork pull requests need a maintainer to approve workflow runs.
actionlintisn't installed locally.An independent security re-review covered this job with #6077's fixes: minimum permissions, pinned actions, frozen lockfiles,
persist-credentials: false, no secrets, and pull-request code never sees a write token. It found nothing.Checklist
🤖 Generated with Claude Code
Review readiness checklist
This PR stays in draft until every box below is ticked. Tick all four boxes once the requirements are met:
Required local validation passed; commands, results, and any full-suite exception are documented.
I pushed my PR to a recent dev commit (at most 10 behind; a maintainer may still ask for the exact tip before merge).
I resolved all correct Codex and CodeRabbit findings.
My PR is ready for review.