Skip to content

Fixes to #845: e2e caches its browsers and gets 40 minutes; main's runs never replace each other - #852

Merged
irparent merged 2 commits into
mainfrom
ci/e2e-browser-cache
Oct 5, 2026
Merged

irparent merged 2 commits into
mainfrom
ci/e2e-browser-cache

Conversation

@irparent

@irparent irparent commented Oct 5, 2026 •

Copy link
Copy Markdown
Member

What changes

Two corrections to #845, each found on its first day in use.

e2e and the browser download. The 20-minute limit every CI job gained in #845 cancelled e2e on #848, and on main's run for #845 itself, while its tests were passing. The cause was the browser download: npx playwright install took 976 s against about a minute normally. That's Playwright's download server, not the change.

  • The Playwright browsers are cached per Playwright version (the version is read from @playwright/test and is part of the cache key), so most runs download nothing.
  • e2e, the one job that depends on someone else's server for a large download, gets 40 minutes; every other job keeps 20. Its p95 over 21 recent runs was 5.9 minutes.

Main's runs replacing each other. #845 gave five workflows one concurrency group per pull request. On main the group was the branch, so a merge queued behind a running one replaced the merge queued before it, and two of main's commits on 10-05 never got their CI run. A pull request keeps its group, and a new push still cancels the run it replaces. Every other run (a push to main, a tag, a schedule) is now grouped by its own run id, so none is replaced.

Tests

  • actionlint (the pinned image CI uses) passes on every workflow; preflight-mirrors-ci and workflows-build-order pass.
  • The version lookup prints 1.63.0 on this checkout.
  • npm run preflight passed on this commit.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

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

1 Skipped Deployment
Project Deployment Actions Updated
website Ignored Ignored Preview Oct 5, 2026 11:38pm UTC

@github-actions

github-actions Bot commented Oct 5, 2026 •

Copy link
Copy Markdown

Iris gate — 1 of 2 tripped --fail-on detector_veto

iris-eval ingest: 3 stored, 1 tripped --fail-on detector_veto (2 of 3 evaluated in dataset "release-gate")

Trace Verdict Basis Rules, classes or missing inputs Evidence
08f901b2502e4a7584b64ac265530905 failed detector_veto + risk_over_loss no_pii, pii_leak, credential_leak no_pii: AWS Access Key (output 45–65)
Verdict basis Traces
detector_veto 2
clean 1

Unjudged questions: task_completed (3), tool_use_correct (3) — a trace that did not carry what a rule needs.

tests/fixtures/ci-gate/traces.ndjson · 3 evaluated · dataset release-gate: 2 in the gate · exit 1 · what the bases mean

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

Iris gate — 1 stored, nothing tripped --fail-on any

iris-eval ingest: 1 stored, 0 tripped --fail-on any

Verdict basis Traces
clean 1

Unjudged questions: task_completed (1), tool_use_correct (1) — a trace that did not carry what a rule needs.

tests/fixtures/ci-gate/clean.ndjson · 1 evaluated · exit 0 · what the bases mean

@irparent irparent changed the title e2e caches the Playwright browsers and gets 40 minutes Fixes to #845: e2e caches its browsers and gets 40 minutes; main's runs never replace each other Oct 5, 2026
irparent and others added 2 commits October 5, 2026 16:37
The 20-minute limit every job gained in #845 cancelled e2e on a pull
request whose tests were passing: the browser download took 976 s against
about a minute normally (Playwright's download server, not the change).
The browsers are now cached per Playwright version, so most runs download
nothing, and e2e, the one job that depends on someone else's server for a
large download, gets 40 minutes; every other job keeps 20.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…its own

#845 gave ci, claims-alignment, codeql, lighthouse and publish-python one
concurrency group per pull request, cancelling a run its PR replaced. On
main the group was the branch, so a merge queued behind a running one
replaced the merge queued before it: two of main's commits on 10-05 never
got their CI run. A pull request keeps its group; every other run (a push
to main, a tag, a schedule) is grouped by its own run id, so none is
replaced.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@irparent
irparent force-pushed the ci/e2e-browser-cache branch from 8c5e678 to aecf930 Compare October 5, 2026 23:38
@irparent
irparent merged commit a124a27 into main Oct 5, 2026
74 checks passed
@irparent
irparent deleted the ci/e2e-browser-cache branch October 5, 2026 23:47
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