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.

All agent flights in 567-labs/instructor · Claude Code flights

Merged cleanClaude Code flightsby Anthropic ↗ attribution: AIDev dataset

Flown by Jason Liu (@jxnl)GitHub ↗— unclaimed

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.

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

  1. —committedJason Liu
  2. —committedJason Liu
  3. —committedJason Liu
  4. —committedJason Liu
  5. —committedJason Liu
  6. —reviewed
  7. Jul 19, 2025labeledgithub-actions[bot]
  8. Jul 19, 2025labeledgithub-actions[bot]
  9. Jul 19, 2025labeledgithub-actions[bot]
  10. Jul 19, 2025labeledgithub-actions[bot]
  11. Jul 19, 2025mergedjxnl
  12. Jul 19, 2025closedjxnl

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.