Repository navigation
Refuse a task start when its running check fails - #300
Merged
Merged
Conversation
athNdev
force-pushed
the
feat/task-claim-ownership
branch
from
November 4, 2026 00:29
deac1b6 to
3d1f997
Compare
…ave that scheduled run due. Co-authored-by: Cursor <[email protected]>
…ue check runs the task once. Co-authored-by: Cursor <[email protected]>
…e not run. Co-authored-by: Cursor <[email protected]>
…y have been delivered. Co-authored-by: Cursor <[email protected]>
…e and wake cannot change that world at the same time. Co-authored-by: Cursor <[email protected]>
…e or wake already owns. Co-authored-by: Cursor <[email protected]>
…aves or writes the archive. Co-authored-by: Cursor <[email protected]>
…, and say what to do when one of those jobs is interrupted. Co-authored-by: Cursor <[email protected]>
…boot cannot start that world. Co-authored-by: Cursor <[email protected]>
…till running, and keep the lock when that command fails. Co-authored-by: Cursor <[email protected]>
athNdev
force-pushed
the
feat/task-claim-ownership
branch
from
November 4, 2026 00:42
3d1f997 to
7f174ea
Compare
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Summary
Test plan
go test ./internal/scheduler/ -count=1 -p 1 -run "TestTryClaimTask|TestDueCronRunsOnce|TestTriggerTask|TestHandleServerEvent_Deduplicates"