René's URL Explorer Experiment


Title: feat(cli): server-selected deploy build path by myftija · Pull Request #4803 · triggerdotdev/trigger.dev · GitHub

Open Graph Title: feat(cli): server-selected deploy build path by myftija · Pull Request #4803 · triggerdotdev/trigger.dev

X Title: feat(cli): server-selected deploy build path by myftija · Pull Request #4803 · triggerdotdev/trigger.dev

Description: The CLI now asks the server which build path to use before it builds or uploads anything, so native builds can be rolled out per organization and per environment type without a CLI release. trigger.dev deploy │ ├─ explicit flag? (--native-build / --local-build / --depot-build) │ └─ yes → use it, never ask the server │ └─ GET /api/v1/projects/:ref/:env/deploy-settings (env API key, 5s timeout, one attempt) │ │ server resolves: native unavailable → org[env type] → org → global[env type] → global → depot │ ├─ { "build_path": "native" | "native_local_bundle" } → that path ├─ { "build_path": "depot" } → Depot └─ error / timeout / 404 → Depot (fail open) The path comes from four enum feature flags, editable in the global and per-org admin flag UIs: deployBuildPath and deployBuildPathPreview / Staging / Production. Unset everywhere keeps current behaviour unchanged; CLIs older than this release never call the endpoint and keep their current behaviour.

Open Graph Description: The CLI now asks the server which build path to use before it builds or uploads anything, so native builds can be rolled out per organization and per environment type without a CLI release. trigger...

X Description: The CLI now asks the server which build path to use before it builds or uploads anything, so native builds can be rolled out per organization and per environment type without a CLI release. trigger...

Opengraph URL: https://github.com/triggerdotdev/trigger.dev/pull/4803

X: @github

direct link

