Skip to content

fix(platform): repair main's Format, Browser and E2E checks - #4949

Merged
yannickmonney merged 4 commits into
mainfrom
fix/main-format-and-home-contrast-race
Oct 13, 2026
Merged

yannickmonney merged 4 commits into
mainfrom
fix/main-format-and-home-contrast-race

Conversation

@yannickmonney

@yannickmonney yannickmonney commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Main's push CI went red after the batch of direct merges on 2026-10-13, and the v0.5.89 candidate's gate with it. Four causes, one commit each:

  • Format: the hand-merged draft-etag change in skill-detail-pane.tsx left the body textarea's onChange on three lines; oxfmt keeps it on one. Whitespace only.
  • Browser, Home row ages (the test from fix(platform): measure Home row contrast and repair the selected row #4522): it judged colours 200 ms of wall clock after render, but the list fades in as a whole and rows ease between hover states, and axe reads the opacity of every ancestor. On a slow runner it measured mid-fade (4.44:1 against the 4.5 floor), in a different case each run. It now waits for the page's animations to finish first, as the other contrast browser tests do.
  • Browser, canvas playback (the test from feat(platform): try the draft and show test runs on the canvas #4815): toBeVisible() on the Run timeline bar was a single assertion inside the chart's fade-in, and opacity 0 counts as not visible. It now retries. CI keeps no failure screenshot for this one, so the cause is inferred from the failure message and reproduced by holding the fade at its first frame.
  • E2E, automations (from feat(platform): show trigger readiness beside the live version #4924): the new Trigger column moved the version-count link under the middle of the row, so the spec's click on the row opened /versions and waited 30 s for /editor. The spec now clicks the slug under the name, plain text in the row. Failed in the candidate's E2E round and in this PR's first merge group; reproduced against the real stack (same timeout, ends on the Versions tab).

Verified: with the list fade stretched to 1500 ms the old Home test fails at 1280px / #000000 and the new one passes all twelve cases. With the playback fade held at opacity 0 the old assertion fails with CI's message and the retried one passes. Both browser files pass as committed (59 tests); oxlint is clean on the touched files.

Not verified locally: the fixed E2E spec (the merge group's Playwright shard is its proof) and the full bun run check (the merge group runs it).

The first merge group also failed once on sandboxes-settings.stop-task.test.tsx (fr, "renders app-503 as a failure…": the menu item was not found within the default 1 s). It passes locally three times out of three, so it is not part of this change.

The draft-etag merge left the body textarea's onChange on three lines;
oxfmt keeps it on one, so the Format check failed on main.
axe reads the opacity of every ancestor; the test read the age's own.
The list fades in as a whole over 200 ms and rows ease between hover
states, so a slow runner measured the page mid-fade: ages came out at
4.44:1 against the 4.5 floor on main's Browser check, in a different
case each run.

Wait for the page's animations to finish before any colour is judged,
as the other contrast browser tests do. With the list fade stretched to
1500 ms the old test fails at 1280px / #000000; the new one passes all
twelve cases.
The chart fades in from nothing, toolbar included, and jest-dom calls
opacity 0 not visible. A single assertion on a loaded runner can land on
the fade's first frame: main's Browser check failed on it once.

With the fade held at its first frame the old assertion fails with that
message; retrying it passes.
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 13, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 13, 2026
The row's middle used to be plain text. The Trigger column moved a link
there: the version count opens the history, so Playwright's click on the
middle of the row landed on /versions and the spec waited 30 s for
/editor, on every attempt. It failed the v0.5.89 candidate's E2E round
and the merge group's.

Click the slug under the name instead. It is plain text in the row, so
the row's own click opens the editor whatever columns sit beside it.

Reproduced against the real stack (same timeout, ends on the Versions
tab). The fixed spec was not rerun locally; the Playwright shard in CI
is its proof.
@yannickmonney yannickmonney changed the title fix(platform): repair main's Format and Browser checks fix(platform): repair main's Format, Browser and E2E checks Oct 13, 2026
@yannickmonney
yannickmonney added this pull request to the merge queue Oct 13, 2026
@yannickmonney
yannickmonney removed this pull request from the merge queue due to a manual request Oct 13, 2026
@yannickmonney
yannickmonney merged commit 6f1cc26 into main Oct 13, 2026
@yannickmonney
yannickmonney deleted the fix/main-format-and-home-contrast-race branch October 13, 2026 16:31
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