-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: multi dev branches #4023
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
carderne
wants to merge
39
commits into
main
Choose a base branch
from
feature/tri-8726-development-branches-multi-branch-dev-environments
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
feat: multi dev branches #4023
Changes from all commits
Commits
Show all changes
39 commits
Select commit
Hold shift + click to select a range
2b35c59
chore(db): backfill isBranchableEnvironment for existing dev environm…
carderne 39cb208
feat(webapp): make development environments branchable (API + auth)
carderne 1fbf92c
feat(webapp): dashboard for dev branches
carderne 9b90c28
feat(cli): dev branch support
carderne f24f396
use parentEnvironmentId instead of isBranchable for dev
carderne 0841d7e
Revert "chore(db): backfill isBranchableEnvironment for existing dev …
carderne d13cbef
consistent dev/preview branch differentiation
carderne 16ee1ff
add docs
carderne 7c143c9
multi presence redis query use mget
carderne 4249289
remove dev branch upgrade button
carderne 168b1f4
add tests
carderne 5dde6c6
feature flag
carderne 5ae3445
add changeset
carderne fb716f0
out of dev branches error
carderne 1011cde
some fixes and tests
carderne 89bbec9
fix dev build namespacing
carderne c86695f
fix cli dev subcommand
carderne 17d5e26
scope dev branch correctly
carderne 902c9a2
cli guards
carderne 14f4c53
redis multi
carderne ce41b72
clean up branches/dev-branches routes
carderne 9df5006
improve default branch handling and errors
carderne a900436
cleaning up nits
carderne 5d0c7d1
fix rbac test
carderne 6050490
improve backwards compat
carderne 1a24302
fix dev command env file resolution
carderne 7a425ee
fix bugs from coderabbit
carderne 99d2498
simplify new env var logic
carderne fd20cf2
more env filtering correctness
carderne 47df38a
catch eager prisma connect
carderne 5c5508a
fix nits
carderne fe3e4c9
improve var name in rbac
carderne b008343
add auto revalidate to dev-branches page
carderne 9ffbbc5
bump @trigger.dev/platform dep
carderne 4c311d6
show root dev in concurrency mgmt
carderne 32409b4
fixes from code review
carderne 2475580
only catch db.connect when testing
carderne e982fc4
centralise dev branch path hashing
carderne 27379cf
add .server-change
carderne File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| "trigger.dev": patch | ||
| "@trigger.dev/core": patch | ||
| --- | ||
|
|
||
| Add support for dev branches to the webapp and CLI. This allows humans (and agents) to run multiple local dev servers simultaneously, with a separate dashboard for each one. | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,6 @@ | ||
| --- | ||
| area: webapp | ||
| type: feature | ||
| --- | ||
|
|
||
| Adds support for dev branches similar to the preview branches already supported. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.