Repository navigation
Conversation
3 of 4 tasks
This branch has not been deployed
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.
Change Summary
Pausing a running recurring cron job currently succeeds, but recording its result changes it back to scheduled. The next tick can then execute the job again without a resume request.
Preserve an already-persisted paused status when recording a recurring job result that has another scheduled run. Continue recording history, counters, errors and repeat progress, and advancing the next-run time. One-shot jobs and exhausted repeats still complete.
Tests cover interval and cron schedules, successful and failed executions, persisted reload, no dispatch while paused, and execution after resume. This does not cancel the current execution or change concurrent-process updates or manual force-run behavior.
Validation:
pre-commit installandpre-commit run --all-fileswere run on the pause checkout and an untouched baseline. Both full-repository runs failed with identical output after normalizing checkout paths: existing flake8, isort, YAPF, trailing-whitespace and quote-formatting issues. Examples include.dev_scripts/webui/oss_distribution.py:140andms_agent/config/skills_manager.py:61. Unrelated automatic edits were restored; both changed files retain their tested hashes.Prepared and tested with AI assistance. No live model/provider calls were used.
Related issue number
None. No competing pause fix was found in the all-state issue/PR search on 2026-10-24. This change is separate from interval UTC normalization in #1013.
Checklist
pre-commit installandpre-commit run --all-filesbefore git commit, and passed lint check. Hooks were installed and full-repository checks ran; the identical baseline failures described above remain. Changed-file checks passed.