Repository navigation
Warm up Chrome before the timed server-visuals render test - #914
Conversation
On a fresh hosted Linux runner the first Chrome launch reads the browser from a cold disk and took up to ~14 s to answer its first command, which the real-Chrome test timed against its 15 s render limit. Draw one untimed warm-up first so the limit times the drawing, not the cold start.
There was a problem hiding this comment.
ℹ️ No critical issues — one cleanup-coverage gap inline.
Reviewed changes I reviewed the full two-file change that warms Chrome before the timed live-browser render test and records the CI diagnosis.
- Chrome warmup — Adds a direct, minimally rendered Chrome launch with a 120-second cap before the existing production-path timing assertion.
- Project memory — Records the observed cold-launch delay, warm-launch timing, and discarded D-Bus and parallelism hypotheses.
@v0 or keep the SHA fresh with Dependabot | Fix all ➔ | Fix 👍s ➔ | View workflow run | Using GPT Sol | 𝕏
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes I reviewed the follow-up that fixes the temporary-profile cleanup coverage noted in the prior Pullfrog review.
- Moved the profile baseline — Captured the
aiden-visual-*profile count before the warm-up so the final assertion now detects cleanup failures from either browser launch.
@v0 or keep the SHA fresh with Dependabot | View workflow run | Using GPT Sol | 𝕏

Summary
Fixes a CI flake in Desktop tests (renderer-other) that hits every branch: the test "an installed browser draws a chart offline into a picture and leaves no profile behind" in
packages/cli/tests/server-visuals.test.mjs.The test now draws one untimed warm-up picture with the same real Chrome before the timed render. No production code changes, the 15 s render limit is unchanged, and there are no retries.
Root cause
On a fresh hosted Linux runner, the first Chrome launch reads the browser from a cold disk. It took about 13.7 s to answer its first command (
Target.createTarget), and the test timed that cold start against its 15 s drawing limit. Warm launches answer in about 170 ms and draw in about 1 s. This was confirmed by tracing on CI run 45356021801. The D-Bus errors in the log are noise: disabling D-Bus and running the file outside the parallel pool were both tried and changed nothing.Failing runs:
Changes
packages/cli/tests/server-visuals.test.mjs: one untimed warm-uprenderServerVisualImagecall (120 s cap) before the profile count and the timed render..memory/inline-generative-ui.md: a short note recording the cause and the warm-up.This is the net test change from 5a14a4c on #906, applied to
mainalone without that branch's experiment reverts. Once merged, it unblocks the renderer-other failures on #906, #907 and #909.Testing
npm run test:clilocally (macOS): 368 tests, 365 pass, 0 fail, 3 skipped (pseudo-terminal tests that need util-linuxscript). The real-Chrome test ran and passed.