Domain: github.com

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/:user_id/:repository/pull/:id/files(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:8fe5abc1-149f-6e1b-0561-c3fa9295306d
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDF00:53811:3853D9:504D2A:6AFB007D
html-safe-nonced3f0257f20d1d0f7fc43a62d270500dd4196a5d194c30f788a82518735b7c43f
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjAwOjUzODExOjM4NTNEOTo1MDREMkE6NkFGQjAwN0QiLCJ2aXNpdG9yX2lkIjoiNzU1MDk4MDQxMTQ1OTU2Nzc0MSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac336d81970995440eef5c47843c82e4a248eda2ae450e3e0626e1835ad3f59124
hovercard-subject-tagpull_request:4375369548
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/triggerdotdev/trigger.dev/pull/4803/files
twitter:imagehttps://avatars.githubusercontent.com/u/19681398?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/19681398?s=400&v=4
og:image:altThe CLI now asks the server which build path to use before it builds or uploads anything, so native builds can be rolled out per organization and per environment type without a CLI release. trigger...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None54f7a6886649661c85eee945cca0773566bfb4065370e0429b7c8f7204184650
turbo-cache-controlno-preview
diff-viewunified
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 full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release3a69df62e401f1cbe8bd1ad791845bb4fc5b1c1d
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/triggerdotdev/trigger.dev/pull/4803/files#start-of-content
https://github.com/
Sign inhttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Ftriggerdotdev%2Ftrigger.dev%2Fpull%2F4803%2Ffiles
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%2Fpull%2F4803%2Ffiles
Sign uphttps://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=triggerdotdev%2Ftrigger.dev
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4803/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4803/files
Reloadhttps://github.com/triggerdotdev/trigger.dev/pull/4803/files
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
Sign up for GitHub https://github.com/signup?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Ftriggerdotdev%2Ftrigger.dev%2Fissues%2Fnew%2Fchoose
myftijahttps://github.com/myftija
mainhttps://github.com/triggerdotdev/trigger.dev/tree/main
feature/deploy-build-path-preflight-tri-12119https://github.com/triggerdotdev/trigger.dev/tree/feature/deploy-build-path-preflight-tri-12119
Conversation 35 https://github.com/triggerdotdev/trigger.dev/pull/4803
Commits 15 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits
Checks 71 https://github.com/triggerdotdev/trigger.dev/pull/4803/checks
Files changed https://github.com/triggerdotdev/trigger.dev/pull/4803/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4803/files
feat(cli): server-selected deploy build path https://github.com/triggerdotdev/trigger.dev/pull/4803/files#top
Show all changes 15 commits https://github.com/triggerdotdev/trigger.dev/pull/4803/files
0be0511 feat(webapp): deploy settings endpoint resolving the build path from … myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/0be0511fc169eadaf23483240280889853134b93
0344c58 feat(cli): pick the deploy build path from the server unless a flag s… myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/0344c58eafb3282e0c063eaaff4f651229b84103
89d7665 fix(cli): single-attempt deploy settings fetch, quiet 404, keep dry r… myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/89d766506caba6aedbe831c725c8cca23dd665d0
e2f8309 feat(cli): add --native-build, decouple --detach from the build path myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/e2f83094590b273fe61fb2ac04ae5499d115f137
a157b32 feat(cli): --local-bundle modifies the native path instead of selecti… myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/a157b3297d820b703f2b88481edc2c83014e0a3b
b190c54 fix(cli): apply build path modifiers in one place, keep every native … myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/b190c54d9dd6e7da655e68ca5b90ce1d8c7b215a
f092a9b fix(cli): clearer flag conflicts and more headroom on the deploy sett… myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/f092a9b8428cca74b26578c1c260ad7c3ef1dd0a
a5c2866 fix(cli): keep native-only flags on native when the deploy settings f… myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/a5c28669706c4ba0a0da1cf652f749e662d0a2b6
3fd0275 fix(webapp): read only the opt-out from build settings in deploy-sett… myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/3fd027522dfc47cdc841dacc4176d1231cacea66
039f939 feat(cli): --local-bundle and --detach require --native-build myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/039f939b447814630d040954b9b1c941b976aad3
6a02bfc refactor(deploy-settings): return only build_path, resolve it in Depl… myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/6a02bfc7c2b383bbd207a0411ee8dbd3d9723a25
30f6535 refactor(deploy-settings): typed service errors and a testable CLI re… myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/30f6535af00574ef482df9f94e835f4eeba104e7
98f8903 fix(webapp): drop unused exports from the deploy settings types myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/98f890366a048ddc542614d1b6418ce32f071b37
cd7cd5f fix(cli): do not announce a server-selected build path on dry runs myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/cd7cd5f6e02fde1fefa19f70592da1881734b91d
5d4573e fix(cli): log the server-selected build path at debug level only myftija Aug 27, 2026 https://github.com/triggerdotdev/trigger.dev/pull/4803/commits/5d4573e368e1262048e5271041e440ff4621b69b
Clear filters https://github.com/triggerdotdev/trigger.dev/pull/4803/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4803/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4803/files
deploy-build-path-settings.md https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-8a7a8833f44744a700078264843c2f89143588f6558cfcb9d78727a5c8b3e18d
api.v1.projects.$projectRef.$env.deploy-settings.ts https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-5b402e56350439e386d5096cd213c27282ebe3a32e9a96e57476ef2fbafa0075
deploymentApiPaths.server.ts https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-47d9a79552ac5e7a544ffd8f29d262d92025e4b3740fd53a101e838c562a5351
featureFlags.ts https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-b786b6c59ba126a02d9e947c4d01e2df333ea295686f0eace3043c932eb20cb0
deployment.server.ts https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-300b71a7662a06ca29e4b9c61f476adba47c0d575eb104212e10788b4d5d6c63
deploySettingsRoute.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-e31b7ac5bce57322bc39d2aabbd0db80f442c2aa19bb85b3cb8842d7f53432c7
deploymentServiceDeploySettings.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-d353414716537171d6c742c5e41543373766b971a7ac934bebb0e5b0c6a8ad19
apiClient.ts https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-bb0355aa2762dd08069e67045d10b4d3c33defb8f828b7fbd1c954cc391bb6ff
deploy.ts https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-d7f5aeaec81b32b65d3e217c379ac8bf3616076254b49e6717c79a44265a6aa1
buildPath.test.ts https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-d5c1edf2d5cca1edd6e7e8026da17a462374f8e3786f1524b411c4fbc92a5cb4
buildPath.ts https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-5e1948105ec6235859653822377a9851795d783038e98c3f7b9898de8f6c75d3
api.ts https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-c929980f61a97fbebd23b497e2303aa302e5365161fbea596997800df6a4c6c4
.changeset/deploy-build-path-settings.mdhttps://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-8a7a8833f44744a700078264843c2f89143588f6558cfcb9d78727a5c8b3e18d
View file https://github.com/triggerdotdev/trigger.dev/blob/5d4573e368e1262048e5271041e440ff4621b69b/.changeset/deploy-build-path-settings.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4803/{{ revealButtonHref }}
apps/webapp/app/routes/api.v1.projects.$projectRef.$env.deploy-settings.tshttps://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-5b402e56350439e386d5096cd213c27282ebe3a32e9a96e57476ef2fbafa0075
View file https://github.com/triggerdotdev/trigger.dev/blob/5d4573e368e1262048e5271041e440ff4621b69b/apps/webapp/app/routes/api.v1.projects.%24projectRef.%24env.deploy-settings.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4803/{{ revealButtonHref }}
apps/webapp/app/services/deploymentApiPaths.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-47d9a79552ac5e7a544ffd8f29d262d92025e4b3740fd53a101e838c562a5351
View file https://github.com/triggerdotdev/trigger.dev/blob/5d4573e368e1262048e5271041e440ff4621b69b/apps/webapp/app/services/deploymentApiPaths.server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4803/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-47d9a79552ac5e7a544ffd8f29d262d92025e4b3740fd53a101e838c562a5351
https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-47d9a79552ac5e7a544ffd8f29d262d92025e4b3740fd53a101e838c562a5351
apps/webapp/app/v3/featureFlags.tshttps://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-b786b6c59ba126a02d9e947c4d01e2df333ea295686f0eace3043c932eb20cb0
View file https://github.com/triggerdotdev/trigger.dev/blob/5d4573e368e1262048e5271041e440ff4621b69b/apps/webapp/app/v3/featureFlags.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4803/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-b786b6c59ba126a02d9e947c4d01e2df333ea295686f0eace3043c932eb20cb0
https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-b786b6c59ba126a02d9e947c4d01e2df333ea295686f0eace3043c932eb20cb0
https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-b786b6c59ba126a02d9e947c4d01e2df333ea295686f0eace3043c932eb20cb0
https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-b786b6c59ba126a02d9e947c4d01e2df333ea295686f0eace3043c932eb20cb0
https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-b786b6c59ba126a02d9e947c4d01e2df333ea295686f0eace3043c932eb20cb0
apps/webapp/app/v3/services/deployment.server.tshttps://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-300b71a7662a06ca29e4b9c61f476adba47c0d575eb104212e10788b4d5d6c63
View file https://github.com/triggerdotdev/trigger.dev/blob/5d4573e368e1262048e5271041e440ff4621b69b/apps/webapp/app/v3/services/deployment.server.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4803/{{ revealButtonHref }}
https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-300b71a7662a06ca29e4b9c61f476adba47c0d575eb104212e10788b4d5d6c63
https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-300b71a7662a06ca29e4b9c61f476adba47c0d575eb104212e10788b4d5d6c63
https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-300b71a7662a06ca29e4b9c61f476adba47c0d575eb104212e10788b4d5d6c63
https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-300b71a7662a06ca29e4b9c61f476adba47c0d575eb104212e10788b4d5d6c63
https://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-300b71a7662a06ca29e4b9c61f476adba47c0d575eb104212e10788b4d5d6c63
apps/webapp/test/deploySettingsRoute.test.tshttps://github.com/triggerdotdev/trigger.dev/pull/4803/files#diff-e31b7ac5bce57322bc39d2aabbd0db80f442c2aa19bb85b3cb8842d7f53432c7
View file https://github.com/triggerdotdev/trigger.dev/blob/5d4573e368e1262048e5271041e440ff4621b69b/apps/webapp/test/deploySettingsRoute.test.ts
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/triggerdotdev/trigger.dev/pull/4803/{{ revealButtonHref }}
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4803/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4803/files
Please reload this pagehttps://github.com/triggerdotdev/trigger.dev/pull/4803/files
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.