Add a hist subcommand backed by a daemon posting-history log - #151
Draft
leynos wants to merge 2 commits into
Draft
Add a hist subcommand backed by a daemon posting-history log#151leynos wants to merge 2 commits into
leynos wants to merge 2 commits into
Conversation
The daemon appends one JSON line per posting attempt, successful or failed, to <queue_path>/history.jsonl. A new hist protocol operation returns the records in chronological order, optionally limited to the most recent N, and the client renders them with ages, outcomes, and one-line summaries via `comenq hist [-n LIMIT]`. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: ASSERTIVE Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
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.
Stacked on #149 (which stacks on #148). Merge order: #148, then #149, then this.
What
<queue_path>/history.jsonl. Success records are written when an entry completes; a failure record is written for each failed attempt (the entry stays queued and retries after a cooldown). A history write failure never stops the retry loop, and malformed lines are skipped on read so one corrupt record cannot hide the rest.histprotocol operation returning records in chronological order, optionally limited to the most recent N.comenq hist [-n|--limit LIMIT]subcommand rendering identifier, age, ok/FAIL status, repository, a one-line body summary, and the failure description for failed attempts.Testing
histand history replies.-n/--limit), request/reply round trip, rendering.history.feature(empty history, ordered success/failure records, limit) and extendedworker.featurescenarios asserting the worker records successes and failures through the real posting path.🤖 Generated with Claude Code