Repository navigation
fix: reuse warmed JavaScript bytecode in CI build jobs - #154113
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 20, 2026, 6:19 PM ET / 22:19 UTC. ClawSweeper reviewWhat this changesBuild and QA jobs reuse the existing protected JavaScript bytecode cache, while the branch removes the unused cache selector and updates workflow guards and documentation. Merge readiness✅ Ready for maintainer review The repair remains useful: current main still has the cache namespace mismatch. No actionable correctness or security findings were identified, and the protected maintainer PR should proceed through normal review. Priority: P2 Review scores
Verification
How this fits togetherOpenClaw’s shared Node setup action restores cached bytecode before CI runs build tools and tests. A separate trusted warmer publishes these archives; ordinary CI jobs only restore them. flowchart LR
A[Trusted warmer] --> B[Build and test collection]
B --> C[Protected bytecode archive]
C --> D[Shared Node setup]
D --> E[Build and QA tools]
D --> F[Test orchestration]
F --> G[Vitest children disable bytecode caching]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests -6, Docs +3, Config -21. Total -24 across 7 files. View PR surface stats
Review metricsNone. Root-cause clusterRelationship: Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Technical reviewBest possible solution: Keep one protected bytecode publisher and matching readers, then assess actual restore and build costs through subsequent CI measurements. Do we have a high-confidence way to reproduce the issue? Yes, from source: current main’s build consumers request a namespace the protected warmer does not publish. No runtime reproduction was executed during this review. Is this the best way to solve the issue? Yes: reusing the existing publisher’s namespace is a narrow repair that avoids another publisher and preserves existing archive keys. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 5acd64bd5e16. LabelsLabel changes:
Label justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
|
|
Merged via squash.
|
Related: #154108
What Problem This Solves
Build and QA CI jobs restore a Node bytecode cache namespace that the protected warmer never publishes.
User Impact
No product behavior changes. CI build and QA tooling can reuse the existing protected seed instead of repeatedly starting with an unpopulated archive namespace.
Why This Change Was Made
The warmer already compiles build tools before collecting tests and publishing its
testarchive. All consumers now share that seed; the unused namespace selector and daily build epoch are removed. Existing archive keys remain usable, ordinary jobs remain restore-only, and Vitest children still disable bytecode caching to preserve coverage accuracy.Evidence
git diff --checkpassed.tbx_01m30datt7q0rvjxhg5jrpxbb6(command 5m40s, exit 0; backing run https://github.com/openclaw/openclaw/actions/runs/35540312562). The one-shot lease was stopped after success.