Skip to content
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: change STALE reason in case of context change #79

Merged
merged 1 commit into from
Feb 8, 2024

Conversation

nickybondarenko
Copy link
Contributor

Previously, the provider would emit STALE if the evaluation context changed and the cache has been populated with default values due to fetch request not being finished. We believe that trying to access cache too early is an error on the user's side and should be communicated as an ERROR and not STALE.

@nickybondarenko nickybondarenko force-pushed the stale-cache-provider-eval branch from 65649cd to 6d9ec6c Compare February 8, 2024 12:33
@nickybondarenko nickybondarenko merged commit 9f5c91f into main Feb 8, 2024
3 checks passed
@nickybondarenko nickybondarenko deleted the stale-cache-provider-eval branch February 8, 2024 12:48
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.

2 participants