Repository navigation
feat: mayfly stats - #38
Merged
Merged
Conversation
…rom the journal Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01GGBbe8FgqqUCF5fNkd9Ndi
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.
mayfly statusshows the moment; nothing showed how a slot did over a day.mayfly stats [hours]reads the slot journal (journalctl -u 'mayfly-slot@*', last 24 h by default) and prints per slot:MAX_IDLE_HOURSwithout a job; STUCK: runner never came onlineMAX_JOB_HOURS, the backstop or a full poolIt parses the lines bash and Rust slots already log, so it works for both engines and needs no new state. Help (both sides, parity 58/58) and README updated.
Tested: unit tests for the tally, cargo test/clippy, parity, tests/run.sh, and a run against a stub journalctl.
Notes: new
mayfly stats [hours]shows per-slot jobs, idle and stuck guests and errors.Generated by Claude Code