Repository navigation
CLI: add requires a run range (#47) - #124
Merged
Merged
Conversation
Without -r, `ccdb add` silently put the data to every run (0-inf). It now refuses with a message that names the forms: -r MIN-MAX, -r MIN- and -r 0- for every run. The tests, the CLI smoke workflow and docs/cli.md that relied on the old default pass -r 0- explicitly. A behaviour change for scripts that omit -r: they stop with the message and write nothing. Closes #47 Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Without
-r,ccdb addsilently put the data to every run (0–inf). It now refuses and names the forms:-r MIN-MAX,-r MIN-, and-r 0-for every run. Nothing is written when it refuses.Behaviour change. Scripts that omit
-rstop with the message; adding-r 0-restores the old meaning. Worth a line in the Hall D announcement.Callers updated: four test modules, the CLI smoke workflow, docs/cli.md. New test
test_add_requires_run_range; the affected modules pass.Closes #47
🤖 Generated with Claude Code