-
-
Notifications
You must be signed in to change notification settings - Fork 729
Frozen run fixes #1286
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
Frozen run fixes #1286
Changes from all commits
Commits
Show all changes
25 commits
Select commit
Hold shift + click to select a range
cf035a5
When resuming a batch, only do marqs operations once
matt-aitken 1648642
Made TaskRunDependency clearer in the Prisma schema
matt-aitken 9812cbc
New ResumeDependentParentsService service, use it from checkpoints
matt-aitken 8d99466
WIP on making resuming more robust
matt-aitken 002fd05
Turn the declarative schedules off because they make debugging other …
matt-aitken 0cd686d
Resuming batches when there’s an attempt is working
matt-aitken 09616ee
If there’s no attempt then create one
matt-aitken 2662842
Added a log if there are no span events to complete
matt-aitken 8ccbafc
If Graphile addJob doesn’t return a row, log and return undefined. No…
matt-aitken 82a8da0
Pass prisma into the ResumeDependentParentsService
matt-aitken 51d4218
Removed the todos
matt-aitken a4abf15
Pass Prisma through to the checkpoint service
matt-aitken 84e3311
Fix for not checking the batch item correctly
matt-aitken 5f7e645
Fix for when a log flush times out and the process is checkpointed
matt-aitken 5f58ba0
Fix for when a log flush times out and the process is checkpointed
matt-aitken f206832
Another test run that does batches with failed subtasks
matt-aitken dece0cb
Don’t call ResumeTaskRunDependenciesService anymore (we have a new se…
matt-aitken 9c99b99
Only resume if the run is in a final state
matt-aitken 929c53e
If an attempt doesn’t exist, fix for creating queue with sanitized name
matt-aitken 6d24001
If DEV then don’t resume using marqs/batches. The CLI manages it
matt-aitken 8b4025d
We don’t need to check the run status again, it’s in the main functio…
matt-aitken 5fd1462
Added TaskRunAttempt taskRunId index
matt-aitken 12671fc
Only allow calling ResumeDependentParentsService with a run ID
matt-aitken 9303d6a
Merge branch 'main' into frozen-runs
matt-aitken bc958d1
Put the flushing back to what it was
matt-aitken 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 | ||
--- | ||
|
||
Fix for when a log flush times out and the process is checkpointed |
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
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.