Repository navigation
feat(server): restrict scheduled tasks to days, hours, and run caps #14714
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
Closed
saphid
wants to merge
16
commits into
pingdotgg:t3code/codex-turn-mapping
from
saphid:pr/schedule-restrictions-20261002
Closed
Changes from 1 commit
Commits
Show all changes
16 commits
Select commit
Hold shift + click to select a range
dece518
fix(server): make scheduled-task edits atomic
github-actions[bot] 4f5fbac
fix(server): pause scheduled tasks bound to archived threads
github-actions[bot] 4452f5d
fix(server): preserve scheduled task update error causes
github-actions[bot] 43b47fa
feat(server): restrict scheduled tasks to days, hours, and run caps
github-actions[bot] 5183a31
fix(server): decide the run cap from the live row and judge windows a…
github-actions[bot] f94b2f2
fix(server): refuse to start a run once the cap is reached
github-actions[bot] f470dc1
fix(server): guard reschedule and re-enable against stale snapshots
github-actions[bot] 76673c1
fix(server): preserve scheduled-task edits across mixed server versions
github-actions[bot] d2c7ba7
fix(server): preserve atomic schedule edits on current OV2
github-actions[bot] 2f1e43d
fix(server): preserve archive-bound scheduling and authorization
github-actions[bot] a3821de
fix(server): integrate atomic schedule updates with archive guards
github-actions[bot] 11b49bf
fix(server): integrate schedule caps with atomic archive handling
github-actions[bot] 7eb5427
test(server): encode scheduled-run fixtures with Effect Schema
github-actions[bot] 3c9a91e
fix(clients): show the scheduled-task Enabled switch as a save will l…
github-actions[bot] 01a7974
fix(scheduled-tasks): keep window openings in the future across fall-…
github-actions[bot] 47ff798
fix(server): run a restricted interval when the clock re-enters its w…
github-actions[bot] 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
fix(scheduled-tasks): keep window openings in the future across fall-…
…back, show unpadded times Two Macroscope findings on the scheduled-task restrictions: - In a repeated fall-back hour, the restricted interval schedule added the interval with calendar arithmetic, which re-resolves the repeated hour to its first occurrence. The next run could land before the current time, so a window opening inside that hour kept the task due and rescheduled on every poll. The restricted path now adds elapsed time, and a window opening that resolves before the candidate steps forward on the candidate's own offset. - The contract accepts window times such as "9:00", but the web editor passed them unchanged to native time inputs, which only display zero-padded HH:mm, so the configured window showed as blank. The editor now pads them when it reads a task. Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
- Loading branch information
commit 01a7974c83af71ee6c8a023a9e7e343952527433
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
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
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.