Repository navigation
fix(build): reuse stamps after identical pnpm installs - #206282
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: passed. What this changesThis PR excludes pnpm 12’s pruning timestamp from build and runtime fingerprints while preserving other installation metadata. Example: An identical pnpm 12.15.0 installation changes prunedAt from November 26 to November 27.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored PR addresses a current false invalidation in the shared build-input fingerprint owner; no actionable code defect was found. Reviewed head: Before mergeNone. FindingsNone. Tests
Agent review detailsHow this fits togetherSource-runtime preparation fingerprints source, tooling, environment and installed-dependency metadata, then compares those fingerprints with build and runtime stamps to decide whether preparation is needed. flowchart TD
A[Source and tooling] --> C[Shared input fingerprint]
B[pnpm installation metadata] --> C
C --> D[Build and runtime stamp readers]
E[Existing stamps and outputs] --> D
D --> F[Test runtime preparation]
Technical reviewBest possible solution: Keep the narrow normalization in the existing fingerprint owner and finish validation through real runtime preparation. Do we have a high-confidence way to reproduce the issue? Current-main source deterministically hashes the changed timestamp, and the PR reports a base-red/head-green stamp-reader regression; no target code was executed during this read-only review. Is this the best way to solve the issue? The change repairs the shared identity calculation without adding dependencies, competing reuse policy or stamp rewrites, and the added test inputs protect distinct invalidation boundaries. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fc25865d99bd. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceTests +71, Other +24. Total +95 across 2 files. Added test files: 0. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. LabelsLabel changes:
Label justifications:
Rank-up movesOptional improvements that raise the rating; they are not merge blockers.
Rating scale6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 26, 2026, 8:49 PM ET / November 27, 2026, 01:49 UTC. |
|
Merged via squash.
|
* commit '7df6cb759f9e604921536a700e2f527c5516e7de': (185 commits) docs: clarify what telemetry OpenClaw sends and how to opt out refactor(ui): remove retired stream-follow test seams (#206316) fix: distinguish missing command results from unknown outcomes (#206313) fix(build): reuse stamps after identical pnpm installs (#206282) chore(ci): inventory Gateway model catalog worker lifecycles (#206251) fix: keep failed image inspections inside chat activity (#206283) fix: clarify sent-message labels and chat activity icons (#206048) fix(cron): use the service's free memory for extra automation runs (#206322) test(android): reuse the shared TLS fixture (#206280) fix(ui): restore New Session recovery during startup (#206319) test(macos): align new Gateway URL expectations (#206281) feat: let doctor --fix tell when its startup repairs have nothing to do (#206246) fix(android): pause idle gateway discovery without blocking consumers (#196209) fix(ci): prepare the Android SDK for scheduled CodeQL scans (#203843) fix(memory): read delegated cgroup pressure from the mapped leaf (#206308) improve(config): reuse plugin metadata during auto-enable (#206289) improve: copy only the selected model for agent completions (#206287) fix(pr): refresh tooling before preparing reviewed incoming PRs (#206236) fix: keep Gateway ready while plugins drain after updates (#206299) fix(crabbox): keep unused prepared mirrors reusable (#206267) ...
What Problem This Solves
Repeating an identical pnpm 12 installation changes its cache-pruning timestamp. The source runtime fingerprints that timestamp, so an otherwise reusable build is rejected and build/runtime preparation asks to run again.
User Impact
Identical installs can retain their build and runtime stamps. Dependency graph, layout, install policy, compiler, source, platform and environment changes still invalidate them. Unsupported metadata formats keep their existing byte-sensitive behavior.
Why This Change Was Made
Normalize only the top-level string
prunedAtin recognized pnpm 12/layout-5 JSON metadata at the existing fingerprint owner. Every other field remains part of the fingerprint; no parser dependency, stamp rewrite or workflow bypass is added.Evidence
e3dd914318e748a03cbc0a7e1d6c0865bc1ca2d5..19aac8e2605ee7a4e5490d499045ca8a7a4c8bd2at high reasoning effort: no actionable findings. The separate independent source review was also clear; neither review reran tests.This removes a demonstrated false invalidation. Cross-job runtime artifacts are not enabled here, and no whole-CI runtime or billing saving is claimed.