fix(cli): push localhost registry images in self-hosted local builds#3260
fix(cli): push localhost registry images in self-hosted local builds#3260flowq-C wants to merge 1 commit intotriggerdotdev:mainfrom
Conversation
|
|
Hi @flowq-C, thanks for your interest in contributing! This project requires that pull request authors are vouched, and you are not in the list of vouched users. This PR will be closed automatically. See https://github.com/triggerdotdev/trigger.dev/blob/main/CONTRIBUTING.md for more details. |
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughThe Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Thanks for the quick signal. We opened this PR while debugging multiple reproducible self-hosted deployment failures in a real Trigger.dev self-hosted setup. Relevant linked issues:
This PR is meant as a minimal proposed fix, not a drive-by feature change. If external PRs require a vouch first, the practical ask is:
We are happy to adjust the patch, split it further, or add a changeset if needed once there is a path for contribution. |
|
Follow-up from live validation on our self-hosted stack: We have since validated the broader deployment path end-to-end against real self-hosted deployments. This PR is still directionally correct, but the full local-registry problem turned out to have 3 layers:
So I would still consider this patch useful, but not sufficient by itself for every self-hosted local-registry topology. For our stack, we only reached stable local deploys after fixing the full chain. |
Summary
Self-hosted Trigger.dev installations commonly use a local registry such as
localhost:5000.The current
shouldPush()behavior treats localhost-style image tags as non-push by default. In practice this can produce a deployment that appears complete while the supervisor later fails withNo such image, because the image was never pushed to the local registry.What changed
shouldPush()so local builds do not silently skip pushing localhost-tagged imagesWhy
Real-world failure mode
No such image: localhost:5000/...Notes
Closes #3257