Skip to content

ci(e2e): run the journeys daily on worker-cf, table them in the parity matrix, register the tooling - #141

Merged
aRustyDev merged 1 commit into
mainfrom
ci/e2e-schedule-and-parity-table
Nov 12, 2026
Merged

aRustyDev merged 1 commit into
mainfrom
ci/e2e-schedule-and-parity-table

Conversation

@aRustyDev

@aRustyDev aRustyDev commented Nov 12, 2026 •

Copy link
Copy Markdown
Owner

Fixes #45. The third of three PRs (#137, #140); it closes what the issue's acceptance criteria still owed. #44 is untouched.

What this does

  • .github/workflows/e2e-schedule.yml runs the worker-cf e2e cell through contract-cell.yml every day (04:41 UTC) and by hand. ci.yml already runs that cell on a pull request, but a change to web/ alone does not (classify-changes.sh keeps web/ out of rust, G-30 gap 2), and a runner, browser or package can drift with no change of ours. It is not a gate: nothing waits for it. It also runs on a pull request that edits the file, because a reusable workflow called with the wrong permissions fails at startup and only a run can show it.
  • TRACEABILITY's parity matrix gets a table: one row per journey with the screens it covers, its spec, where it passes (the pinned Plane, worker-cf) and its HAR. M1's row is filled; the six M2 screens are rows "to be written with feat(compat): the M2 daily-use screens (acceptance list) with every other route stubbed and recorded #46". F-X13 and R-F7 point at it. No placeholder is left.
  • ADR-0006's register gets a row for the Playwright journeys and the tooling around them (e2e/, tools/e2e-plane/, tools/e2e-har/): permanent test tooling, never imported by a product crate, not machine-checked.
  • cicd.md, app-and-e2e.md, G-30, G-31 and the PLAN row say what the schedule does and does not do.

Acceptance criteria of #45, and the evidence

Criterion Evidence
scripts/e2e.sh plane-oracle and worker-cf both pass the M1 journey; the script exits non-zero when the passed count differs from the journey count worker-cf: the worker-cf e2e cell, green on #137 and #140 (passed 1 of 1). Plane: local, #140 (passed 1 of 1, empty allowlist). The count guard: check-report.mjs on eight synthetic reports, and the skip control, which exits 0 and is refused (#137)
Control: S47 returns an empty list, the journey fails at "see it in the list" #137: browser-side, in every cell, failing at see it in the list: (and CONTROL INERT if it emptied nothing); once by hand server-side (S47 returning no rows in a Worker, not committed): the same words. Recorded in G-31
Control: worker-cf with its base URL at the oracle fails the target guard Both directions: a Plane-expecting guard refuses a Worker (#137, in CI), and a Thrust-expecting guard refuses the oracle, whose /_info is the app's index page (#140, local). Both fail with TARGET GUARD (...)
TRACEABILITY's parity matrix has no placeholder, and names each journey and its screen this PR (grep -c '_TBD_' is 0)
A HAR per journey from the oracle run is committed, and spike 0009 records its path #140: e2e/har/m1-sign-up-to-work-item.plane.har (90 entries, 366 KB, scrubbed, checked by a second script); spike 0009's Result section names it
A scheduled CI workflow runs the suite against worker-cf this PR. Its own pull_request-triggered run, 43260231048: the job e2e / worker-cf e2e succeeded with every step run (the only skip is the oracle-only uv install), the journey passed (passed 1 of 1), all four controls fired, VERDICT: PASS. That proves the call and its permissions are valid and the cell runs from this workflow. The first run by the schedule itself is at 04:41 UTC, which is not yet seen; after merge I will also dispatch it once by hand

Said plainly

🤖 Generated with Claude Code

…y matrix, register the tooling

The third PR for #45.

- .github/workflows/e2e-schedule.yml runs the worker-cf e2e cell through
  contract-cell.yml every day and by hand. ci.yml already runs that cell on
  a pull request, but a change to web/ alone does not (classify-changes.sh
  keeps web/ out of rust, G-30 gap 2), and a runner, browser or package can
  drift with no change of ours. It is not a gate. It also runs on a pull
  request that edits the file, because a reusable workflow called with the
  wrong permissions fails at startup and only a run can show it.
- TRACEABILITY's parity matrix gets a table: one row per journey with the
  screens it covers, its spec, where it passes (the pinned Plane, worker-cf)
  and its HAR. M1's row is filled; the six M2 screens are rows planned with
  #46. F-X13 and R-F7 point at it. No placeholder is left.
- ADR-0006's register of non-Rust pieces gets a row for the Playwright
  journeys and the tooling around them (e2e/, tools/e2e-plane/,
  tools/e2e-har/): permanent test tooling, never imported by a product
  crate, and not machine-checked.
- cicd.md, app-and-e2e.md, G-30 and G-31 and the PLAN row say what the
  schedule does and does not do: it narrows G-30 gap 2 (a web/-only change is
  found the next morning, not on its pull request) and gates nothing.

Refs: #45
Co-Authored-By: Claude Sonnet 5.5 <[email protected]>
@aRustyDev
aRustyDev merged commit 8ca9a49 into main Nov 12, 2026
36 checks passed
@aRustyDev
aRustyDev deleted the ci/e2e-schedule-and-parity-table branch November 12, 2026 17:04
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.

test(e2e): Playwright journey suite on the stock React app as the UI oracle

1 participant