fix(cli): consistent exit codes on empty results #143

Merged
fuzzy merged 1 commit from fix/0102-consistent-exit-codes into main 2026-07-05 17:24:11 +00:00
Owner

What

_cmd_interval() now exits with code 1 when no jobs are found, matching the behavior of _cmd_run() on not-found.

Why

Consistent exit code behavior across subcommands.

Testing

  • 145 unit tests pass
  • Pre-commit hooks pass

Closes #102

## What `_cmd_interval()` now exits with code 1 when no jobs are found, matching the behavior of `_cmd_run()` on not-found. ## Why Consistent exit code behavior across subcommands. ## Testing - [x] 145 unit tests pass - [x] Pre-commit hooks pass Closes #102
fix(cli): consistent exit codes on empty results
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
4f2e9bbf6f
_cmd_interval now exits 1 when no jobs found, matching the
behavior of _cmd_run on not-found.
Closes #102
fuzzy force-pushed fix/0102-consistent-exit-codes from 4f2e9bbf6f
Some checks failed
CI / lint (pull_request) Has been cancelled
CI / test (pull_request) Has been cancelled
to d16221fa39
Some checks failed
CI / test (pull_request) Has been cancelled
CI / lint (pull_request) Has been cancelled
2026-07-05 17:03:21 +00:00
Compare
fuzzy force-pushed fix/0102-consistent-exit-codes from d16221fa39
Some checks failed
CI / test (pull_request) Has been cancelled
CI / lint (pull_request) Has been cancelled
to 5bb581e8fb
All checks were successful
CI / test (pull_request) Successful in 46s
CI / lint (pull_request) Successful in 1m18s
2026-07-05 17:05:33 +00:00
Compare
the.auditor left a comment

Automated Review — PR #143

Result: APPROVED

One-line fix — _cmd_interval now exits with code 1 on empty results, matching _cmd_run behavior. Closes #102.

No suggestions.

## Automated Review — PR #143 **Result: APPROVED** One-line fix — `_cmd_interval` now exits with code 1 on empty results, matching `_cmd_run` behavior. Closes #102. No suggestions.
fuzzy force-pushed fix/0102-consistent-exit-codes from 5bb581e8fb
All checks were successful
CI / test (pull_request) Successful in 46s
CI / lint (pull_request) Successful in 1m18s
to 3d3631464f
All checks were successful
CI / test (pull_request) Successful in 48s
CI / lint (pull_request) Successful in 1m19s
2026-07-05 17:13:31 +00:00
Compare
fuzzy force-pushed fix/0102-consistent-exit-codes from 3d3631464f
All checks were successful
CI / test (pull_request) Successful in 48s
CI / lint (pull_request) Successful in 1m19s
to e08120c991
All checks were successful
CI / test (pull_request) Successful in 53s
CI / lint (pull_request) Successful in 1m17s
2026-07-05 17:20:11 +00:00
Compare
fuzzy merged commit e08120c991 into main 2026-07-05 17:24:11 +00:00
fuzzy deleted branch fix/0102-consistent-exit-codes 2026-07-05 17:24:11 +00:00
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
thwap/kronai!143
No description provided.