Stop CI Jobs From Waiting Hours on Claude Usage Limits

E159 - Stop CI Jobs From Waiting Hours on Claude Usage Limits

Published: October 16, 2026

Duration: 4:43

Claude Code 2.1.301 adds CLAUDE_CODE_RETRY_WATCHDOG_MAX_USAGE_LIMIT_WAIT_MS, letting CI jobs fail quickly or switch to a fallback model instead of idling through a distant quota reset. Learn how to set it alongside the general retry wait cap, where to scope the watchdog variables, and what “per API request turn” means. Also covered: richer OpenTelemetry tool-decision events, safer worktree cleanup, clearer Grep and Glob errors, and several usability fixes.