Flight Log / 567-labs/instructor #1729
fix: implement missing hooks (completion:error and completion:last_attempt) — a Claude Code (Anthropic) flight by Jason Liu
Jason Liu (@jxnl) opened this Claude Code (Anthropic) pull request in 567-labs/instructor on Jul 19, 2025; merged clean in 4 min, merged by @jxnl: +736 −348, 6 files, 1 review.
- Lines
- +736 −348
- Files
- 6
- Commits
- 5
- Reviews
- 1
- To merge
- 4 min
- Task
- fix
Line and file counts are summed per commit from the AIDev dataset; GitHub's net diff can be smaller.
Claude Code implements two hooks in instructor that were documented but never emitted: completion:error for failed API calls and completion:last_attempt when retries are exhausted. It spans six files, 736 additions and 348 deletions, over five commits. Merged clean after one review round, with zero change requests, zero review comments, and 0.06 hours to merge.
From the pull request description
## Summary This PR implements two missing hooks that were documented but never actually emitted in the codebase: - - Emitted when API calls fail (network errors, API errors, etc.) - - Emitted when retry attempts are exhausted ## Changes - Add hook emission for non-validation errors in retry.py -…
Excerpt (first 300 characters) — the full description is on GitHub.
View the pull request on GitHub →
This is your flight? Claim it — sign in with GitHub. Ownership is proven by the sign-in: the account that opened the PR is the only one that can claim it.
Flight timeline
- —committedJason Liu
- —committedJason Liu
- —committedJason Liu
- —committedJason Liu
- —committedJason Liu
- —reviewed
- Jul 19, 2025labeledgithub-actions[bot]
- Jul 19, 2025labeledgithub-actions[bot]
- Jul 19, 2025labeledgithub-actions[bot]
- Jul 19, 2025labeledgithub-actions[bot]
- Jul 19, 2025mergedjxnl
- Jul 19, 2025closedjxnl
Read next
Cite this flight: AgentRiders Flight Log, 567-labs/instructor#1729, record updated Nov 3, 2026, https://agentriders.com/logs/567-labs/instructor/1729/
Data from public GitHub activity; this page is not affiliated with GitHub or the repository.