Skip to content

feat: hide native Git-based deployments in self-hosted instances - #4837

Closed
MauryaQbit wants to merge 1 commit into
triggerdotdev:mainfrom
MauryaQbit:main
Closed

feat: hide native Git-based deployments in self-hosted instances#4837
MauryaQbit wants to merge 1 commit into
triggerdotdev:mainfrom
MauryaQbit:main

Conversation

@MauryaQbit

Copy link
Copy Markdown

Resolves #4835

- Gate the 'Use native build server' UI option on isManagedCloud
- Gate the enqueueBuild API path on isCloud() condition
- Return clear error from API when feature not available
- Add .server-changes/ file for server-only user-facing change

Resolves triggerdotdev#4835
@changeset-bot

changeset-bot Bot commented Aug 30, 2026

Copy link
Copy Markdown

⚠️ No Changeset found

Latest commit: ade89d4

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions

Copy link
Copy Markdown
Contributor

Hi @MauryaQbit, 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.

@github-actions github-actions Bot closed this Aug 30, 2026
@coderabbitai

coderabbitai Bot commented Aug 30, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

Caution

Review failed

The pull request is closed.

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: edb9538d-5839-49cd-99f9-031a05edc886

📥 Commits

Reviewing files that changed from the base of the PR and between 9cb5028 and ade89d4.

📒 Files selected for processing (3)
  • .server-changes/hide-native-deployments-self-hosted.md
  • apps/webapp/app/routes/_app.orgs.$organizationSlug.projects.$projectParam.env.$envParam.settings.integrations/route.tsx
  • apps/webapp/app/v3/services/deployment.server.ts

Walkthrough

Native Git-based deployments are now limited to Trigger.dev Cloud. The deployment service rejects native build requests on non-cloud environments with native_build_not_available. The integrations settings loader exposes the managed-cloud state and disables the native build server switch for self-hosted instances. A changelog entry documents the restriction and alternative CLI or GitHub Action deployment paths.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Hide native (Git-based) deployments in self-hosted instances

1 participant