Thanks to visit codestin.com
Credit goes to github.com

Skip to content

fix change_message_visibility behaviour for expired handles #9632

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

Merged
merged 1 commit into from
Nov 15, 2023

Conversation

baermat
Copy link
Member

@baermat baermat commented Nov 14, 2023

Motivation

Customer reported an error when changing message visibility. This most likely comes from a discrepancy between AWS and us when calling change_message_visibility.
Fixes #9598

Changes

  • fix behaviour when calling change_message_visibility on an already expired handle, where AWS simply sends back an OK and does nothing while we returned an error.

@baermat baermat added the semver: patch Non-breaking changes which can be included in patch releases label Nov 14, 2023
@baermat baermat added this to the 3.1 milestone Nov 14, 2023
@coveralls
Copy link

coveralls commented Nov 14, 2023

Coverage Status

coverage: 84.015% (+0.01%) from 84.005%
when pulling 8326abc on fix/9598-change-message-visibility
into 10940eb on master.

@rlauer6
Copy link

rlauer6 commented Nov 14, 2023

Hey just a note - my original report was on a message that I just pulled - the handle was not expired

Copy link

github-actions bot commented Nov 14, 2023

LocalStack Community integration with Pro

       2 files         2 suites   1h 9m 50s ⏱️
2 316 tests 2 017 ✔️ 299 💤 0
2 317 runs  2 017 ✔️ 300 💤 0

Results for commit 8326abc.

♻️ This comment has been updated with latest results.

@baermat baermat marked this pull request as ready for review November 14, 2023 21:42
@baermat baermat requested a review from thrau as a code owner November 14, 2023 21:42
@baermat baermat requested a review from bentsku November 14, 2023 21:42
Copy link
Contributor

@bentsku bentsku left a comment

Choose a reason for hiding this comment

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

LGTM! Nice AWS validated test! Just by curiosity, do we know when or whereMessageNotInflight is actually raised?
Thanks for tackling this issue 🚀

@baermat
Copy link
Member Author

baermat commented Nov 15, 2023

LGTM! Nice AWS validated test! Just by curiosity, do we know when or whereMessageNotInflight is actually raised? Thanks for tackling this issue 🚀

No I do not, it might simply be an unused remnant in the api

@bentsku
Copy link
Contributor

bentsku commented Nov 15, 2023

No I do not, it might simply be an unused remnant in the api
Okay thanks for answering 😄 sorry for the merge conflict, it was all these last minutes SQS fixes 😅

@baermat baermat force-pushed the fix/9598-change-message-visibility branch from 611381e to 8326abc Compare November 15, 2023 09:43
@baermat baermat modified the milestones: 3.1, 3.0 Nov 15, 2023
@baermat baermat merged commit cca230a into master Nov 15, 2023
@baermat baermat deleted the fix/9598-change-message-visibility branch November 15, 2023 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver: patch Non-breaking changes which can be included in patch releases
Projects
None yet
Development

Successfully merging this pull request may close these issues.

SQS: ChangeMessageVisibility not working
4 participants