feat: add RHIZA_SYNC_SCHEDULE variable to override default sync cron#955
Open
feat: add RHIZA_SYNC_SCHEDULE variable to override default sync cron#955
Conversation
…SYNC_SCHEDULE Agent-Logs-Url: https://github.com/Jebel-Quant/rhiza/sessions/f54e4610-8776-40f5-8deb-40060b706f79 Co-authored-by: markrichardson <5681211+markrichardson@users.noreply.github.com>
… realism Agent-Logs-Url: https://github.com/Jebel-Quant/rhiza/sessions/f54e4610-8776-40f5-8deb-40060b706f79 Co-authored-by: markrichardson <5681211+markrichardson@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Add mechanism for users to override default rhiza sync times
feat: add RHIZA_SYNC_SCHEDULE variable to override default sync cron
Mar 30, 2026
markrichardson
approved these changes
Mar 30, 2026
Collaborator
|
This is neat @markrichardson. Is it overridden via an env var? Or does user need to override the rhiza.mk? |
Collaborator
Ignore this I see it tested. Looks great |
HarryCampion
approved these changes
Mar 30, 2026
Member
|
Rhiza is no longer overwriting files (you have modified) with a hammer. So, the patching exercise should be obsolete. Let's first verify that this is indeed correct and if not we should do as sketched here? |
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
Adds
RHIZA_SYNC_SCHEDULEMakefile variable so users can override the default weekly sync cron (0 0 * * 1) without their change being clobbered on everymake sync.Changes
RHIZA_SYNC_SCHEDULE ?= 0 0 * * 1to.rhiza/rhiza.mk_apply-sync-scheduletarget that patches.github/workflows/rhiza_sync.ymlviasedafteruvx rhiza sync .completes but beforepost-synchookssed -i.bak && rm .bakfor macOS/Linux compatibilitydocs/CUSTOMIZATION.mdwith cron examplessynctargetUsage — set before the
includeline in your rootMakefile:Testing
make testpasses locallymake fmthas been runChecklist
make deptrypasses (no unused or missing dependencies)