Repository navigation
fix(release): scan trusted release-tool dependencies - #160694
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: needs maintainer review before merge. Reviewed September 28, 2026, 5:02 PM ET / 21:02 UTC (Revision 2). ClawSweeper reviewWhat this changesThe branch makes release validation scan the frozen product lock and trusted release-tool locks, updates the Vercel dependency lock and Kova performance pin, and adjusts the related tests. Merge readiness✅ Ready for maintainer review Current main still scans release-tool locks from the frozen candidate, so this PR addresses a real release-validation gap. The earlier request for measured test costs is now addressed. I found no actionable patch defect. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw release preflight reads a frozen product candidate and a trusted workflow checkout. It scans their dependency graphs and records evidence used to decide whether publication can proceed. flowchart LR
A[Frozen product candidate] --> B[Product lock]
C[Trusted workflow checkout] --> D[Release-tool locks]
B --> E[Vulnerability gate]
D --> E
E --> F[Dependency evidence]
F --> G[Release readiness]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +65, Config +164, Other +17. Total +246 across 11 files. View PR surface stats
Review metrics
Technical reviewBest possible solution: Keep publication evidence bound to verified product and tooling revisions, with its reported hashes matching the lock bytes the vulnerability gate scanned. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main reads release-tool locks beneath the frozen target root while the workflow executes tooling from a separate trusted checkout. I did not run a release preflight. Is this the best way to solve the issue? Yes. Changing input selection in the existing gate and hashing those same files in its evidence generator is a narrow fix without a second scanner. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against c8a045a4f35e. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (1 earlier review cycle)
|
ac0d20e to
0209bc9
Compare
|
Warning Review the following alerts detected in dependencies. According to your organization's Security Policy, it is recommended to resolve "Warn" alerts. Learn more about Socket for GitHub.
|
|
Land-ready evidence for
Local proof:
Known proof gap: the canonical all-group Full Release Validation using this newly merged tooling is intentionally post-merge and remains the next release step; it will run against the unchanged frozen candidate before any publication. |
|
Merged via squash.
|
* fix(release): scan trusted release-tool locks * test(release): refresh Vercel lock integrity * test(e2e): include first-hop timing fixture
…t fixture 054f926 and openclaw#160694 (17cb6c6) both added the same firstHopTiming declaration to test/scripts/upgrade-survivor-systemd.test.ts, so the file fails to transform (Identifier firstHopTiming has already been declared) and main's tooling shard is red.
What Problem This Solves
Fixes: extended-stable validation can scan stale release-tool lockfiles from the frozen product candidate instead of the trusted tooling checkout that will perform publication.
User Impact
User impact: no runtime behavior changes; release validation now gates the actual trusted release-tool dependency graphs and uses the repaired Kova evaluator before publication.
Why This Change Was Made
The frozen candidate remains the source of the shipped product lockfile, while release-only ClawHub and Vercel lockfiles now come from the trusted workflow tooling checkout. Dependency evidence hashes the same bytes the gate scans. The trusted Vercel graph pins the approved patched
@bytecodealliance/[email protected], and the performance workflow advances its canonical/trusted-live Kova pin to merged Kova PR #156 while preserving the historical legacy-schema pin.The final rebase also repaired a current-main test-fixture regression:
reset_lanegained a timing-helper dependency, so its isolated systemd fixture now includes that helper.Evidence
f773aa06a1a93b36b050f1a3f4b57d3d91311541; this PR changes trusted release tooling only.vercel --version, Python app detection, and top-level callable analysis pass with shim0.27.0;npm auditreports 0 vulnerabilities in the release-tool graph.dependency-vulnerability-gate.test.ts0.271 s;openclaw-npm-extended-stable-workflow.test.ts1.807 s;openclaw-performance-workflow.test.ts19.73 s;upgrade-survivor-systemd.test.ts14.996 s (44.49 s wrapper after cold compile).node scripts/check-changed.mjspasses on rebased current main.Known gap: hosted exact-head CI is pending on this PR.