fix(cli): tolerate cron jobs without repeat metadata#20264
Closed
leonardsellem wants to merge 1 commit into
Closed
fix(cli): tolerate cron jobs without repeat metadata#20264leonardsellem wants to merge 1 commit into
leonardsellem wants to merge 1 commit into
Conversation
This was referenced May 27, 2026
Contributor
|
Nice fix. The same |
Contributor
|
This looks implemented on current Evidence:
The later comment about applying the same defensive pattern to |
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
repeatmetadata as infinite when renderinghermes cron listrepeat: nulland missingrepeatkeysVerification
PYTEST_ADDOPTS= PYTEST_PLUGINS= /home/ubuntu/.hermes/hermes-agent/venv/bin/python -m pytest tests/hermes_cli/test_cron.py::TestCronCommandLifecycle::test_list_tolerates_null_and_missing_repeat_metadata -qPYTEST_ADDOPTS= PYTEST_PLUGINS= /home/ubuntu/.hermes/hermes-agent/venv/bin/python -m pytest tests/hermes_cli/test_cron.py -qHERMES_HOME=/home/ubuntu/.hermes PYTHONPATH=$PWD /home/ubuntu/.hermes/hermes-agent/venv/bin/python hermes_cli/main.py cron list --all(exit 0, printed 14 jobs / 14 repeat lines)Related cron suite note: the broader cron-related subset currently has pre-existing failures on upstream main in this homelab test environment (delivery target thread id leakage / scheduler tests), so I kept the green gate to the directly touched CLI test module plus the live-list smoke above.