René's URL Explorer Experiment


Title: bug: Cloud deploy fails at registry push with anonymous-token 401 on v4.4.5 and v4.4.6 · Issue #3732 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: bug: Cloud deploy fails at registry push with anonymous-token 401 on v4.4.5 and v4.4.6 · Issue #3732 · triggerdotdev/trigger.dev

X Title: bug: Cloud deploy fails at registry push with anonymous-token 401 on v4.4.5 and v4.4.6 · Issue #3732 · triggerdotdev/trigger.dev

Description: Summary trigger.dev deploy to Trigger.dev Cloud fails at the final image-push step with a 401 from registry.depot.dev. The build itself succeeds end-to-end; only the push falls through to an "anonymous token" request which Depot rejects....

Open Graph Description: Summary trigger.dev deploy to Trigger.dev Cloud fails at the final image-push step with a 401 from registry.depot.dev. The build itself succeeds end-to-end; only the push falls through to an "anony...

X Description: Summary trigger.dev deploy to Trigger.dev Cloud fails at the final image-push step with a 401 from registry.depot.dev. The build itself succeeds end-to-end; only the push falls through to an "...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/3732

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"bug: Cloud deploy fails at registry push with anonymous-token 401 on v4.4.5 and v4.4.6","articleBody":"## Summary\n\n`trigger.dev deploy` to Trigger.dev Cloud fails at the final image-push step with a 401 from `registry.depot.dev`. The build itself succeeds end-to-end; only the push falls through to an \"anonymous token\" request which Depot rejects.\n\nReproduced identically on CLI **v4.4.5** and **v4.4.6**, across multiple consecutive deploys. Local environment is clean (details below), so this looks server-side — the per-build Depot token minted by the webapp appears to lack registry-push scope, or is being stubbed.\n\n## Error\n\n```\n#28 ERROR: failed to push registry.depot.dev/0tz24lsnjm:TAG: failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized\n------\n > exporting to image:\n------\nError: failed to solve: failed to push registry.depot.dev/0tz24lsnjm:TAG: failed to authorize: failed to fetch anonymous token: unexpected status: 401 Unauthorized\n```\n\n(Image tag redacted as `TAG`; original was an opaque hex string.)\n\n## Reproduction\n\n```\nnpx trigger.dev@4.4.6 deploy\n# also failed identically with:\nnpx trigger.dev@4.4.5 deploy --skip-update-check\n```\n\nBuild succeeds through `#27 [final 3/3] COPY --from=indexer ...`. Failure begins at `#28 exporting to image → pushing layers` for `registry.depot.dev/0tz24lsnjm:TAG`.\n\n## Environment\n\n- CLI: **v4.4.5 and v4.4.6**, both fail identically\n- `@trigger.dev/sdk`, `@trigger.dev/build`, `@trigger.dev/python`: 4.4.6\n- OS: Windows 11, Node (via `npx`)\n- Cloud target: `https://api.trigger.dev` (not self-hosted)\n\n## Locally cleared\n\n- `whoami` returns the correct account and project (URL `https://api.trigger.dev`)\n- Project ref in `trigger.config.ts` matches the dashboard\n- `trigger.config.ts` is vanilla — no `build.image`, no `selfHosted`, no custom registry\n- No local `depot` CLI installed\n- No `DEPOT_TOKEN`, no `~/.depot/config.json`\n- No `DEPOT_*` or `TRIGGER_*` env vars set in the shell\n\nThe CLI has no input path that controls the Depot push credential for Cloud builds — those are minted server-side per `remoteImageBuilder.server.ts → createRemoteImageBuild`.\n\n## Identifying info\n\n- Org: **BD Online Ventures LLC**\n- Project ref: `proj_ohzzrjqadpcnxvizsrig`\n- Internal project ID: `cmphw1f1z078yon0hrgmdvi0t`\n- Failing deployment: `deployment_qwkvcpchx2zu4b76x7u1f` (others in same session, all same symptom)\n- Depot org from error: `0tz24lsnjm`\n\n## Hypotheses (from reading the source)\n\nReading `packages/cli-v3/src/deploy/buildImage.ts` and `apps/webapp/app/v3/remoteImageBuilder.server.ts`:\n\n1. **Build token has build-scope but not registry-push scope.** Build machine launches successfully (`[depot] launching amd64 machine` works → token is valid), but push at `#28` falls through to anonymous → 401. This signature suggests scope, not validity.\n2. **`externalBuildData` stubbed to `{buildToken: \"-\", buildId: \"-\", projectId: \"-\"}`.** The webapp returns these sentinels when `initialStatus === \"PENDING\"`, `isNativeBuild`, or `isLocalBuild` is true in the deployment-create payload. Less likely given the machine launches, but worth confirming on the server side.\n3. **Token expiry between machine launch and push.** Less likely given the build completes in seconds.\n\n## Ask\n\nCould someone with backend access inspect the `createRemoteImageBuild` call for project `proj_ohzzrjqadpcnxvizsrig` and confirm whether the minted build token has registry-push scope on Depot org `0tz24lsnjm`?\n\nHappy to share full build logs / debug-level CLI output via DM if useful — omitted here since the build content is project-specific.\n","author":{"url":"https://github.com/brianmdevine","@type":"Person","name":"brianmdevine"},"datePublished":"2026-05-23T15:34:02Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/3732"}

