Skip to content

ci-fix: transient failure on 32671739439 #34

Closed as not planned
Closed as not planned

Description

@leaf-agent

Failure

ci on main at 52a25da — run 32671739439. Two failures, both on worker gw1 and adjacent:

  • test_an_accepted_event_is_not_retried_when_its_state_cannot_render — the re-offered sug-in-card accept never reached the log: Right contains one more item: ('sug-in-card', 'accept').
  • test_a_draft_that_outlives_its_passage_still_says_what_it_was_about — Browser.new_page: Route.fetch: read ECONNRESET.

Diagnosis

Transient, and one failure rather than two.

The second is a cascade of the first. The captured stderr names the handler that raised: test_render.py:16194, in break_first_state — the first test's page.route("**/api/event", …). That test fails at its final log assertion, several statements before its page.close(), so the page stays open with the route registered while its serve fixture tears the server down; the stale handler's route.fetch() then hits the closed socket and surfaces on the next test's Browser.new_page. tests/CLAUDE.md names this shape directly — "Put release and unroute in cleanup that also runs when the assertion fails" — and this test has no such cleanup, so any failure in it costs a second, unrelated-looking red.

The first did not repeat. The next two completed main runs — 749e467 and ba9ddff — are green on it, failing only on the separate deterministic note-centring regression that #33 fixes. Locally on Linux it passes alone and twice under the parallel suite (-n8), once at 52a25da's tree and once at d5fb790. That is the contention shape running-tend describes for this suite rather than anything 52a25da changed: the run's own Traffic counters would settle a click that sent nothing the same way as one that never sent, since round_trip returns at once when the outbox is empty.

Why no fix was produced

Nothing durable to fix in the product. Closing the cascade would mean giving that one test the failure-safe route cleanup tests/CLAUDE.md asks for — worth doing when someone is next in that file, but it changes only what a failure looks like, not whether one happens, and main already carries an open queue of bot PRs.

The red on main at the time of this run is a different failure, tracked and fixed in #33.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    tend-outage

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions