Location: crates/hx-core/src/agent.rs (stream with retries, ~line 428)
What is hacky: fixed backoff; Error::Api carries no headers; mid-stream errors are not retried.
Proper fix: carry retry-after in the error and honor it; resume or retry mid-stream failures.
Original comment: "ponytail: ignores retry-after (Error::Api carries no headers) and mid-stream failures; add if seen."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
Location: crates/hx-core/src/agent.rs (stream with retries, ~line 428)
What is hacky: fixed backoff; `Error::Api` carries no headers; mid-stream errors are not retried.
Proper fix: carry retry-after in the error and honor it; resume or retry mid-stream failures.
Original comment: "ponytail: ignores `retry-after` (Error::Api carries no headers) and mid-stream failures; add if seen."
Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).
johannes
added the core label 2026-11-21 12:36:47 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Location: crates/hx-core/src/agent.rs (stream with retries, ~line 428)
What is hacky: fixed backoff;
Error::Apicarries no headers; mid-stream errors are not retried.Proper fix: carry retry-after in the error and honor it; resume or retry mid-stream failures.
Original comment: "ponytail: ignores
retry-after(Error::Api carries no headers) and mid-stream failures; add if seen."Found by the comment audit: the comment excusing this was deleted (see scripts/lint-comments.sh).