Title: self-hosted v4.4.3 native deployments can stay stuck on PENDING because build enqueue is skipped · Issue #3256 · triggerdotdev/trigger.dev · GitHub
Open Graph Title: self-hosted v4.4.3 native deployments can stay stuck on PENDING because build enqueue is skipped · Issue #3256 · triggerdotdev/trigger.dev
X Title: self-hosted v4.4.3 native deployments can stay stuck on PENDING because build enqueue is skipped · Issue #3256 · triggerdotdev/trigger.dev
Description: Summary On self-hosted Trigger.dev v4.4.3, native deployments can get stuck on PENDING and later time out because the build is never actually enqueued. Environment Trigger.dev self-hosted Version: v4.4.3 API origin: custom self-hosted or...
Open Graph Description: Summary On self-hosted Trigger.dev v4.4.3, native deployments can get stuck on PENDING and later time out because the build is never actually enqueued. Environment Trigger.dev self-hosted Version: ...
X Description: Summary On self-hosted Trigger.dev v4.4.3, native deployments can get stuck on PENDING and later time out because the build is never actually enqueued. Environment Trigger.dev self-hosted Version: ...
Opengraph URL: https://github.com/triggerdotdev/trigger.dev/issues/3256
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"self-hosted v4.4.3 native deployments can stay stuck on PENDING because build enqueue is skipped","articleBody":"## Summary\n\nOn self-hosted Trigger.dev v4.4.3, native deployments can get stuck on `PENDING` and later time out because the build is never actually enqueued.\n\n## Environment\n\n- Trigger.dev self-hosted\n- Version: `v4.4.3`\n- API origin: custom self-hosted origin, not `cloud.trigger.dev`\n- Native build / self-hosted deployment flow\n\n## Expected behavior\n\nCreating a native deployment should move it from `PENDING` to `INSTALLING` / `BUILDING` automatically.\n\n## Actual behavior\n\nThe deployment row is created, but the build is never enqueued. The deployment stays on `PENDING` and later times out.\n\n## Reproduction\n\n1. Run self-hosted Trigger.dev v4.4.3\n2. Create a native deployment\n3. Artifact upload succeeds\n4. Deployment remains `PENDING`\n5. Eventually deployment becomes `TIMED_OUT`\n\n## What we found\n\nIn the webapp bundle, the path that should enqueue the build depends on a client initialized by `initializeClient()`.\n\nThat client is only initialized when `isCloud()` is true and billing env vars are present.\n\nIn self-hosted with a custom origin, `isCloud()` is false, so the client is never initialized.\n\nThen `enqueueBuild()` effectively becomes a no-op because it immediately returns when `client` is missing.\n\n## Evidence\n\nRelevant bundle logic in our running container:\n\n- `initializeClient()` only initializes when `isCloud()` and billing env vars are set\n- `enqueueBuild()` returns early when `client` is falsy\n- deployment creation path still calls `deploymentService.enqueueBuild(...)`\n\nObserved DB state for affected deployments:\n\n- status: `PENDING`\n- no `startedAt`\n- no `builtAt`\n- no `deployedAt`\n- no worker attached\n\n## Impact\n\nSelf-hosted native deploys are not reliable without patching the bundle or bypassing this code path.\n\n## Question\n\nIs this an intended limitation of self-hosted native builds in v4.4.3, or is this a bug in the self-hosted code path?\n","author":{"url":"https://github.com/flowq-C","@type":"Person","name":"flowq-C"},"datePublished":"2026-03-24T10:52:17Z","url":"https://github.com/triggerdotdev/trigger.dev/issues/3256"}
| react-profiling | 0 |
| react-import-map | react,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-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:4a95f637-6636-53ab-e55f-cf392b22355f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 8666:1DBE03:1086FCB:172C2BE:6AFADABE |
| html-safe-nonce | 5741da4cce5dc8cc3e912490404a865cc24f31548f23ebd35217e7e026e5176f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4NjY2OjFEQkUwMzoxMDg2RkNCOjE3MkMyQkU6NkFGQURBQkUiLCJ2aXNpdG9yX2lkIjoiNjM5NTU1Mjg4MjYwMzM2MzE4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 4b0b3a5ad6f15a72fefc33d5bb355e9ee2f8f0595a4ec46e9d59b6848beb63a9 |
| hovercard-subject-tag | issue:4126954433 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/triggerdotdev/trigger.dev/3256/issue_layout |
| twitter:image | https://opengraph.githubassets.com/474778a6556607c73a959ad22ef6eb089a1155b286a0ec1d9ab09ed38e72c59c/triggerdotdev/trigger.dev/issues/3256 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/474778a6556607c73a959ad22ef6eb089a1155b286a0ec1d9ab09ed38e72c59c/triggerdotdev/trigger.dev/issues/3256 |
| og:image:alt | Summary On self-hosted Trigger.dev v4.4.3, native deployments can get stuck on PENDING and later time out because the build is never actually enqueued. Environment Trigger.dev self-hosted Version: ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | flowq-C |
| hostname | github.com |
| expected-hostname | github.com |
| None | 9d9bd51a568909a83d1abb9d6f74d68f0c87ca85fe3a56d3f5d70d8b89add9f2 |
| turbo-cache-control | no-preview |
| go-import | github.com/triggerdotdev/trigger.dev git https://github.com/triggerdotdev/trigger.dev.git |
| octolytics-dimension-user_id | 95297378 |
| octolytics-dimension-user_login | triggerdotdev |
| octolytics-dimension-repository_id | 572570113 |
| octolytics-dimension-repository_nwo | triggerdotdev/trigger.dev |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 572570113 |
| octolytics-dimension-repository_network_root_nwo | triggerdotdev/trigger.dev |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4a7ae932999cc6d511008dbf980ff9efad2a31f7 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width