Repository navigation
test(qa): create child-bundle evidence through the test API - #149243
Conversation
Repair red main #35 by using the existing evidence-only API in the native child producer fixture and including the stored runner failure diagnostic. Preserve the real subprocess, 30-second command budget, and receipt checks. Refs #149157. Adopt only the child-bundle fixture change from the original contributor revision; the process-identity repair already landed in #149164. Co-authored-by: Vincent Koc <[email protected]>
|
🦞👀 Pull request received. I will update this pull request when review starts. ClawSweeper review in progressClawSweeper is reviewing this revision. This supersedes any previous blocked status. |
|
Codex review: needs maintainer review before merge. Reviewed September 15, 2026, 12:11 PM ET / 16:11 UTC (Revision 2). ClawSweeper reviewWhat this changesThe QA Lab subprocess fixture imports the existing lightweight evidence API and includes the runner’s failure message when producer evidence is missing. Merge readiness✅ Ready for maintainer review Keep open: this focused, maintainer-requested repair remains useful on current main. No actionable findings remain, consistent with the previous review of the same head. Priority: P2 Review scores
Verification
How this fits togetherQA Lab runs test scenarios and collects evidence from child processes. This fixture checks that producer evidence, receipt hashes, and retry results survive collection and report projection. flowchart LR
A[Test scenario] --> B[Child process]
B --> C[Lightweight evidence API]
C --> D[Producer evidence file]
D --> E[Scenario runner]
E --> F[Receipt and retry checks]
F --> G[Full and slim reports]
Before mergeNone. Agent review detailsSecurityNone. PR surfaceTests +3. Total +3 across 1 file. View PR surface stats
Review metricsNone. Technical reviewBest possible solution: Use the existing lightweight API for evidence-only child producers while retaining the real execution boundary and all evidence-integrity assertions. Do we have a high-confidence way to reproduce the issue? Yes: source identifies the broad runtime import inside a deadline-bound child, and linked controlled contention evidence demonstrates missing receipts before the change and passing cases afterward. This review did not execute a current-main reproduction. Is this the best way to solve the issue? Yes: reusing the existing facade preserves the same evidence implementation while removing unrelated startup work, without extending deadlines or weakening assertions. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against 31557782c749. LabelsLabel 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)
|
|
Merged via squash.
|
Integrate current main and the reviewed synthetic catalog fixture correction. The child evidence fixture correction is already present through #149243. Preserve the resolved parent-model repair and its current authority and allowlist checks. Co-authored-by: Vincent Koc <[email protected]>
…#149243) Repair red main openclaw#35 by using the existing evidence-only API in the native child producer fixture and including the stored runner failure diagnostic. Preserve the real subprocess, 30-second command budget, and receipt checks. Refs openclaw#149157. Adopt only the child-bundle fixture change from the original contributor revision; the process-identity repair already landed in openclaw#149164. Co-authored-by: Vincent Koc <[email protected]>
What Problem This Solves
Repairs red main #35: the independent-producer cases in
extensions/qa-lab/src/test-file-scenario-runner.child-bundle.test.tscan exhaust their 30-second command budget without writing producer evidence onchecks-node-changed-extensions-config-56, blocking PRs routed to that shard.User Impact
No user-visible change; this is a test-only fixture repair. The real subprocess, deadline, receipt hashes, retry behavior, and full/slim evidence assertions remain unchanged.
Why This Change Was Made
The producer only creates evidence, but importing
api.tsalso loads the broad QA Lab runtime. The existingtest-api.tsexports the samecreateQaEvidenceInvocationowner without those runtime entrypoints. Missing-evidence failures also include the runner's stored failure message alongside the child log.This is @vincentkoc's +5/−2 child-bundle change from #149157, adopted verbatim from
e572a65333e1650202ba2825c155ffdadca8f6c2. The original PR's other three process-identity fixtures overlap the repair already merged in #149164. This separate PR follows the maintainer's explicit red-main repair request. Since that request, #149157 has advanced to a one-file diff; this PR retains the requested pinned extraction.Refs #149157. Refs #149164.
Evidence
node scripts/run-vitest.mjs extensions/qa-lab/src/test-file-scenario-runner.child-bundle.test.ts: 1 file, all 12 tests passed (40.59 seconds; macOS, Node 26.8.2).node_modules/.bin/oxlintandnode_modules/.bin/oxfmt --checkon this file, both passing.bea8174d2f20094844d6252954c5d0a0d41f8661: scoped-clean through P1, with no actionable findings.checks-node-changed-extensions-config-3, rather than the broader failing run's config-56. The complete exact-head CI run passed, and the repository watcher reportedGREEN; no failed or cancelled jobs required reruns.The contention before/after control is reused from the linked proof; fresh macOS and exact-head Linux runs both verify all 12 extracted fixture cases.
Failing-before CI output, independently read
Original config-56 job, head
39ed7946a558f755240b471159376ec9974c423e:Local passing-after output for this extracted fixture: