Repository navigation
test(service): stabilize native recovery fixture compilation - #7930
Conversation
Keep rustup on the installed toolchain when HOME is sandboxed, retain compiler diagnostics, and use the existing bounded child-process budget. Co-authored-by: JUN <243035832+lidge-jun@users.noreply.github.com>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 2 minutes. View limit details
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. Comment |
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
✅ Deterministic PR hygiene checks passed. |
Summary
Passing whole-test durations range from 1.552 to 30.548 seconds. They include both builds and runtime assertions, so they are not rustc-only timings. The rustc kills are right-censored at 30 seconds. The existing 45-second child budget gives bounded headroom; a controlled 31-second process verifies the deadline repair. Logs do not establish whether hosted CPU contention, cold compiler startup, or rustup startup consumed the timed-out interval. Compilation already happens once per file, so beforeAll would save no work.
Failure evidence:
All matching outcomes from the 50-run scan (duplicate Bun failure summaries removed)
Verification
bun install --frozen-lockfilepassed.bun test tests/service/service-desktop-recovery.test.ts: 22 pass, 1 existing Linux-only skip, 0 fail.bun run test:changed: selected exactly this file; 22 pass, 1 existing Linux-only skip, 0 fail.bun run typecheck: no errors in 2,228 files.bun test tests/ci-workflows/file-size-ratchet.test.ts: 9 pass, 0 fail.bun run privacy:scanandgit diff --checkpassed.bun run test(2,777 files and concurrent host lanes; focused/changed tests, ratchet, and typecheck used for this test-only patch). The real compiled consumer/native producer recovery sequence remains for PR Ubuntu CI.Checklist
Co-authored-by: JUN 243035832+lidge-jun@users.noreply.github.com