feat: add cron doctor health check - #43729
Open
joe102084 wants to merge 1 commit into
Open
Conversation
Contributor
|
Thanks for the focused read-only diagnostic proposal. The command remains absent on current main: Problems
Suggested changes
Automated hermes-sweeper review. |
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
add a read-only Cron doctor found 2 issue(s) across 2 job(s):
a61111adcdb0 Daily smart Hermes collaboration tip for Joe
7ff4afbace0e Daily Movement BD lead pre-mortem
Next: fix the listed job config, then run
hermes cron doctoragain. command for scheduled-job health checksTests
(TZ=UTC LANG=C.UTF-8 PYTHONHASHSEED=0; clean env)
Discovered 2 test files (12 tests) under ['tests/hermes_cli/test_cron.py', 'tests/hermes_cli/test_subcommands_cron.py']; running with -j 20
[ 50.0% | 6/12 | ✓6 | ✗0] ✓ tests/hermes_cli/test_subcommands_cron.py (6✓, 0.2s)
[100.0% | 12/12 | ✓12 | ✗ 0] ✓ tests/hermes_cli/test_cron.py (6✓, 0.2s)
=== Summary: 2 files, 12 tests passed, 0 failed (100% complete) in 0.2s (20 workers) ===
Durations cached to test_durations.json (2 files)
=== Per-file subprocess time distribution ===
Files: 2
Total subprocess CPU-wall: 0.4s (runner wall: 0.2s, parallelism: 20x)
P50: 0.23s P90: 0.23s P95: 0.23s P99: 0.23s Max: 0.23s
<1s: 2 files (100%) <2s: 2 files (100%)
Top 10 slowest:
0.23s tests/hermes_cli/test_cron.py
0.20s tests/hermes_cli/test_subcommands_cron.py
No active jobs configured.
Notes