Repository navigation
fix(qa): prioritize and stream native suite work - #118015
Conversation
|
Codex review: needs maintainer review before merge. Reviewed August 26, 2026, 8:36 AM ET / 12:36 UTC. ClawSweeper reviewWhat this changesThe PR schedules serial native QA work by declared timeout, restores catalog-ordered evidence, and emits runner-owned progress without sending child-process output to CI logs. Merge readinessKeep open for explicit maintainer merge review: current main still lacks the native execution-unit scheduler, while this protected maintainer PR has no confirmed code defect but still has exact-head CI in progress. Priority: P2 Review scores
Verification
Live VerificationCommand: Result: FAIL (failed) — step 1 Assertions:
How this fits togetherQA Lab runs flow gateways and native script, Vitest, Playwright, and Docker scenarios to produce CI evidence. This change sits between suite planning and command execution, controlling native work order, private logs, and public progress messages. flowchart LR
A[Scenario catalog] --> B[Suite planner]
B --> C[Flow gateways settle]
C --> D[Native execution units]
D --> E[Command lifecycle]
E --> F[Private evidence logs]
D --> G[Runner-owned progress]
G --> H[CI progress output]
Decision needed
Why: The implementation changes CI execution order and visible operator progress; the protected maintainer label requires an explicit maintainer merge decision even though no line-level defect was found. Before merge
Agent review detailsSecurityNone. PR surfaceSource +96, Tests +190. Total +286 across 8 files. View PR surface stats
Review metrics
Merge-risk optionsMaintainer options:
Technical reviewBest possible solution: Retain the single execution-unit scheduler and approve only after exact-head CI is green and a maintainer accepts the justified net +96 production-line increase at this owner boundary. Do we have a high-confidence way to reproduce the issue? Yes, source reproducibly shows current main executes native work without the proposed unified timeout-priority plan; this review did not run the read-only checkout. Is this the best way to solve the issue? Yes; the scheduler belongs in the existing native runner, which already owns Docker grouping, command timeouts, result ordering, and evidence construction. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 1e6844b71aa2. LabelsLabel justifications:
EvidenceWhat I checked:
Likely related people:
Rating scale
Overall follows the weaker of proof and patch quality. Workflow
HistoryReview history (13 earlier review cycles; latest 8 shown)
|
|
Rebased onto current
@clawsweeper re-review |
1250a8e to
60dbac0
Compare
|
🦞🧹 I asked ClawSweeper to review this item again. |
|
Repaired the exact-head CI failure at Root cause: the branch added Proof:
Test audit: no new test was needed for a type-only missing import; the existing 75 focused behavioral tests cover the unchanged callback propagation and process lifecycle. Production LOC +4/-1 is import formatting only, zero emitted/runtime LOC. The branch remains behind but mergeable; I did not rebase solely for behindness. Never merge requested here. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
|
Exact-head proof refresh for
The remaining choice is the documented maintainer decision whether source-level + owner/caller integration proof is sufficient without adding a dedicated sort-order regression. No concrete code finding exists. @clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
ad6ac64 to
fde9134
Compare
|
Rebased the native QA scheduling/progress repair onto current Conflict reconciliation retained current-main's shared blocked-flow test helper and layered the progress-output invariant onto it; no obsolete harness path was restored. Proof:
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
fde9134 to
c41da5a
Compare
|
Refreshed exact head |
|
Repair evidence for exact head
@clawsweeper re-review |
|
🦞🧹 I asked ClawSweeper to review this item again. Re-review progress:
|
Co-authored-by: Dallin Romney <[email protected]>
Protect split output chunks and repair scenario test fixture typing. Co-authored-by: Dallin Romney <[email protected]>
Keep bounded streamed output safe across multiline and partition boundaries. Co-authored-by: Dallin Romney <[email protected]>
Recognize bounded case-insensitive auth tag assignments across streamed lines. Co-authored-by: Dallin Romney <[email protected]>
Preserve trusted native progress and artifact logs without forwarding child bytes. Co-authored-by: Dallin Romney <[email protected]>
a69b77c to
e11ee95
Compare
|
Merged via squash.
|
* fix(qa): prioritize and stream native suite work * fix(qa): import Docker output callback type * fix(qa): preserve native scenario evidence order Co-authored-by: Dallin Romney <[email protected]> * fix(qa): redact streamed native scenario output Protect split output chunks and repair scenario test fixture typing. Co-authored-by: Dallin Romney <[email protected]> * fix(qa): bind native output forwarding * fix(qa): secure multiline native output streaming Keep bounded streamed output safe across multiline and partition boundaries. Co-authored-by: Dallin Romney <[email protected]> * fix(qa): match multiline secret redaction grammar Recognize bounded case-insensitive auth tag assignments across streamed lines. Co-authored-by: Dallin Romney <[email protected]> * fix(qa): keep unsafe child output out of suite progress Preserve trusted native progress and artifact logs without forwarding child bytes. Co-authored-by: Dallin Romney <[email protected]> --------- Co-authored-by: Peter Steinberger <[email protected]>
Summary
distoutputWhy
Enabling the update-run self-upgrade producer turned a formerly instant-blocked catalog tail into a native lane with a 60-minute declared timeout. The failed all-profile run completed every flow and the Docker batch, then reached that producer with only seconds left under the old 90-minute job cap. This is deterministic serial-tail starvation, not a Slack teardown hang.
The QA Lab runner owns native execution ordering, private command-output capture, and bounded scenario progress. This change repairs that boundary without parallelizing producers or weakening QA results: longer-budget work starts first, trusted runner-owned progress becomes operator-visible, and evidence/report order remains stable. Arbitrary subprocess bytes never enter shared CI progress streams.
Behavior and safety
Validation
LOC
Production: +96 net lines. Tests: +190 net lines. The production growth provides the native execution-plan capability, timeout-priority scheduling, stable catalog/evidence restoration, and trusted owner-minted progress. The security-boundary follow-up removes 57 production lines versus the contributor head by deleting arbitrary subprocess-to-CI forwarding instead of adding sanitization machinery.