Skip to content

Hosted journey reload fails when Durable Object storage resets #3989

Closed as not planned

Description

@leaf-agent

The hosted journey in publish-site run 40215869358 published revision 2 and displayed the agent's reply, then failed its final triage-board reload. Cloudflare's unsampled Observability records identify an internal Durable Object storage error at that exact request; this is distinct from the earlier reload timeout in #3078 and revision-asset 502 in #3096.

The release was a5f07198d9e9981784856d90bda37b9c952acf73d03ac5f3e160d473b266686f, built from 4f51fe9fe50ad8d418cafcb5e78397b1604387bd. The initial public-release verification passed, including its rollout retries. The subsequent journey's final BrowserEnd.closing check raised RuntimeError: https://leaf.page/examples/triage-board/ did not reload after its agent turn at dev/leaf_dev/commands/journey.py:1034. That assertion checks whether page.reload() returned a successful response; it is not the later presentation timeout.

Cloudflare evidence and remaining diagnosis

Query Workers Observability using worker/README.md, with the UTC window 2026-10-25 17:33:00–17:33:20 and $metadata.level=error. The query returned abr_level=1. At 17:33:14.467–17:33:14.590, records for GET /examples/triage-board/, GET /examples/triage-board/api/state, POST /examples/triage-board/api/event, and the internal blob PUT report:

Internal error in Durable Object storage caused object to be reset; reference = f3nhqlja6c3ch2mh09t2jde8

The document request's trace ID is e501ae746aa73a5da4c672d9b7d22777; the blob PUT's trace is ee808b0c824e7935d0559c02af06c656. The journey's public session reference is 841064305021, accepted event 0fd281e7. Querying that reference over 17:30–17:34 also returned unsampled records, including a read-event response with status 500 at 17:33:14.593.

The underlying storage reset is confirmed; whether it was an isolated platform incident or a reproducible failure in Leaf's storage usage is unresolved. No repository fix or successful same-path rerun has been established. Investigate the session storage operations and subsequent same-path evidence before adding retries or weakening the reload check. The rollout retries earlier in the run resolved and are not the terminal failure.

Cause of a failure tracked in #3988.

Activity

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

    @leaf-agent
    CollaboratorAuthor

    The complete hosted journey now passes against the same deployed release, a5f07198d9e9981784856d90bda37b9c952acf73d03ac5f3e160d473b266686f, without a repository change: the agent published revision 2, its reply appeared, and the final reload presented that revision. Closing this as an observed isolated storage incident; this establishes recovery, not an explanation of Cloudflare's internal fault. No retry or assertion change is justified by the evidence so far.

    The unsampled error records narrow the original failure to the Durable Object's saveBlob RPC at 17:33:14.467 UTC, while uploading a 3,218-byte chunk. The blob PUT and concurrent document/state/event requests then propagated the same reset reference. This was below Leaf's 1 MiB chunk cap. The focused local storage publication test also passed, though its SQLite fixture cannot reproduce a production Cloudflare storage fault.

    Reproduction and recovery evidence
    • Successful live journey: session reference 975407289518, event 3b596581, release a5f07198d9e9981784856d90bda37b9c952acf73d03ac5f3e160d473b266686f; release: passed in 68 s. The final reload followed revision 2 approximately 3 ms after presentation.
    • Command: uv run leaf-dev journey https://leaf.page. The first attempt stopped before activation with APIRequestContext.get: getaddrinfo EAI_AGAIN leaf.page; the successful attempt ran the same journey with Playwright's browser launch configured to use this runner's existing HTTPS proxy. No tracked source was edited.
    • Local check: pnpm exec vitest run --root worker test/storage.test.ts -t 'commits matching records and streamed delivery atomically' — one selected test passed.
    • Cloudflare query: 2026-10-25 17:33:00–17:33:20 UTC, $metadata.level=error, abr_level=1. Original RPC trace: ee808b0c824e7935d0559c02af06c656; storage reset reference: f3nhqlja6c3ch2mh09t2jde8.
    • Cloudflare's unresolved-incidents endpoint returned an empty incident list during this investigation; that does not exclude an isolated storage fault.

    If the storage reset recurs, reopen this issue with its UTC window and reset reference so it can be distinguished from the other reload failures. The workflow report #3988 remains governed by its next passing workflow run.

  3. leaf-agent commented on Oct 26, 2026

    @leaf-agent
    CollaboratorAuthor

    Reopening for a recurrence during activation in publish-site run 40419540774, investigated in #4300. The exact Durable Object serving the terminal HTTP 500 also logged Internal error in Durable Object storage caused object to be reset; reference = 4nf7h8vv261j9unpi0v3a884. This is new evidence against treating the October 25 failure as an isolated event, although it does not establish why Cloudflare storage reset.

    Unsampled operational evidence and reproduction limit

    On October 26, 2026, query Observability for 23:37:59–23:38:02 UTC with $metadata.service=leaf-website, including both cf-worker logs and cf-worker-event records. The query returned 61 records with abr_level=1.

    • At 23:38:00.563, the saveBlob RPC logged Container error: Error: Network connection lost. and a container proxy failure. Trace: f5abd2d33ed001969c83edb928ea4ac2.
    • At 23:38:00.607, GET /examples/triage-board/api/view?revision=1&through_seq=2 returned 500. Trace: 3902705f77a501d9740d6728c06c52f9, ray: a50d4a965c9a4601.
    • At 23:38:00.662, the container alarm logged the internal storage reset above. Trace: f55c791956be553615f76ad530ea5411.
    • Those records name the same Durable Object: 5dabc2fa119736c0e79b9179779c5f344b3290c493c0377ed067c48e9975ede6. Its container placement is 9176afd8-b42b-4c09-2254-d6deab78301c, in EWR.

    The earlier 23:37:41.682 page_fault in #4300 belongs to a different container, in IAD. Its outbound /prepare request logged publication does not name a page in this website release; it is not evidence that the terminal EWR request failed through the same exception. The terminal failure occurred while blob uploads were in progress, but the records above do not prove that a particular upload caused the reset.

    The current Cloudflare status endpoint lists a Workers Cron Triggers incident; that description does not establish an explanation for this storage fault. Local full-stack reproduction is blocked: docker info --format '{{.ServerVersion}}' cannot connect to the Docker daemon. No code, retry policy, or verifier assertion was changed.

    @max-sixty, this needs account-owner investigation with Cloudflare using reset reference 4nf7h8vv261j9unpi0v3a884: determine whether the repeated internal storage resets are a platform fault or a reproducible consequence of Leaf's storage usage before choosing a repository repair.

  4. max-sixty commented on Nov 5, 2026

    @max-sixty
    Owner

    Closing until it recurs, when Tend's pipeline files it again. A Cloudflare Durable Object storage reset seen twice (Oct 25, Oct 26) and quiet since. Leaf has no fix to make from this evidence, and two events don't justify the standing ask that Max open a Cloudflare support case.

    Reopen when: Another 'Internal error in Durable Object storage caused object to be reset' fails a publish run. Then take the reset references to Cloudflare support.

    This was written by Claude Code on behalf of max-sixty

  5. added
    postponed
    on Nov 5, 2026
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

    postponedtend-ci-cause

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions