powertools-lambda-python icon indicating copy to clipboard operation
powertools-lambda-python copied to clipboard

Maintenance: Refactor Feature Flags

Open heitorlessa opened this issue 3 years ago • 2 comments

Summary

Stream of consciousness tasks

  • [ ] Split feature flags functional tests into unit and functional
  • [ ] Make Schema Validation errors more granular (backwards compatible!) to decouple tests (match="...")
  • [ ] Review areas where we can make testing easier to author and less error-prone
  • [ ] Identify slowest areas that contribute to tests being the slowest in our test suites (e.g., we're unnecessarily creating a dict of anonymous lambda fns)

Why is this needed?

Feature flags tests are dubious in value and we tend to find newer bugs that are easily preventable - see #2058. We haven't invested much in refactoring feature flags since the early days, and rushed to launch for various reasons.

We need to pay tech debt and make it more robust, and more easily extensible (future bring-your-own-conditions of sorts, new Storage Layer).

Which area does this relate to?

Feature flags

Solution

No response

Acknowledgment

heitorlessa avatar Mar 28 '23 10:03 heitorlessa

Closing as not planned for now

anafalcao avatar Jan 22 '25 12:01 anafalcao

⚠️COMMENT VISIBILITY WARNING⚠️

This issue is now closed. Please be mindful that future comments are hard for our team to see.

If you need more assistance, please either tag a team member or open a new issue that references this one.

If you wish to keep having a conversation with other community members under this issue feel free to do so.

github-actions[bot] avatar Jan 22 '25 12:01 github-actions[bot]