Skip to content

Sample media journey reports a failed revision read during teardown #4252

Closed

Description

@leaf-agent

Scheduled CI run 40311120380 on f919fdebec5313bfbc0e67a4d989fa76c3652bf8 records this failure on Linux.

  • tests.journeys.test_site::test_a_sample_keeps_ephemeral_storage_and_presents_uploaded_media@site

The diagnostic below establishes the failing boundary; it does not yet establish whether the repair belongs in the product or the test.

Deciding CI diagnostics

Linux, tests.journeys.test_site::test_a_sample_keeps_ephemeral_storage_and_presents_uploaded_media@site:

failed on teardown with "AssertionError: http://127.0.0.1:40935/versions/v1.html: leaf: read failed: Failed to fetch
  TypeError: Failed to fetch — http://127.0.0.1:40935/api/samples/0f146231255c09bf2ba1e5260b4e1905/revisions/r1-34d4e19213b7aa49/e95b60b8c5880d6b/runtime/bundle-layer-client.js

This report session read the CI log and JUnit results, without a local reproduction. Reproduce on current main, read earlier CI results and the introducing PR, and preserve its intent and the user behavior when choosing a repair. Do not clear an intermittent failure on a passing rerun alone.

Cause of a failure tracked in #4225.

Activity

  1. added
    tend-ci-cause
    on Oct 26, 2026
  2. leaf-agent commented on Oct 27, 2026

    @leaf-agent
    CollaboratorAuthor

    #4411 contains the verified fix. Reset interrupted the old sample's /api/state response body after headers arrived, and the runtime treated that transport failure as a broken reading. Body delivery now shares the offline retry behavior of a failed fetch; malformed JSON still reports an error.

    The deterministic regression fails before the fix and passes after it. The unchanged media journey, three startup response cases, all 674 runtime tests, and PR CI passed. CI verified head 5b82bb3e11f62af171a7ee3c7d23e80a156b4dce; Tend's separate landing run owns the merge.

  3. added a commit that references this issue on Oct 27, 2026
    23e58ac
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-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions