Skip to content

Conversation

@gabrielfranca95
Copy link

Description

This PR fixes an issue where pre-SRA (standard and adaptive) retry modes were incorrectly attributed as "Legacy" (feature ID D) in the User-Agent header.

With this change, pre-SRA retry modes are correctly identified:

  • Standard Mode: E
  • Adaptive Mode: F

And the Legacy D tag is removed when these modes are active.

Issue links

Fixes #7574

Testing

Added a new test file packages/middleware-user-agent/src/check-features-repro.spec.ts to verify that:

  1. standard retry mode without SRA produces feature E and not D.
  2. adaptive retry mode without SRA produces feature F and not D.

- Differentiate pre-SRA retries into standard (E) and adaptive (F)

- Remove incorrect 'D' (legacy) attribution

- Add tests for pre-SRA standard and adaptive modes

- Fixes aws#7574
@gabrielfranca95 gabrielfranca95 requested a review from a team as a code owner January 14, 2026 00:14
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.

feature attribution for retry mode should not include "legacy"

1 participant