Repository navigation
fix(ci): FRV cancels in target admission when GitHub Git fetches are slow - #192297
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 changes before merge. What this changesThis PR batches missing publication-metadata Git blobs and increases the target-admission timeout from 10 to 15 minutes. Example: FRV acquires package manifests and extension READMEs from a blobless target checkout during slow Git operations.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness⛔ Needs changes before merge - 1 item remains Keep open: this maintainer-authored PR addresses a confirmed release-validation failure, but its timeout change breaks an existing CI contract test. Priority: P2 Before merge
Findings
Tests
Agent review detailsHow this fits togetherThe FRV target-admission job resolves selected source metadata and validates publication eligibility before dependent validation and producer jobs start. flowchart TD
A[FRV dispatch] --> B[Resolve target SHA]
B --> C[Blobless target checkout]
C --> D[Batch missing metadata fetch]
D --> E[Validate metadata and publication source]
E --> F[Validation and producer jobs]
Technical reviewBest possible solution: Retain the focused batching repair and update the existing release-path budget expectations to 15 minutes and a 200-minute total. Do we have a high-confidence way to reproduce the issue? Current main performs a lazy-fetch-triggering size read for each missing metadata blob, and the linked FRV job confirms cancellation in that step; no target code was executed during this review. Is this the best way to solve the issue? Batching the already-required objects in the existing acquisition step removes repeated network setup without adding another owner or weakening admission validation. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 57405d6f170a. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceAcceptance criteria:
What I checked:
Likely related people:
PR surfaceTests +65, Config +19. Total +84 across 2 files. Added test files: 0. View PR surface stats
LabelsLabel changes:
Label justifications:
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 3, 2026, 5:08 PM ET / 22:08 UTC. |
|
Merged via squash.
|
…slow (openclaw#192297) * fix(ci): batch FRV publication metadata blob fetches * test(ci): update FRV parent timeout budget pin
Adopt all reviewed constituents of #191633 and #191838, including the #192297 intake and merged #192586 prerequisite, with the reviewed security parser bounds and Matrix patch serialization correction. These are adapted backports, not exact cherry-picks. Original sources: 191633 5cbabca (origin b6c36ed): fix(release): warn before rollback drill expiry (#180164) 191633 ca8c103 (origin 0f359b3): fix(release): require macOS release source branch (#180169) 191633 12abd6c (origin d8265d0): fix(release): verify published plugin inventory (#180203) 191633 65df344 (origin 3580c9f): fix(release): revalidate exact npm versions (#180201) 191633 ae3a92b (origin f708b8b): fix(release): explain staged npm recovery (#180191) 191633 08c61ca (origin ca897ec): fix(release): pin Linux builder to request SHA (#180211) 191633 f7b8f22 (origin 0453b8c): fix(release): warn on undocumented SDK removals (#180180) 191633 2b7fd53 (origin dbc44d3): fix(release): retry compatibility tarball downloads (#189712) 191633 d313a91 (origin a07be30): docs(release): tighten deterministic failure triage (#189720) 191633 3180471 (origin 8100edf): fix(release): enable OIDC recovery preflight (#187991) 191633 fc52d94 (origin 84133d3): fix(ci): mark pending security reviews (#180183) 191633 9a30fd9 (origin 48b46f1): feat(release): add FRV job log reader (#189718) 191633 5aeb8bf (origin 3c67c5c): feat(release): add publication watcher (#187994) 191633 a5c1376 (origin 749df76): fix(release): unify plugin OIDC recovery preflight (#189748) 191633 4bd0d61 (origin fc719e9): feat(release): add bound gate approval helper (#189715) 191633 fc6a003: fix(release): adapt postpublish verifier imports 191633 0fea084 (origin 6370e01): fix(release): retain publication retry diagnostics (#189130) 191633 13f02f8 (origin f861722): fix(release): keep diagnostic FRV blocks pending 191633 a715d58 (origin 571b8f8): fix(release): verify notes against pushed branch 191633 3fbc547 (origin f3bbc7e): fix(release): explain shallow release-note history 191633 6fe3921 (origin 7d27f73): test(git): isolate nested repository fixtures 191633 74579f0 (origin 34bb969): ci: add base scheduled upgrade survivor 191633 39b9209 (origin 73df503): ci: support empty admission args on Bash 3.2 191633 e585646 (origin ec6e32f): test(qa): retain mock provider request artifacts 191633 dbae3ad (origin bfa3e10): fix(qa): guard mock artifact fetch 191633 7a1456b (origin 24f5971): ci(ios): explain screenshot Xcode mismatch 191633 86591a7 (origin 122d8e4): docs(release): identify FRV parent publish input 191633 0f81562 (origin c938b9b): fix(cli): report observed gateway start failure 191633 e140fb5 (origin 414e610): test(release): pin Kitchen Sink fixture versions 191633 07b1810: test(release): preserve retrospective backport coverage 191633 5ae88b0: test(ci): align retrospective guard backport coverage 191633 793e231: test(release): adapt retrospective fixtures to stable 191633 611d61f: test(release): adapt retrospective fixtures to beta 191838 4df8007 (origin d0cf0e2): fix(file-transfer): share one workspace command import between memory and skills 191838 fb52e5d (origin 24b9e76): fix(matrix): defer ready status through startup 191838 82ac58e (origin 76d4717): fix(matrix): let Matrix CLI commands exit after their client stops 191838 342fec0 (origin 73fe789): fix(matrix): report late in-room verification failures instead of crashing 191838 5a67ff1 (origin f75c29a): test(qa): align Matrix E2EE scenarios with offline ownership contracts 191838 f77062a (origin 2c0d224): fix(process): preserve loaded startup cleanup 191838 263a67a (origin fa2b24b): fix(process): keep stdio startup failures ahead of cleanup errors 191838 deb2b8f (origin 2d8931e): fix(process): share inherited process lineage across module copies 191838 7649f46 (origin 9b25ff9): fix(codex): preserve loaded one-shot cleanup 191838 37007d7 (origin c71bf33): fix(codex): unload canonical forks before child turns resume them 191838 fcb5687 (origin ebca499): fix(codex): resolve native follow-ups by task name across parent turns 191838 2627a7f (origin 84e1365): fix(codex): name usable agent IDs when a native target is unidentified 191838 9f78f29 (origin f591228): fix(codex): wait for a live previous owner to unload before resuming 191838 cc216fb (origin a6ec514): fix(codex): allow Codex's shutdown window when confirming a thread unload 191838 85b8598 (origin 6b4e757): fix(cron): run jobs added before scheduler start without startup deferral 191838 1693080 (origin df43e79): fix(state): retry lease cleanup after offline maintenance contention 191838 018d506 (origin 3c7cde0): fix(sqlite): wait for a cold database turn before the shared worker open queue 191838 683b89f (origin d7f8560): fix(gateway): flush startup evidence before readiness 191838 22dbc18 (origin d569839): fix(config): ignore empty default plugin entries when widening allowlists Reviewed source packet: 08890ffe0399fcc102a67c6fe3ea8c8bada74128d85dd826c9ee5d8a03f92520 Batch/security slice: cf4a56d8df38cc11818b961b51b9a2756f755b084cdc27ffeb88cf4365bed0bc Native/auth/updater remainder is intentionally not part of this commit. Co-authored-by: RomneyDa <[email protected]>
What Problem This Solves
Fixes: Full Release Validation is cancelled before any validation child starts when GitHub Git operations are slow, because the "Resolve target ref" job exceeds its 10-minute limit.
The "Acquire publication source metadata" step reads every root/extension/package
package.jsonand extensionREADME.mdblob from the target checkout. That checkout isblob:none(sparseactions/checkout), so every missing blob was a separate lazy promisor fetch: hundreds of round trips. During GitHub's "Git Operations degraded_performance" incident (2026-11-03, since 20:57Z) each fetch took about 0.6-1.2s, the step ran about 6 minutes, and the job was cancelled three times in a row:User Impact
Release operators: FRV no longer dies in admission on degraded Git performance. No change to what is admitted.
Why This Change Was Made
git rev-list --objects --no-walk --missing=print(does not lazy fetch) and fetches them in onegit fetch origin --stdinusing git's own lazy-fetch arguments (fetch.negotiationAlgorithm=noop,--no-tags --no-write-fetch-head --recurse-submodules=no --filter=blob:none). Runner git is 2.55.0 (from the failing job log). The step makes one round trip instead of hundreds.resolve_targettimeout-minutesgoes from 10 to 15, with a comment. The job normally takes about 4.5 minutes, and checkout and the other target fetches also slow down during Git incidents. The pinned FRV parent timeout path inpackage-acceptance-workflow.test.tsmoves from 195 to 200 minutes, still well under the 720-minute diagnostic drain.Evidence
FRV publication source metadata acquisitionruns the real step body against a--filter=blob:noneclone with 5 missing blobs andGIT_NO_LAZY_FETCH=1. It passes, so the single batched fetch supplied every blob. With the prefetch disabled (if (false)), the same test fails (exit 1).node scripts/run-vitest.mjs test/scripts/full-release-publication-admission.test.ts test/scripts/full-release-validation-continuation-workflow.test.ts test/scripts/check-workflows.test.ts: 3 files, 141 passed, 2 skipped.scripts/check-workflows.mts(actionlint, zizmor, workflow guards): passed.oxfmt --check,run-oxlint,run-tsgo -p test/tsconfig/tsconfig.test.root.tooling.json: clean.test/scripts/package-acceptance-workflow.test.ts: the drain-budget test passes with the new pin. Locally on macOS, 18 other tests in that file fail with host bash errors ("ambiguous redirect", "wait: pid is not a child") in openclaw-release-checks.yml step bodies. This PR does not touch that workflow, and the same tests passed in this PR's Linux CI.