Skip to content

chore(ci): install only Chromium for benchmark smoke - #38

Merged
chh-ay merged 1 commit into
developfrom
chore/ci-chromium-only-benchmark-smoke
Jul 26, 2026
Merged

chore(ci): install only Chromium for benchmark smoke#38
chh-ay merged 1 commit into
developfrom
chore/ci-chromium-only-benchmark-smoke

Conversation

@chh-ay

@chh-ay chh-ay commented Jul 26, 2026

Copy link
Copy Markdown
Owner

Problem

unit-coverage installed Chromium, Firefox, WebKit, and all three engines' system dependencies on every run through browser:install. None of that job's consumers launches Firefox or WebKit.

bench:verify shells out to render-driver.ts --smoke; render-driver.ts imports and launches only chromium. The other browser-adjacent unit target, test/browser/canvas-assertions.test.ts, does not launch Playwright. The dedicated browser-smoke job remains unchanged and continues installing/running the full Chromium + Firefox + WebKit matrix.

Change

Use the existing browser:install:chromium script in unit-coverage. Add a workflow contract that asserts the unit job contains the Chromium-only command and does not contain the bare full-browser command. It tests behavior, not the step's display name.

Verification

  • bun test scripts/workflow-contract.test.ts — 7 pass, 0 fail
  • bun run test:tooling — 134 pass, 0 fail
  • bun run typecheck — all workspace nodes exit 0
  • bun run lint — no errors; one pre-existing 2 MiB corpus warning
  • bun run --filter '@sheetwrite/bench' bench:verify — smoke and safety checks passed
  • bun run changeset:ci — passed; empty changeset, no package bump

No browser test matrix, runtime source, package script, or release behavior changes.

The unit-coverage job launches Chromium through bench:verify but installed
Firefox and WebKit plus their system dependencies on every run. Use the
existing Chromium-only installer there; the dedicated browser-smoke job
continues to install and exercise all three engines.

Contract the command rather than the step label so harmless presentation
renames do not break the test.
@vercel

vercel Bot commented Jul 26, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sheetwrite Ready Ready Preview, Comment Jul 26, 2026 1:44pm

@chh-ay
chh-ay merged commit 6766836 into develop Jul 26, 2026
11 checks passed
@chh-ay
chh-ay deleted the chore/ci-chromium-only-benchmark-smoke branch July 26, 2026 13:52
@chh-ay chh-ay mentioned this pull request Jul 26, 2026
36 tasks
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