Skip to content

Honor Retry-After in from_http#6173

Open
aljazerzen wants to merge 1 commit into
mainfrom
topic/from-http-retry-after
Open

Honor Retry-After in from_http#6173
aljazerzen wants to merge 1 commit into
mainfrom
topic/from-http-retry-after

Conversation

@aljazerzen
Copy link
Copy Markdown
Contributor

@aljazerzen aljazerzen commented May 13, 2026

🔍 Problem

  • from_http still ignores Retry-After on retryable HTTP responses.

🛠️ Solution

  • Reuse the shared Retry-After parsing and backoff helpers in from_http.
  • Carry the parsed retry delay through the retryable response path.
  • Add regression coverage for 429 with Retry-After.

💬 Review

  • Focus on the from_http retry path and the extracted HTTP retry-delay helpers.
  • This PR is stacked on top of Add diagnostics for HTTP retries #6172.
  • I did not run tests locally because this checkout has no configured build.
📎 Related: #6172
Resolves TNZ-590

@github-actions github-actions Bot added engine Core pipeline and storage engine plugin C++ plugin or builtin labels May 13, 2026
@aljazerzen aljazerzen force-pushed the topic/http-retry-diagnostics branch 3 times, most recently from f1a0dbc to 2d4d8a4 Compare May 13, 2026 19:01
@aljazerzen aljazerzen force-pushed the topic/from-http-retry-after branch from 4f4a7d6 to 58c8d8f Compare May 13, 2026 19:06
@aljazerzen aljazerzen force-pushed the topic/http-retry-diagnostics branch from 2d4d8a4 to ceb6b83 Compare May 14, 2026 08:29
Base automatically changed from topic/http-retry-diagnostics to main May 14, 2026 09:58
Teach from_http to reuse the Retry-After parsing and backoff logic
used by the shared HTTP client helpers.

This preserves retry diagnostics while making 429 handling follow the
server-provided delay and adds regression coverage for that path.
@aljazerzen aljazerzen force-pushed the topic/from-http-retry-after branch from 58c8d8f to 9f4a84d Compare May 14, 2026 10:02
@aljazerzen aljazerzen enabled auto-merge (squash) May 14, 2026 10:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

engine Core pipeline and storage engine plugin C++ plugin or builtin

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants