Skip to content

Enhance timeout error messages with actionable guidance#1034

Closed
gjmulhol wants to merge 1 commit into
mainfrom
improve/timeout-error-messages
Closed

Enhance timeout error messages with actionable guidance#1034
gjmulhol wants to merge 1 commit into
mainfrom
improve/timeout-error-messages

Conversation

@gjmulhol

Copy link
Copy Markdown

Summary

  • PollingTimeoutError now includes job_id, timeout duration, and explains server-side job continues running
  • ConditionTimeoutError now explains client timeout is independent of server work and suggests increasing timeout or polling manually

Test plan

  • Updated test_wait_for_asynchronous_object to use substring assertions (resilient to message changes)
  • All 1342 tests pass

🤖 Generated with Claude Code

PR 8 of 11. Independent — no dependencies on other PRs.

- PollingTimeoutError now includes job_id, timeout duration,
  and explains the server-side job continues running
- ConditionTimeoutError now explains client timeout is
  independent of server-side work and suggests increasing
  timeout or polling manually

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@gjmulhol

Copy link
Copy Markdown
Author

Consolidated into docs/improve-sdk-documentation branch.

@gjmulhol gjmulhol closed this Mar 25, 2026
@gjmulhol gjmulhol deleted the improve/timeout-error-messages branch March 25, 2026 22:26
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