Skip to content

Add scheduled effects - #556

Merged
MagicRB merged 7 commits into
nix-community:mainfrom
phaer:scheduled-effects
Jan 31, 2026
Merged

MagicRB merged 7 commits into
nix-community:mainfrom
phaer:scheduled-effects

Conversation

@phaer

@phaer phaer commented Jan 19, 2026 •

Copy link
Copy Markdown
Member

This adds the ability to run scheduled effects, as in hercules-ci's onSchedule.
Useful for periodic flake updates & similar jobs.

Drafted for now, as I'd like to test it a bit more and add small improvements before merging. Such as randomizing hours & minutes if left unspecified, cleanup up the test a little & add one for onPush effects as well.

But happy for feedback on design & implementation. At least the basics seem to work, it successfully ran scheduled tasks on my private buildbot-nix instance.

(includes #555)

@phaer
phaer force-pushed the scheduled-effects branch 4 times, most recently from 152429c to c866ab2 Compare January 20, 2026 11:05
@phaer
phaer marked this pull request as ready for review January 23, 2026 12:38
@phaer
phaer force-pushed the scheduled-effects branch 3 times, most recently from 8767385 to 5b2cd21 Compare January 28, 2026 11:50
@phaer

phaer commented Jan 28, 2026 •

Copy link
Copy Markdown
Member Author

EDIT: solved by rebasing, which re-triggered CI

@phaer
phaer force-pushed the scheduled-effects branch from 5b2cd21 to 2974d1c Compare January 28, 2026 15:19
@MagicRB
MagicRB added this pull request to the merge queue Jan 31, 2026
Merged via the queue into nix-community:main with commit a53c949 Jan 31, 2026
3 checks passed
@phaer
phaer deleted the scheduled-effects branch February 6, 2026 11:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants