Skip to content

Allow retryable exceptions without a request - #3548

Open
taljeon wants to merge 1 commit into
OpenFeign:masterfrom
taljeon:codex/retryable-exception-without-request
Open

Allow retryable exceptions without a request#3548
taljeon wants to merge 1 commit into
OpenFeign:masterfrom
taljeon:codex/retryable-exception-without-request

Conversation

@taljeon

@taljeon taljeon commented Sep 1, 2026

Copy link
Copy Markdown

Summary

  • add RetryableException overloads that do not require or retain a Request
  • support both cause and no-cause construction using the current millisecond Long retryAfter value
  • verify request absence and preserved retry metadata with focused tests

Testing

  • mvn -pl core -Pdev -Dtoolchain.skip=true -Dtest=RetryableExceptionTest test (5 passed)
  • mvn -pl core -Pdev -Dtoolchain.skip=true verify (731 passed, 4 skipped)
  • mvn clean install -pl core -Pdev -Dtoolchain.skip=true (731 passed, 4 skipped)
  • git diff --check
  • publication leak scan (no new findings in changed lines or this PR body)

AI assistance

OpenAI Codex assisted with code navigation, implementation, and validation. I reviewed and verified the final changes.

Fixes #1296

Add no-request overloads for both cause and no-cause paths using the current millisecond retry-after type.

OpenAI Codex assisted with implementation and validation; the final changes were reviewed and verified.

Fixes OpenFeign#1296
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.

RetryableException requires Request

1 participant