Repository navigation
improve(ci): avoid duplicate release source guard scans - #200379
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. |
Exact-head CI attribution (not a green-CI claim)Run 44007899705 tests merge
The 84 focused orchestration/consumer tests and scoped type/lint/format checks pass, including red-base two scans versus green one scan and retained fail-fast behavior. Broad CI is still incomplete; these failures are recorded rather than hidden, rerun away, or called passing. Hosted review is also still in progress. |
|
Codex review: needs maintainer review before merge. What this changesThis PR removes a duplicate release-source guard scan and repairs qualification fixtures, heartbeat cleanup, announcement custody, and QA request classification. Example: Run pnpm check --include-architecture --stage preflight --stage typecheck --stage policy.
Review scores
ProductKind: Performance · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review This PR retains useful work absent from current main, and I found no actionable introduced defect; exact-head CI remains pending and the author explicitly pauses readiness. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherThe check orchestrator turns selected validation stages into package commands and exit statuses; accompanying repairs keep qualification fixtures and asynchronous completion owners aligned with their existing contracts. flowchart TD
A[Selected check stages] --> B[Ordered check orchestrator]
B --> C[Preflight guards]
C --> D[Typechecking]
D --> E[Architecture remainder]
F[Standalone architecture] --> E
F --> G[Legacy store guard]
C --> G
Technical reviewBest possible solution: Retain the single-scan composition and focused owner repairs, then finish the existing exact-head qualification before landing. Do we have a high-confidence way to reproduce the issue? Current-main command composition independently shows the duplicate scan, while the supplied regressions document the announcement and QA failures; this read-only review ran no target code. Is this the best way to solve the issue? The changes reuse existing orchestration, process-cleanup, delivery-classification, and QA projection owners, preserving standalone guard coverage without adding caches or competing state. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against b8029b40bd9f. Provenance checked
TestingProof path: in-process harness. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource +21, Tests +100, Config +1, Other +5. Total +127 across 19 files. Added test files: 1. 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:
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 HistoryReviewed November 17, 2026, 11:11 PM ET / November 18, 2026, 04:11 UTC (Revision 3). |
(cherry picked from commit a62e4e1)
Copy the runtime process dependency manifest into the dependency-free packaging fixture so the CLI reaches argument validation. The existing startup assertion continues to reject missing modules. (cherry picked from commit 84262af)
) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 36549cb)
) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit d0daf88)
* fix: restore Codex run-attempt qualification coverage Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching #199695. No production behavior or timeout changes. Co-authored-by: RomneyDa <[email protected]> * test: align Codex refresh callback fixtures Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 8f0d03f)
(cherry picked from commit 6247dc4)
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
Exact-head Gateway proof follow-upFor reviewed head The test runs the real Gateway/agent/announcement/SQLite settlement path with a synthetic provider and Discord HTTP transport. Its transport deliberately omits the send identity. The passing assertions establish: terminal child execution, Both settlement-owner test files also passed all 122 tests. The original failing scenario and compact owner regression were reproduced before the fix; assertions were not weakened. Qualification remains open: CI run |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
) * improve(ci): avoid duplicate release source guard scans * fix(ci): classify recovery browser test server ownership (openclaw#200402) (cherry picked from commit 4a2270d) * fix(ci): restore package harness startup Copy the runtime process dependency manifest into the dependency-free packaging fixture so the CLI reaches argument validation. The existing startup assertion continues to reject missing modules. (cherry picked from commit 7dfdaec) * test(facetime): preserve child process exports in audio fixture (openclaw#200419) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit b12070e) * test(browser): align fixtures with navigation and CLI contracts (openclaw#200428) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit d623a9b) * fix: restore Codex qualification fixture contracts (openclaw#200450) * fix: restore Codex run-attempt qualification coverage Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching openclaw#199695. No production behavior or timeout changes. Co-authored-by: RomneyDa <[email protected]> * test: align Codex refresh callback fixtures Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit d0d35ab) * fix(crabbox): join heartbeat command cleanup before retirement (openclaw#200466) (cherry picked from commit a823861) * fix(agents): retain ambiguous completed-answer receipts * fix(qa): ignore workspace context when detecting continuation --------- Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: RomneyDa <[email protected]>
* improve(ci): avoid recompressing candidate registry artifacts * fix(ci): classify recovery browser test server ownership (#200402) (cherry picked from commit a62e4e1) --------- Co-authored-by: Vincent Koc <[email protected]> (cherry picked from commit 27a5de4) Co-authored-by: RomneyDa <[email protected]> Backport review: Later #201313 modifies WebKit download recovery, independent of artifact compression. #200379 is selected separately; no required dependency for upload compression.: (cherry picked from commit 90e3710c5d97b66059893d69f7a6a9631971380c)
* improve(ci): avoid duplicate release source guard scans * fix(ci): classify recovery browser test server ownership (#200402) (cherry picked from commit a62e4e1) * fix(ci): restore package harness startup Copy the runtime process dependency manifest into the dependency-free packaging fixture so the CLI reaches argument validation. The existing startup assertion continues to reject missing modules. (cherry picked from commit 84262af) * test(facetime): preserve child process exports in audio fixture (#200419) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 36549cb) * test(browser): align fixtures with navigation and CLI contracts (#200428) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit d0daf88) * fix: restore Codex qualification fixture contracts (#200450) * fix: restore Codex run-attempt qualification coverage Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching #199695. No production behavior or timeout changes. Co-authored-by: RomneyDa <[email protected]> * test: align Codex refresh callback fixtures Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 8f0d03f) * fix(crabbox): join heartbeat command cleanup before retirement (#200466) (cherry picked from commit 6247dc4) * fix(agents): retain ambiguous completed-answer receipts * fix(qa): ignore workspace context when detecting continuation --------- Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 60e0e21) Release adaptation: Preserve baseline authored-request continuation classifier and extractToolOutput import; newer #201244 behavior already exists. Apply runtime-context split and regression without downgrading it.: Backport review: #201130 selected by sibling; #201331 and #198760 are independent package script changes. #201244 classifier already present-equivalent on baseline.: (cherry picked from commit ad2ae0e0e2bf242ab0df9f9ca29f4f848caf478c)
) * improve(ci): avoid duplicate release source guard scans * fix(ci): classify recovery browser test server ownership (openclaw#200402) (cherry picked from commit a62e4e1) * fix(ci): restore package harness startup Copy the runtime process dependency manifest into the dependency-free packaging fixture so the CLI reaches argument validation. The existing startup assertion continues to reject missing modules. (cherry picked from commit 84262af) * test(facetime): preserve child process exports in audio fixture (openclaw#200419) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 36549cb) * test(browser): align fixtures with navigation and CLI contracts (openclaw#200428) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit d0daf88) * fix: restore Codex qualification fixture contracts (openclaw#200450) * fix: restore Codex run-attempt qualification coverage Use the complete typed transcript recorder fixtures and assert post-acceptance submission after prompt persistence, matching openclaw#199695. No production behavior or timeout changes. Co-authored-by: RomneyDa <[email protected]> * test: align Codex refresh callback fixtures Co-authored-by: RomneyDa <[email protected]> --------- Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 8f0d03f) * fix(crabbox): join heartbeat command cleanup before retirement (openclaw#200466) (cherry picked from commit 6247dc4) * fix(agents): retain ambiguous completed-answer receipts * fix(qa): ignore workspace context when detecting continuation --------- Co-authored-by: Vincent Koc <[email protected]> Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 60e0e21) Co-authored-by: RomneyDa <[email protected]> (cherry picked from commit 90fc6d5fa4c9d0f348e83ae63fd63c3072e03433)
What Problem This Solves
Release qualification's combined source check runs the full database-first legacy-store scan twice: once during fail-fast preflight and again at the end of architecture checks.
User Impact
Developers and release qualification retain the same checks, but a combined architecture run performs one full legacy-store scan instead of two. Standalone architecture and policy-only invocations still enforce the guard. The accompanying CI repairs preserve ambiguous announcement custody, wait for Crabbox heartbeat cleanup, and correct QA request classification. No migration or action is required.
Why This Change Was Made
Keep the early preflight guard and share the remaining architecture chain through a package script. The existing orchestrator selects that chain only when its ordered preflight stage succeeds. Failed preflight still stops before typechecking; no cache, environment flag, parallel runner, or new planner is added.
Historical intent is preserved: commit
50c82b3020064d553ff0110c668b465325cff569wired the guard into both preflight and standalone architecture. This removes only their duplicate composition, not either independent entry point.Optimization evidence and limits
CI repairs and provenance
The owner requires repair of inherited failures, not attribution-only waivers. Historical CI 44007899705 failed seven substantive jobs and its aggregate gate on synthetic merge
093beb6f6ae1e4a8df5c209d79708fd8cb32f48f. Historical ClawSweeper success is not current-head approval.Original-author cherry-picks retain their upstream references: #200402 UI test ownership (
a62e4e1), Docker copied-fixture dependency manifest (84262afe), #200419 FaceTime mock (36549cb), #200428 browser exit/error contracts (d0daf88), #200450 Codex auth/recorder fixtures (8f0d03f), and #200466 Crabbox physical process cleanup (6247dc4). The nine affected browser/Codex/FaceTime/Crabbox focused files pass; the Docker copied-harness reproduction and UI inventory guard pass. No tests are skipped, expected-failed or weakened.Discord completion custody
An automatic send without a message identity correctly produced an ambiguous receipt but omitted the completed-answer fact. Settlement then mistook it for failure before answering and credited consumed child input as successful delivery. The fix records the empty visible-answer fact already used by the adjacent failed-delivery branch; it adds no schema, retry policy or settlement owner.
The original isolated-Gateway E2E passes 9.255 s with its assertions unchanged; 122 announcement/requester-settlement tests pass. The compact classifier regression fails on the unpatched producer (one failed, four passed). Earlier proxy-induced ECONNRESET runs were setup failures, not product proof. Scoped types, type-aware lint, formatting and diff checks pass. Runtime evidence follow-up distinguishes synthetic transport proof from a live Discord send.
Simplification: two production lines and a strengthened existing assertion with zero test-line growth. Before the Telegram repair below, upstream/Discord repairs added production +27/-13 and tests/config fixtures +134/-95 against the previous revision; whole-PR deltas at that point were production +36/-16 and tests/config fixtures +173/-96.
Telegram QA request classification —
be4c9288b492CI job 134554652358 failed the recovered-artifact E2E. The original test reproduced on its actual merge
d17eebcfc4cc2cc0133a543072e0f1f99befc30e(PRbac8d1b03098into maina2c1b0e86ff9). Captured synthetic provider requests showed zero write calls, not a lost document: the mock searched workspace reference text containing “retry”/“continue,” treated a fresh request as a continuation, and mistook earlier metadata/tool output for a completed write.The existing QA projection owner now recognizes the runtime-context envelope, and continuation classification uses its current request. No production Telegram/Codex behavior, delivery policy, test assertions or timeout is changed.
bac8d1b03098and those files' merge base. The original E2E remains unchanged.Current readiness
Ready for review, verified November 18, 2026 at 04:41 UTC for head
be4c9288b492849837276da9670d1f7071354cdf.