Repository navigation
fix(release): verify target-declared worker artifacts - #137097
vincentkoc wants to merge 4 commits into
Conversation
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review completeClawSweeper finished reviewing this revision. The review result is being finalized. |
|
Codex review: blocked before merge. Reviewed September 24, 2026, 7:11 AM ET / 11:11 UTC (Revision 5). ClawSweeper reviewWhat this changesThe branch reads worker artifact declarations from a release target, checks those files in packaged and installed npm releases, and passes the target root through beta verification and release guidance. Merge readiness⛔ Blocked before merge - 7 items remain This PR remains useful because current main still does not require target-declared worker files during installed-package verification. Its reader is incomplete for current main’s artifact array and producer-free frozen targets, and the public release guide leaves the target-root argument undefined. Priority: P2 Review scores
Verification
How this fits togetherRelease tooling compares a frozen source checkout with a built or registry-installed npm package. Its result tells maintainers whether required worker files are present before and after publication. flowchart LR
A[Frozen release checkout] --> B[Worker artifact declarations]
B --> E[Release verification]
C[Built npm package] --> E
D[Registry-installed package] --> E
E --> F[Pass or failure report]
Before merge
Findings
Agent review detailsSecurityNone. PR surfaceTests +187, Docs +4, Other +49. Total +240 across 13 files. View PR surface stats
Review metrics
Stored data modelPersistent data-model change detected: Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Use one bounded, non-executing reader for the canonical artifact array, with individual-constant support only for historical targets; apply it only where a worker producer exists, retain current installed-scan inputs, and document the SHA-validated frozen root. Do we have a high-confidence way to reproduce the issue? Yes, at source level: current main’s artifact array and producer-free fixture expose paths the branch reader cannot handle. This read-only review did not execute a release check. Is this the best way to solve the issue? No. Sharing target-derived requirements is the right direction, but the reader must implement main’s canonical array and producer-applicability contract before it can replace the current checks. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against c7b57259f116. LabelsLabel changes: No label changes. Label justifications:
EvidenceWhat I checked:
Likely related people:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (4 earlier review cycles)
|
|
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
ClawSweeper status: review started. I am starting a fresh review of this pull request: fix(release): verify target-declared worker artifacts This is item 1/1 in the current shard. Shard 0/1. This temporary status tracks the active review worker. The completed review will appear in the durable ClawSweeper review comment. Crustacean status: shell secured, claws on keyboard, evidence pebbles being sorted. |
What Problem This Solves
Release verification can miss required worker helpers or apply incorrect scan exemptions when its artifact list differs from the selected release target.
User Impact
Release operators get installed-worker validation tied to the selected source, including all eight artifacts declared by the reviewed producer. No runtime configuration changes or migrations are required.
Postpublish verification now requires the frozen target root and full source SHA. The beta verifier and release runbooks pass those inputs explicitly.
Why This Change Was Made
WORKER_BUNDLE_ARTIFACT_PATHS, including literal helper paths and local constant references. Retain individual exported constants only for supported historical targets such asv2026.9.4that predate the array.This incorporates the current producer contract from #149158 and #154711 and addresses the earlier review's array, applicability and frozen-root findings.
Evidence
git diff --checkpassed.afterEachcleanup. No failing check was waived.Scoped proof is bound to candidate tree
d7c108a253ea9e3350c67e76c0fad4c84ba155caagainst frozen source8eed7e856384313a8ae1be78c33e045a9f1ca598. The owned Testbox was stopped after all commands joined. This does not qualify an unverified composition with later main changes.The PR is retained as a draft. Native review initialization stopped because PR metadata reports zero changed files while its file listing is nonempty. Trusted review also has an unresolved input-scanner admission hold; no unchanged review retry is requested. Resolve those admission issues, then qualify exact-head CI and native landing. No merge or release publication was performed.