-
-
Notifications
You must be signed in to change notification settings - Fork 366
feat: branch creation/deletion performance improvement #3487
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
Merged
Merged
Changes from all commits
Commits
Show all changes
19 commits
Select commit
Hold shift + click to select a range
3133ef9
feat: async branch snapshot creation
dkrizan 2eac317
chore: schema updated && fix type in BranchMergeServiceTest.kt
dkrizan ae7df49
fix: prevent serialization conflict when updating branch in REPEATABL…
dkrizan 24630cb
fix: add snapshotStatus to defaultBranchObject in useBranchesService
dkrizan e57b0af
fix: async branch cleanup - fix test races, deadlock, and SQL bug
dkrizan 5ea2295
refactor: move afterCommit scheduling into snapshot/cleanup workers
dkrizan a854441
fix: ktlint format and CDN config branching test race
dkrizan a2624ae
chore: ktlint format
dkrizan 60369ff
fix: track async branch snapshots in test cleanup
dkrizan 7d1e0b7
fix: prevent redirect to main when navigating to newly created branch
dkrizan 089cfd8
fix: address CodeRabbit review findings in branch snapshot/cleanup
dkrizan 3d5b87a
chore: ktlint format BranchCleanupService
dkrizan f15402d
test: fix flaky BranchMergeServiceTest labels test
dkrizan fa91978
chore: ktlint format
dkrizan 5872673
refactor: remove async branch creation, keep async deletion
dkrizan 4e81ed2
perf: hybrid branch cleanup — bulk SQL for volume, services for logic
dkrizan 9e27070
refactor: remove test-only code from services, use waitForNotThrowing
dkrizan f538e44
chore: BranchCopyIntegrationTest test changed
dkrizan f6160ce
fix: delete task_key and translation_suggestion rows before keys in b…
dkrizan 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
6 changes: 6 additions & 0 deletions
6
backend/data/src/main/kotlin/io/tolgee/events/OnBranchSoftDeleted.kt
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 @@ | ||
| package io.tolgee.events | ||
|
|
||
| class OnBranchSoftDeleted( | ||
| val projectId: Long, | ||
| val branchId: Long, | ||
| ) |
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.
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.