Skip to content

Issue/1611 stale async expression cache#1928

Open
janadh wants to merge 2 commits intomainfrom
issue/1611-stale-async-expression-cache
Open

Issue/1611 stale async expression cache#1928
janadh wants to merge 2 commits intomainfrom
issue/1611-stale-async-expression-cache

Conversation

@janadh
Copy link
Copy Markdown
Collaborator

@janadh janadh commented May 1, 2026

@leoniedickson, When you get a chance, can you please verify if the change is okay and does not break any other functionalities?

Janardhan Vignarajan added 2 commits May 1, 2026 11:33
- Extend isExpressionCached and cacheTerminologyResult with an optional
  focusNode parameter that is serialised into the cache key
- Pass qrItem as focusNode in evaluateLinkIdVariables and resource in
  evaluateQuestionnaireLevelVariables so that async terminology results
  (e.g. memberOf()) are not reused when the evaluated input changes
- Add unit tests covering the compound cache key behaviour and the stale
  result regression scenario
@janadh janadh requested a review from leoniedickson May 1, 2026 04:16
@janadh janadh self-assigned this May 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant