Skip to content

Add feature flag to tell formplayer to use specific cache key.#37611

Merged
MartinRiese merged 1 commit intomasterfrom
riese/cache_key_ff
Apr 22, 2026
Merged

Add feature flag to tell formplayer to use specific cache key.#37611
MartinRiese merged 1 commit intomasterfrom
riese/cache_key_ff

Conversation

@MartinRiese
Copy link
Copy Markdown
Contributor

@MartinRiese MartinRiese commented Apr 20, 2026

Product Description

Add feature flag to be used in formplayer. We think there is a bug caused by
poluted caches. This will tell formplayer to use more specific keys.

The performance implications are not quite clear. So we are putting the
functionality behind a FF so we can test it

Technical Summary

https://dimagi.atlassian.net/browse/USH-6536

Feature Flag

CASE_SEARCH_CACHE_KEY

Safety Assurance

See: dimagi/formplayer#1770

Safety story

Automated test coverage

QA Plan

Rollback instructions

  • This PR can be reverted after deploy with no further considerations

Labels & Review

  • Risk label is set correctly
  • The set of people pinged as reviewers is appropriate for the level of risk of the change

@MartinRiese MartinRiese added the product/feature-flag Change will only affect users who have a specific feature flag enabled label Apr 20, 2026
@MartinRiese MartinRiese requested a review from esoergel April 20, 2026 17:26
CASE_SEARCH_CACHE_KEY = StaticToggle(
'case_search_cache_key',
'Case Search: Formplayer cache key',
TAG_GA_PATH,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nit: probably TAG_INTERNAL

@MartinRiese MartinRiese marked this pull request as ready for review April 22, 2026 13:59
@MartinRiese MartinRiese merged commit 782bf10 into master Apr 22, 2026
21 checks passed
@MartinRiese MartinRiese deleted the riese/cache_key_ff branch April 22, 2026 13:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product/feature-flag Change will only affect users who have a specific feature flag enabled

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants