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(parser): make size and etag optional for LifecycleExpiration events in S3 #5250

Merged
merged 1 commit into from
Sep 26, 2024

Conversation

leandrodamascena
Copy link
Contributor

Issue number: #5129

Summary

Changes

This PR addresses an issue with parsing S3 LifecycleExpiration:* payload for S3 events. Before this PR the size and etag fields are optional for ObjectRemoved events only.

User experience

Please share what the user experience looks like before and after this change

Checklist

If your change doesn't seem to apply, please leave them unchecked.

Is this a breaking change?

RFC issue number:

Checklist:

  • Migration process documented
  • Implement warnings (if it can live side by side)

Acknowledgment

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Disclaimer: We value your time and bandwidth. As such, any pull requests created on non-triaged issues might not be successful.

@leandrodamascena leandrodamascena requested a review from a team as a code owner September 26, 2024 15:34
@pull-request-size pull-request-size bot added the size/XS Denotes a PR that changes 0-9 lines, ignoring generated files. label Sep 26, 2024
Copy link

@github-actions github-actions bot added the bug Something isn't working label Sep 26, 2024
@leandrodamascena leandrodamascena changed the title fix(parser): make size and etag optional for LifecycleExpiration events fix(parser): make size and etag optional for LifecycleExpiration events in S3 Sep 26, 2024
Copy link

codecov bot commented Sep 26, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 96.21%. Comparing base (ce26dc2) to head (76b9805).
Report is 4 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #5250   +/-   ##
========================================
  Coverage    96.21%   96.21%           
========================================
  Files          229      229           
  Lines        10755    10755           
  Branches      2003     2003           
========================================
  Hits         10348    10348           
  Misses         321      321           
  Partials        86       86           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@dreamorosi dreamorosi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🚢

@leandrodamascena leandrodamascena merged commit ff1bafa into develop Sep 26, 2024
16 checks passed
@leandrodamascena leandrodamascena deleted the fix/lifecycle-s3 branch September 26, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working size/XS Denotes a PR that changes 0-9 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bug: S3 SQS Event Parsing for LifecycleExpiration:Delete is failed
2 participants