You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run the same renderer behavior checks with fewer separate test-file loads, and remove selected static source test cases. The full local affected cohort at first head a161337 was 1.63% faster; hosted savings and overall 2× throughput are unproved.
What Changed
Combine 13 renderer test files into 5 files, retaining their original describe suites and scoped cleanup, preserving all 99 behavior cases, inputs, assertions, clocks, locale reset and layout fixtures. Each combined file shares imported module state and runs the common setup once; those separate initialization runs are intentionally removed.
Retire 97 selected static test cases for workflow shape/order, source wiring, locale/key inventories and release-consumer discovery. These unique drift alarms are intentionally lost; surviving behavior checks do not replace them. Actual conditions, selectors/matcher tables, key admission and release consumers remain, as does the unchanged release permission policy test.
Clear the losing provider exit timeout after the race settles; retain its 5-second deadline and 23 real process cases, with no timer speedup claimed. Preserve both upstream-added cases. The PR changes 30 test paths and one existing reliability manifest: 15 modified, 16 deleted. Refresh that manifest with the current renderer path and an actual new eight-file contract run; preserve its policy, assertions and historical record in Git and the saved snapshot.
Why
Reuse existing suites and the stock runner to reduce repeated renderer loading. This keeps behavioral callbacks intact without changing production, dependencies, workflows, runner configuration, worker counts or protected Node routes, or adding another test framework or census.
Linked Issue
N/A — internal CI maintenance.
Visual Proof
N/A — test-only changes; no product UI or interaction change.
Testing
Ran relevant local checks on macOS arm64: Node 24.21.0, Bun 1.4.2, Vitest 5.0.3, four workers.
Automated tests updated. Complete frozen main 80992a5 baseline 471/49 modules and candidate 374/33 modules passed on both runners, exactly 97 intended test-case losses and 198 controls preserved. No failures/skips/todo; the same 45 existing React warning chunks remain.
Six complete ordinary ABBAAB commands: mean 17.165083s → 16.885948s (1.626% lower), median 1.924% lower; all three pairs improved. This small local observation includes real process teardown and cannot be combined with the earlier 10.3%/26.0% subset results.
Formatting, quality against frozen main, Node/web typechecks and Git diff checks passed. The first ordinary CI then found the consolidated file had 804 lines under the unchanged 800-line rule; the changed-lines check had missed that moved-code diagnostic. An exact whitespace-only correction preserves every non-whitespace character, and stock formatting, full default lint and anti-slop lint pass on all 14 surviving files. The default-rule check occurred after the correction push; that ordering mistake is recorded. Ordinary existing CI supplies full unit checks, triggered builds and platform checks. This local result does not certify Linux, Windows or SSH. No diagnostic CI, rerun or cache intervention.
Final qualification/preparation: 17 first commands 210.455805s, including 175.914758s test children. At first publication: 86 first project commands 525.470044s, charging restored/no-gain trials, the first formatting failure, the invalid reverse-labeled forward arm, and all quality/preparation commands. The existing new-main workspace package's stock build (0.163527s) is included; no registry install or manifest/lockfile edit. Source/Git/API reads, a 0.000868s local workspace link and a 0.124269s Node version probe are outside those project-command totals.
The correction adds five first formatting/lint commands, 0.600963s: project total before the evidence refresh 91 commands, 526.071007s, plus the separate version probe/link above. The failed first CI attempt consumed 833 assigned runner seconds and is fully charged; its skipped unit jobs provide no savings credit. That corrected ordinary attempt then passed lint but failed because the reliability manifest still named the moved timing file; it consumed 664 more assigned seconds. Both failed heads consumed 1497 assigned seconds, fully charged with no skipped-unit savings credit. No runtime or timing campaign was repeated for the whitespace-only correction.
Refresh proof: the initial local invocation omitted the stock config and failed while loading saved copies; its 7.253808s is retained. The corrected stock-config invocation passed exactly 87 cases in eight current files, naturally closing in 5.688708s at aea00c5; the manifest records that actual command, source and wall time. All 20 required local formatting/lint/static gates passed before this metadata push. This refresh adds 22 first commands, 37.997595s: current entire wave 113 project commands, 564.068602s, plus the separately recorded version probe/link. Latest ordinary PR CI passed all required checks, all five full unit shards, relay integration and its aggregate check, and the PR merged normally at 7c22f6f. Its four events consumed 3940 assigned runner seconds; all three PR heads consumed 5437 seconds including the two failed attempts. Five unit jobs used 3133 seconds (2950 Test, 183 other), versus an unmatched prior 3125 seconds (2951 Test, 174 other); this establishes no hosted savings. All five ordinary unit archives are complete and bound to source 6b56704: their disjoint union contains 12,128 modules (11,984 passed, 144 skipped), with zero unhandled errors; these are module results, not full case identities. Main Mobile, main Headless and closed-PR cleanup also passed, using 199, 26 and 3 assigned seconds respectively. The successful head plus these normal lifecycle events totals seven events and 4168 assigned seconds. All three published heads and lifecycle events total 15 attempt-one events, 95 unique job rows, 31 assigned jobs and 5665 assigned seconds; 64 runnerless skipped jobs cost no assigned seconds, and both failed heads remain included. Created-to-started intervals total 784 seconds separately, with no inferred concurrency limit or queue cause. No new timing comparison was run.
Review
Independent source, full-case/results and prospective CI-scope reviews. Existing Mobile PR/main and conditional Headless triggers still apply. Actual main/closed costs are complete; fleet queue, cache and concurrency effects remain unproved; PR27063's 4313 assigned seconds are an unmatched workload.
Agent skill upstream boundary
Not applicable; no upstream skill material copied.
Notes
Remote/folder/platform inputs and real cleanup remain. Losing the static drift alarms and separate module initialization runs is the coverage tradeoff.
Checklist
Focused test-only scope; explained behavior, mechanism and approach
N/A visual proof; reviewed correctness, security and performance
Cross-platform/SSH/folder impact considered
Relevant local checks pass; ordinary CI covers its admitted full unit checks and builds
No actionable comments were generated in the recent review. 🎉
ℹ️ Recent review info
⚙️ Run configuration
Configuration used: Repository UI
Review profile: CHILL
Plan: Advanced
Run ID: 6a10f013-068e-403e-ab19-7f05958b88fc
📥 Commits
Reviewing files that changed from the base of the PR and between aea00c5 and d81aefe.
📒 Files selected for processing (1)
config/reliability-gates.jsonc
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 5 remain after this review.
📝 Walkthrough
📝 Walkthrough
Walkthrough
The diff removes or narrows CI workflow, repository contract, localization, agent-key, and terminal fixture tests. It consolidates native-chat test coverage and adds cases for message history, turn membership, subagent sections, transcript windowing, and tool-run presentation. The SIGTERM escalation test now clears its fallback timer when the race settles.
Priority: ⬇️ Low
Merge Risk:⚪ Minimal · up to d81ae
The manifest refresh preserves the gate’s duration coverage, and no material merge-blocking risk is identified.
Pre-merge checks | 4 | 1
❌ Failed checks (1 warning)
Check name
Status
Explanation
Resolution
Docstring Coverage
Docstring coverage is 28.95% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 38 functions across 10 files. (1 skipped:…
Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name
Status
Explanation
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Title check
The title clearly summarizes the primary changes: test consolidation, retirement of selected static scans, and reliability evidence updates.
Description check
The description includes the required sections and provides clear scope, rationale, testing evidence, limitations, review notes, and checklist status. The omitted AI Disclosure section is acceptable f…
Full details: Docstring Coverage
Explanation
Docstring coverage is 28.95% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 38 functions across 10 files. (1 skipped: 1 unsupported.)
Fix all pre-merge checks with AI
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.
nwparker
changed the title
[CI] Consolidate renderer test modules and retire static scans
[CI] Consolidate tests, retire static scans, and update evidence
Oct 10, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ELI5
Run the same renderer behavior checks with fewer separate test-file loads, and remove selected static source test cases. The full local affected cohort at first head
a161337was 1.63% faster; hosted savings and overall 2× throughput are unproved.What Changed
Combine 13 renderer test files into 5 files, retaining their original describe suites and scoped cleanup, preserving all 99 behavior cases, inputs, assertions, clocks, locale reset and layout fixtures. Each combined file shares imported module state and runs the common setup once; those separate initialization runs are intentionally removed.
Retire 97 selected static test cases for workflow shape/order, source wiring, locale/key inventories and release-consumer discovery. These unique drift alarms are intentionally lost; surviving behavior checks do not replace them. Actual conditions, selectors/matcher tables, key admission and release consumers remain, as does the unchanged release permission policy test.
Clear the losing provider exit timeout after the race settles; retain its 5-second deadline and 23 real process cases, with no timer speedup claimed. Preserve both upstream-added cases. The PR changes 30 test paths and one existing reliability manifest: 15 modified, 16 deleted. Refresh that manifest with the current renderer path and an actual new eight-file contract run; preserve its policy, assertions and historical record in Git and the saved snapshot.
Why
Reuse existing suites and the stock runner to reduce repeated renderer loading. This keeps behavioral callbacks intact without changing production, dependencies, workflows, runner configuration, worker counts or protected Node routes, or adding another test framework or census.
Linked Issue
N/A — internal CI maintenance.
Visual Proof
N/A — test-only changes; no product UI or interaction change.
Testing
Ran relevant local checks on macOS arm64: Node 24.21.0, Bun 1.4.2, Vitest 5.0.3, four workers.
Automated tests updated. Complete frozen main
80992a5baseline 471/49 modules and candidate 374/33 modules passed on both runners, exactly 97 intended test-case losses and 198 controls preserved. No failures/skips/todo; the same 45 existing React warning chunks remain.Six complete ordinary ABBAAB commands: mean 17.165083s → 16.885948s (1.626% lower), median 1.924% lower; all three pairs improved. This small local observation includes real process teardown and cannot be combined with the earlier 10.3%/26.0% subset results.
Formatting, quality against frozen main, Node/web typechecks and Git diff checks passed. The first ordinary CI then found the consolidated file had 804 lines under the unchanged 800-line rule; the changed-lines check had missed that moved-code diagnostic. An exact whitespace-only correction preserves every non-whitespace character, and stock formatting, full default lint and anti-slop lint pass on all 14 surviving files. The default-rule check occurred after the correction push; that ordering mistake is recorded. Ordinary existing CI supplies full unit checks, triggered builds and platform checks. This local result does not certify Linux, Windows or SSH. No diagnostic CI, rerun or cache intervention.
Final qualification/preparation: 17 first commands 210.455805s, including 175.914758s test children. At first publication: 86 first project commands 525.470044s, charging restored/no-gain trials, the first formatting failure, the invalid reverse-labeled forward arm, and all quality/preparation commands. The existing new-main workspace package's stock build (0.163527s) is included; no registry install or manifest/lockfile edit. Source/Git/API reads, a 0.000868s local workspace link and a 0.124269s Node version probe are outside those project-command totals.
The correction adds five first formatting/lint commands, 0.600963s: project total before the evidence refresh 91 commands, 526.071007s, plus the separate version probe/link above. The failed first CI attempt consumed 833 assigned runner seconds and is fully charged; its skipped unit jobs provide no savings credit. That corrected ordinary attempt then passed lint but failed because the reliability manifest still named the moved timing file; it consumed 664 more assigned seconds. Both failed heads consumed 1497 assigned seconds, fully charged with no skipped-unit savings credit. No runtime or timing campaign was repeated for the whitespace-only correction.
Refresh proof: the initial local invocation omitted the stock config and failed while loading saved copies; its 7.253808s is retained. The corrected stock-config invocation passed exactly 87 cases in eight current files, naturally closing in 5.688708s at
aea00c5; the manifest records that actual command, source and wall time. All 20 required local formatting/lint/static gates passed before this metadata push. This refresh adds 22 first commands, 37.997595s: current entire wave 113 project commands, 564.068602s, plus the separately recorded version probe/link. Latest ordinary PR CI passed all required checks, all five full unit shards, relay integration and its aggregate check, and the PR merged normally at 7c22f6f. Its four events consumed 3940 assigned runner seconds; all three PR heads consumed 5437 seconds including the two failed attempts. Five unit jobs used 3133 seconds (2950 Test, 183 other), versus an unmatched prior 3125 seconds (2951 Test, 174 other); this establishes no hosted savings. All five ordinary unit archives are complete and bound to source6b56704: their disjoint union contains 12,128 modules (11,984 passed, 144 skipped), with zero unhandled errors; these are module results, not full case identities. Main Mobile, main Headless and closed-PR cleanup also passed, using 199, 26 and 3 assigned seconds respectively. The successful head plus these normal lifecycle events totals seven events and 4168 assigned seconds. All three published heads and lifecycle events total 15 attempt-one events, 95 unique job rows, 31 assigned jobs and 5665 assigned seconds; 64 runnerless skipped jobs cost no assigned seconds, and both failed heads remain included. Created-to-started intervals total 784 seconds separately, with no inferred concurrency limit or queue cause. No new timing comparison was run.Review
Independent source, full-case/results and prospective CI-scope reviews. Existing Mobile PR/main and conditional Headless triggers still apply. Actual main/closed costs are complete; fleet queue, cache and concurrency effects remain unproved; PR27063's 4313 assigned seconds are an unmatched workload.
Agent skill upstream boundary
Notes
Remote/folder/platform inputs and real cleanup remain. Losing the static drift alarms and separate module initialization runs is the coverage tradeoff.
Checklist