-
Notifications
You must be signed in to change notification settings - Fork 406
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(idempotency): POWERTOOLS_IDEMPOTENCY_DISABLED should respect truthy values #4391
fix(idempotency): POWERTOOLS_IDEMPOTENCY_DISABLED should respect truthy values #4391
Conversation
Thanks a lot for your first contribution! Please check out our contributing guidelines and don't hesitate to ask whatever you need. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #4391 +/- ##
===========================================
- Coverage 96.38% 96.28% -0.10%
===========================================
Files 214 219 +5
Lines 10030 10489 +459
Branches 1846 1871 +25
===========================================
+ Hits 9667 10099 +432
- Misses 259 274 +15
- Partials 104 116 +12 ☔ View full report in Codecov by Sentry. |
Hi @stevenhoelscher! Thank you so much for submitting this PR. It's a great catch, and I'm glad you discovered this long-standing bug. We really appreciate you taking the time to fix it! I made only two changes in this PR: Thanks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let's add a warning to prevent customers forgetting it's disabled in dev but promoting it to prod.
@heitorlessa ready to review again. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Last question to clarify a piece I missed (changes are great!!)
Quality Gate passedIssues Measures |
Awesome work, congrats on your first merged pull request and thank you for helping improve everyone's experience! |
hey @stevenhoelscher thank you so much for kicking this off <3 |
Issue number: 4390
Summary
Changes
POWERTOOLS_IDEMPOTENCY_DISABLED
environment variable, first transform the string truthy value into abool
.User experience
POWERTOOLS_IDEMPOTENCY_DISABLED=false
but the idempotency layer would actually be disabledPOWERTOOLS_IDEMPOTENCY_DISABLED=false
and the idempotency layer would not be disabledChecklist
If your change doesn't seem to apply, please leave them unchecked.
Is this a breaking change?
RFC issue number:
Checklist:
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.