Skip to content

Update Request Retry docs for the 4.x HTTP protocol - #3653

Open
spmallette wants to merge 1 commit into
apache:masterfrom
spmallette:tp-docs-request-retry-section-stale-for-4-x-resp
Open

spmallette wants to merge 1 commit into
apache:masterfrom
spmallette:tp-docs-request-retry-section-stale-for-4-x-resp

Conversation

@spmallette

Copy link
Copy Markdown
Contributor

The Request Retry section still described the pre-4.x mechanism, telling readers to detect a transient error via a ResponseStatusCode of SERVER_ERROR_TEMPORARY (code 596). Those constructs no longer exist after the move to the HTTP protocol.

Describe how a transient error surfaces under HTTP: an HTTP 500 response whose body carries an "exception" field set to "ServerEvaluationException", raised when a server-side provider throws an exception implementing TemporaryException. Add a Java driver example that inspects ResponseException.getRemoteException() to branch into retry logic, and note that raw HTTP clients read the same field from the response body.

The Request Retry section still described the pre-4.x mechanism, telling
readers to detect a transient error via a ResponseStatusCode of
SERVER_ERROR_TEMPORARY (code 596). Those constructs no longer exist after
the move to the HTTP protocol.

Describe how a transient error surfaces under HTTP: an HTTP 500 response
whose body carries an "exception" field set to "ServerEvaluationException",
raised when a server-side provider throws an exception implementing
TemporaryException. Add a Java driver example that inspects
ResponseException.getRemoteException() to branch into retry logic, and note
that raw HTTP clients read the same field from the response body.

Assisted-by: Kiro:claude-opus-4.8
@codecov-commenter

codecov-commenter commented Sep 14, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 76.72%. Comparing base (a28cd1f) to head (480d5b9).
⚠️ Report is 612 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff              @@
##             master    #3653      +/-   ##
============================================
+ Coverage     76.35%   76.72%   +0.36%     
- Complexity    13424    14340     +916     
============================================
  Files          1012     1037      +25     
  Lines         60341    64761    +4420     
  Branches       7075     7695     +620     
============================================
+ Hits          46076    49690    +3614     
- Misses        11548    11976     +428     
- Partials       2717     3095     +378     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

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.

2 participants