Skip to content

[CI] Narrow daemon fixture checks and advance coordinator test clocks - #27592

Merged
nwparker merged 1 commit into
mainfrom
nwparker/ci-daemon-fixture-routing-and-coordinator-clock-20261011
Oct 11, 2026
Merged

nwparker merged 1 commit into
mainfrom
nwparker/ci-daemon-fixture-routing-and-coordinator-clock-20261011

Conversation

@nwparker

@nwparker nwparker commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

ELI5

Daemon test-fixture changes currently start desktop packaging and serve-switch tests. This PR avoids those root jobs for one exact scope and advances an existing clock instead of waiting for coordinator startup.

What Changed

Routing requires complete, unique, modification-only evidence within four #27574 fixture paths, including the unit mock. Only that helper is excluded from root package/E2E matching; all other checks and conservative fallbacks remain.

The coordinator test advances its existing clock through the same 400 ms startup delay. Its 1,500 ms no-restart window and assertions remain.

Why

The mock belongs to the unit harness. Exact scope avoids a broad test-file exemption; the existing clock preserves the scenario and full observation windows.

Linked Issue

Related: #27574. Maintainer CI maintenance; no separate issue.

Visual Proof

N/A — CI and test fixtures only.

Testing

Local coordinator arm Wall CPU Cases
Original A1 18.356 s 11.734 s 23 passed
Candidate B1 10.850 s 5.406 s 23 passed
Candidate B2 11.227 s 5.771 s 23 passed
Original A2 12.933 s 5.591 s 23 passed

Warm wall decreased 13.19%; CPU increased 3.22%. Ordered Linux comparison; no CPU/fleet gain claimed. Four arms/statics cost 53.773 s wall/29.076 s CPU.

  • Coordinator formatting, ordinary lint and native-plugin lint passed.
  • Routing: 323 original + 12 new cases passed; real Git controls cover full four-file modification scope and conservative fallbacks. Formatting, ordinary lint and native-plugin lint passed.

Routing qualification cost 15.629 s wall/19.472 s CPU, including setup, the initial lint failure and intermediate controls.

  • Complete configured pnpm tc:node: 24.471 s wall/68.836 s CPU; public changed-code-quality: 10.979 s wall/15.650 s CPU. Both passed on the exact candidate. Frozen install: 4.561 s wall. Typecheck covers the Node project.

All local qualification/setup commands cost 110.919 s wall/140.636 s CPU, including the failed lint and intermediate controls. Object export: 5.932 s separately; its CPU and other administrative overhead were unmeasured.

AI Disclosure

Codex implementation and independent agent review.

Review

Source pins match the merged #27574 base; independent source/actual review passed.

Agent skill upstream boundary

  • Not applicable; no upstream skill code copied.

Notes

Six root roles occupied 1,128 runner-seconds in #27574: prospective exposure, not measured savings. This PR receives full validation. Overall 2× remains unproved. This ordinary validation head completed 31 checks: 22 success, nine skips; 4,904 assigned runner-seconds across 22 allocations, plus 91 queue-seconds. No failures, cancellations or reruns.

Checklist

  • Mechanism, alternatives and platform/SSH scope reviewed
  • Visual proof marked N/A
  • Local gates complete; ordinary CI will validate this PR

@coderabbitai

coderabbitai Bot commented Oct 11, 2026 •

Copy link
Copy Markdown
Contributor

Review in Change Stack →

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: ed674c04-cb49-4834-876a-12266f054f01


📥 Commits

Reviewing files that changed from the base of the PR and between 50b3d2e and 164503c.



📒 Files selected for processing (6)
  • .github/workflows/pr.yml
  • config/scripts/pr-auxiliary-preflight-admission.test.mjs
  • config/scripts/pr-code-change-scope.mjs
  • config/scripts/pr-e2e-gate-contract.test.mjs
  • config/scripts/pr-e2e-source-routing.mjs
  • src/main/runtime/structured-chat-coordinator-mail.test.ts


Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 7 remain after this review.




📝 Walkthrough
📝 Walkthrough

Walkthrough

The pull-request workflow passes a daemon-init test-support option to job and E2E routing when the diff is empty. The routing scripts use an allowlist to identify qualifying support-only changes and adjust package-job and E2E route matching. Tests cover routing across several Git change types. A structured-chat test now waits before awaiting cancellation during a delayed provider start.



Priority: ⬇️ Low

Merge Risk: ⚪ Minimal · up to 16450

No actionable routing or cancellation issue remains; the change is mergeable after normal checks.

Pre-merge checks | Passed 4 | Failed 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage Warning Docstring coverage is 14.29% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 7 functions across 5 files. (1 skipped: 1… Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Title check Passed The title clearly identifies both primary changes: narrower daemon fixture CI checks and adjusted coordinator test timing. It is concise and specific.
Description check Passed The description is complete and aligned with the template. It explains the changes, rationale, linked issue, testing, AI disclosure, review scope, platform considerations, and checklist status. It use…

Full details: Docstring Coverage

Explanation

Docstring coverage is 14.29% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 7 functions across 5 files. (1 skipped: 1 unsupported.)


  • Fix all pre-merge checks with AI
✨ Finishing Touches 💡 1
📝 Generate docstrings 💡
  • Commit to this branch
  • Create a new PR



  • 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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@nwparker
nwparker merged commit c180ba6 into main Oct 11, 2026
31 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant