Skip to content

fix(gateway): 修复仅配置 provider retry 时 429 不重试#337

Closed
Kayphoon wants to merge 1 commit intofawney19:aether-rust-pioneerfrom
Kayphoon:fix-provider-retry-429
Closed

fix(gateway): 修复仅配置 provider retry 时 429 不重试#337
Kayphoon wants to merge 1 commit intofawney19:aether-rust-pioneerfrom
Kayphoon:fix-provider-retry-429

Conversation

@Kayphoon
Copy link
Copy Markdown
Contributor

Summary

  • attempt.rs: 从 failover_rules/endpoint/provider 三级读取 max_retries 生成 attempt slots,支持配置 provider retry 后 429 自动重试,限制最大 99 并兼容 legacy 默认值 2
  • request_candidate.rs: 封装 candidate extra_data 构造参数,修复 workspace clippy 的 too_many_arguments 检查

Verification

  • cargo fmt --all -- --check
  • cargo clippy --workspace --all-targets -- -D warnings
  • cargo test -p aether-scheduler-core
  • cargo test --manifest-path apps/aether-gateway/Cargo.toml build_local_attempt_identities -- --nocapture
  • cargo test --manifest-path apps/aether-gateway/Cargo.toml

- attempt.rs: 从 failover_rules/endpoint/provider 三级读取 max_retries 生成 attempt slots,支持配置 provider retry 后 429 自动重试,限制最大 99 并兼容 legacy 默认值 2

- request_candidate.rs: 封装 candidate extra_data 构造参数,修复 workspace clippy 的 too_many_arguments 检查
@Kayphoon
Copy link
Copy Markdown
Contributor Author

Superseded by scope-clean PR #338. This one included an unrelated request_candidate.rs clippy cleanup, so closing to keep the retry fix focused.

@Kayphoon Kayphoon closed this Apr 25, 2026
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