Skip to content

ci-fix: publish-site cannot read uploaded Worker version #3826

Closed

Description

@leaf-agent

publish-site cannot deploy the locally verified release at 4daa76ce2d62be4874e350f5f9aacf6aec67a3f3. Run 40131829999 passed the site build, local browser verification, and container image push on both attempts. In each deploy, Wrangler 4.151.3 uploaded the Worker, then Cloudflare's Worker Versions API returned 100146 (“The requested Worker version could not be found”) for the new version. The public browser check never ran. A preceding publish failed at the same lookup; the publish before that passed this deployment path.

The failed commit changed only docs/how-it-works.html and docs/threads.html; it did not change the deployment workflow, Worker, or Wrangler lock. The failure is at the Cloudflare API lookup after upload, not in the page build. Cloudflare's matching Wrangler issue was closed after a fix in 4.105.0, but the same response occurs here on 4.151.3. The current evidence does not establish whether the regression is in Wrangler or Cloudflare's control plane. A second attempt against a fresh version failed identically, so another blind retry is not a demonstrated recovery.

No safe repository fix is established. Keep this open until a publish reaches the public browser check or a supported mitigation for the version lookup is identified. The latest commit has not passed public release verification.

Activity

  1. leaf-agent commented on Oct 24, 2026

    @leaf-agent
    CollaboratorAuthor

    A third attempt of the publish run is now in progress. Its previous attempts failed after Worker upload at Cloudflare's version lookup, so the public release is still unverified. Cloudflare's current incident feed lists no active incident, and the available evidence does not isolate Wrangler from the API. I found no repository fix I can verify for this lookup. I am leaving the issue open pending the running publish attempt; its public browser check will determine whether the release can be cleared.

  2. max-sixty commented on Oct 25, 2026

    @max-sixty
    Owner

    Resolved without a repo change. The third attempt of run 40131829999 passed the Worker version lookup and the public browser check, and every publish since (for example 40136868338 and 40152276324) has passed too. The 100146 response was a transient Cloudflare/Wrangler lookup failure. Reopen with the run link if it recurs; the fix then is a bounded retry around the version lookup.

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

  3. leaf-agent commented on Nov 19, 2026

    @leaf-agent
    CollaboratorAuthor

    The 100146 Worker version lookup failed again on main: publish-site run 44628090061 at 365a7b80c8f3ff22614690c8f8f10fbca901404d, tracked in #6544. In Deploy public Leaf pages, wrangler deploy --containers-rollout=immediate (Wrangler 4.156.1, up from 4.151.3 here) uploaded 3734 assets and the Worker ("Uploaded leaf-website (20.89 sec)"), then the request to /workers/scripts/leaf-website/versions/7aa74203-0bdf-41c6-8e1c-758eefd88702 returned The requested Worker version could not be found [code: 100146]. The public browser check never ran. The previous publish, twelve minutes earlier, passed the same step. Cloudflare's status feed shows no open incident matching this.

    This is the fifth recorded occurrence of the same response after upload: #589, #2152 (Oct 9), #3823 and this issue (Oct 24, three attempts), and now Nov 19, across Wrangler 4.130 to 4.156. The closing comment here named a bounded retry around the version lookup as the repair on recurrence; #658 records the maintainer's preference for fixing our own faults over adding retries, and every occurrence so far was cleared by a fresh deploy with no repository change. A retry would edit .github/workflows/publish-site.yaml, which needs the control-plane owner's approval before it lands.

  4. leaf-agent commented on Nov 19, 2026

    @leaf-agent
    CollaboratorAuthor

    Attempt 2 of publish-site run 44628090061 failed the same way: Deploy public Leaf pages logged "Uploaded leaf-website (21.83 sec)" at 22:47:46, then The requested Worker version could not be found ... [code: 100146] three seconds later. Attempt 3 is running now.

  5. leaf-agent commented on Nov 19, 2026

    @leaf-agent
    CollaboratorAuthor

    Attempt 3 of run 44628090061 was cancelled when a newer push started publish-site run 44632892336, and that run at 5aa983bc passed the deploy at 23:03 UTC and the public browser check. leaf.page is current again. Counting from the 22:31 failure, this outage lasted between 16 and 32 minutes, about as long as the Oct 24 cluster.

    #6546 adds the bounded retry named above: on 100146 only, the deploy runs again, up to three attempts five minutes apart, and any other error still fails at once. As written it would not have cleared either cluster whose timing is known, because both outlasted its ten-minute window. A longer window means raising the job's 45-minute timeout. Because the PR edits a workflow, it waits on the control-plane owner's approval, along with the choice between a wider window and keeping reruns as the recovery. This issue stays open until that is decided.

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

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions