Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: update S3 status 200 error behavior #4654

Merged
merged 2 commits into from
Jul 11, 2024
Merged

Conversation

kuhe
Copy link
Contributor

@kuhe kuhe commented Jun 27, 2024

Updates S3 status-200 error behavior.

  • current classification of status-200 error is based on a hard-coded allowlist

  • this PR preserves the allowlist, but also expands the detection of status-200 errors to generic criteria:

    • response status is 200
    • response body ends with </Error>, i.e. the root XML element is "Error".
  • npm run test passes

  • changelog is added, npm run add-change

  • ran npx cucumber-js -t @s3

@kuhe kuhe requested a review from a team as a code owner June 27, 2024 15:40
@kuhe kuhe force-pushed the fix/s3-200-errors branch 5 times, most recently from 4bb52ba to c0b3864 Compare June 27, 2024 17:36
@kuhe kuhe force-pushed the fix/s3-200-errors branch 2 times, most recently from 23d4216 to a5c5b09 Compare July 11, 2024 19:20
@kuhe kuhe force-pushed the fix/s3-200-errors branch from a5c5b09 to 41974dd Compare July 11, 2024 19:28
@kuhe kuhe merged commit 3344709 into aws:master Jul 11, 2024
1 check passed
@kuhe kuhe deleted the fix/s3-200-errors branch July 11, 2024 19:56
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.

4 participants