react-profiling0
react-import-mapreact,react-dom,react-dom/client,react-dom/profiling,react-is,react-reconciler,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@d5750093facf
route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:b9c57c23-ad63-9a33-39c9-ba9353aa09cd
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id8BB4:F0723:3FFF8BB:5704968:6AFAEE77
html-safe-nonce6bf453622442c27c621ebc69e3cba10dc692098b4554a0c65cb5d6b604eb72e4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QkI0OkYwNzIzOjNGRkY4QkI6NTcwNDk2ODo2QUZBRUU3NyIsInZpc2l0b3JfaWQiOiI3MDgyODc1NjM5OTg4ODM0NDciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmacc6613fc443b282f801720c660d77108988bcb14c8ba19e95a3295466eda7f9c6
hovercard-subject-tagissue:4508724392
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/3732/issue_layout
twitter:imagehttps://opengraph.githubassets.com/bd374db9a6113d8ac47dbd7020208a02e2643380a12125c53e394f9a3d99b633/triggerdotdev/trigger.dev/issues/3732
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/bd374db9a6113d8ac47dbd7020208a02e2643380a12125c53e394f9a3d99b633/triggerdotdev/trigger.dev/issues/3732
og:image:altSummary trigger.dev deploy to Trigger.dev Cloud fails at the final image-push step with a 401 from registry.depot.dev. The build itself succeeds end-to-end; only the push falls through to an "anony...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamebrianmdevine
hostnamegithub.com
expected-hostnamegithub.com
None0178036d8230524a18422872393ab7e708443ae4c2047f758560a2db870c1913
turbo-cache-controlno-preview
go-importgithub.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git
octolytics-dimension-user_id95297378
octolytics-dimension-user_logintriggerdotdev
octolytics-dimension-repository_id572570113
octolytics-dimension-repository_nwotriggerdotdev/trigger.dev
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id572570113
octolytics-dimension-repository_network_root_nwotriggerdotdev/trigger.dev
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release12fff95459b24b0f882a66698ee6a36a5934d247
ui-targetfull
theme-color#1e2327
color-schemelight dark
react-app-nameissues

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/issues/3732#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F3732
GitHubRepository hosting, code review, and collaborationhttps://github.com/platform
CopilotAI coding agent for tasks, projects, and automated workhttps://github.com/features/copilot
ActionsCI/CD and automationhttps://github.com/features/actions
Code QualityQuality analysis, fixes, and enforcementhttps://github.com/features/code-quality
CodespacesCloud development environmentshttps://github.com/features/codespaces
Code SecurityVulnerability detection and remediationhttps://github.com/security/advanced-security/code-security
Secret ProtectionSecret scanning and leak preventionhttps://github.com/security/advanced-security/secret-protection
All Featureshttps://github.com/features
Documentationhttps://docs.github.com/en
Traininghttps://learn.github.com/skills
Certificationshttps://learn.github.com/credentials
Build with Copilothttps://github.com/features/ai
Customize Copilothttps://docs.github.com/en/copilot/how-tos/copilot-on-github/customize-copilot/customize-copilot-overview
Integrationshttps://github.com/marketplace
Trending reposhttps://github.com/trending
GitHub Sponsorshttps://github.com/open-source/sponsors
Developer articleshttps://github.com/resources/articles
ChangelogYour source for the latest features, improvements, and fixes across GitHub products, all in one place.https://github.blog/changelog/
Enterpriseshttps://github.com/enterprise
Teamhttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
See all industrieshttps://github.com/solutions/industry
Why GitHubhttps://github.com/why-github
Customer Storieshttps://github.com/customer-stories
Business insightshttps://github.com/solutions/executive-insights
Trust Centerhttps://github.com/trust-center
GitHub Advanced SecurityEnterprise-grade code securityhttps://github.com/security/advanced-security
Copilot for businessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Documentationhttps://docs.github.com/en
Resource centerhttps://github.com/resources
Bloghttps://github.blog/
Events & webinarshttps://github.com/resources/events
Community Forumhttps://github.com/orgs/community/discussions
Customer Storieshttps://github.com/customer-stories
Integrationshttps://github.com/marketplace
Customer supporthttps://help.github.com/
Traininghttps://learn.github.com/skills
GitHub Statushttps://www.githubstatus.com/
Abouthttps://github.com/about
Partnershttps://github.com/partners
Changeloghttps://github.blog/changelog/
GitHub UniverseThe event for developers, by developers — talks, workshops, and what’s next for GitHub.https://githubuniverse.com/
Pricinghttps://github.com/pricing
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2F3732
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/3732
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/3732
Reloadhttps://github.com/triggerdotdev/trigger.dev/issues/3732
triggerdotdevhttps://github.com/triggerdotdev
trigger.devhttps://github.com/triggerdotdev/trigger.dev
Codehttps://github.com/triggerdotdev/trigger.dev
Issues203 (203)https://github.com/triggerdotdev/trigger.dev/issues
Pull requests67 (67)https://github.com/triggerdotdev/trigger.dev/pulls
Discussionshttps://github.com/triggerdotdev/trigger.dev/discussions
Actionshttps://github.com/triggerdotdev/trigger.dev/actions
Projectshttps://github.com/triggerdotdev/trigger.dev/projects
Security and quality39 (39)https://github.com/triggerdotdev/trigger.dev/security
Insightshttps://github.com/triggerdotdev/trigger.dev/pulse
https://github.com/triggerdotdev/trigger.dev
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/3732
New issuehttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/3732
bug: Cloud deploy fails at registry push with anonymous-token 401 on v4.4.5 and v4.4.6https://github.com/triggerdotdev/trigger.dev/issues/3732#top
https://github.com/brianmdevine
brianmdevinehttps://github.com/brianmdevine
on May 23, 2026https://github.com/triggerdotdev/trigger.dev/issues/3732#issue-4508724392
https://github.com/matt-aitken
matt-aitkenhttps://github.com/matt-aitken
on May 23, 2026https://github.com/triggerdotdev/trigger.dev/issues/3732#issuecomment-4525823527
@brianmdevinehttps://github.com/brianmdevine
https://trigger.dev/changelog/deployments-with-native-buildshttps://trigger.dev/changelog/deployments-with-native-builds
matt-aitkenhttps://github.com/matt-aitken
completedhttps://github.com/triggerdotdev/trigger.dev/issues?q=is%3Aissue%20state%3Aclosed%20archived%3Afalse%20reason%3Acompleted
on May 23, 2026https://github.com/triggerdotdev/trigger.dev/issues/3732#event-25885285097
Sign up for freehttps://github.com/signup?return_to=https://github.com/triggerdotdev/trigger.dev/issues/3732
Sign in to commenthttps://github.com/login?return_to=https://github.com/triggerdotdev/trigger.dev/issues/3732
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.