Skip to content

Keep Bloom's log and collection when an e2e test fails, and harden two new tests - #8343

Merged
andrew-polk merged 1 commit into
masterfrom
nightly-e2e-hardening
Sep 10, 2026
Merged

Keep Bloom's log and collection when an e2e test fails, and harden two new tests#8343
andrew-polk merged 1 commit into
masterfrom
nightly-e2e-hardening

Conversation

@andrew-polk

@andrew-polk andrew-polk commented Sep 10, 2026

Copy link
Copy Markdown
Contributor

Problem. The nightly BloomE2E run has been red every night since 4 September. The recurring failures were fixed on 9 September, but the 10 September run brought four new ones. Two are ordinary timing flakes in tests added on 8 September: reading user.config while Bloom held it open (EBUSY), and a click on the font chooser's information icon that timed out because the popover kept re-rendering. The other two are a problem nobody can yet explain: a title typed on a new book's cover never reaches the collection, so the test cannot find its book. That has now hit three different specs on three nights and has never reproduced on a developer machine. All the nightly leaves behind is Playwright's trace and a screenshot, which show what the test saw but not what Bloom saved.

What the PR does.

  • When a test fails, the fixture now keeps Bloom's Log.txt and a copy of the collection folder as Bloom left it, in the test-results folder the nightly already uploads. The next lost-title failure will show whether the title is in the book's HTML on disk or was never saved. The user-settings folder is deliberately not kept: the artifact is public and user.config holds a real Bloom Library login after the sign-in tests.
  • The user-settings reader retries a busy user.config for a few seconds instead of throwing.
  • The font chooser's information-icon click is retried against the current element instead of waiting thirty seconds on one that keeps detaching.

Devin review


This change is Reviewable

…o new tests

A failed test now leaves Bloom's Log.txt and a copy of its collection folder
in test-results, which the nightly already uploads. Three nightly failures
since 5 September lost a cover title that the test saw typed; the book's
HTML on disk will say which side lost it. The user-settings folder is not
kept: the artifact is public and user.config holds a real Bloom Library
login.

user-settings-isolation read user.config while Bloom held it (EBUSY on the
runner); the reader now retries a busy file. The font chooser's information
icon re-renders under the mouse (unstable, then detached, for a whole click
attempt); the click is now retried against the icon as it currently is.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@andrew-polk

Copy link
Copy Markdown
Contributor Author

[Claude Fable 5.1] Consulted Devin on 2026-09-10 21:49 UTC up to commit 2ec42e15d07b4df84b9817841acc64b80a9b4b08. Review complete: no bugs, no investigate flags, no informational flags. CI (pr-automation) passed.

@andrew-polk
andrew-polk marked this pull request as ready for review September 10, 2026 22:01
@andrew-polk
andrew-polk merged commit a8659ea into master Sep 10, 2026
1 of 2 checks passed
@andrew-polk
andrew-polk deleted the nightly-e2e-hardening branch September 10, 2026 22:03
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