Skip to content

cli: hint on the four pickup refusals - #9

Merged
dejanstrbac merged 1 commit into
mainfrom
pickup-error-hints
Sep 12, 2026
Merged

dejanstrbac merged 1 commit into
mainfrom
pickup-error-hints

Conversation

@dejanstrbac

Copy link
Copy Markdown
Contributor

errorHint now covers the four pickup refusals core added with the pickup bounds:

  • run_cooldown quotes retryAfter from the body, with a number-less fallback.
  • pickup_limit_reached quotes limit, with a number-less fallback.
  • source_is_self and duplicate_source say what the code means.

One test per hint plus the fallbacks. Verified: go test ./internal/cli -run TestErrorHint 19/19, go vet clean.

🤖 Generated with Claude Code

run_cooldown quotes retryAfter, pickup_limit_reached quotes limit, and
source_is_self and duplicate_source say what the code means. One test per
hint, plus the number-less fallbacks for a body without the field.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@dejanstrbac
dejanstrbac merged commit 51f6f24 into main Sep 12, 2026
2 checks passed
@dejanstrbac
dejanstrbac deleted the pickup-error-hints branch September 12, 2026 11:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant