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: fixes disable cache flow #3132

Merged
merged 1 commit into from
Oct 31, 2023
Merged

Conversation

nilekhc
Copy link
Contributor

@nilekhc nilekhc commented Oct 30, 2023

What this PR does / why we need it:

This PR adds checks to make sure the external data provider cache is not used when disabled.

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #3119

Special notes for your reviewer:

@nilekhc nilekhc requested a review from a team as a code owner October 30, 2023 23:16
Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

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

LGTM

@codecov-commenter
Copy link

codecov-commenter commented Oct 30, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (40f15ef) 52.66% compared to head (d225810) 52.68%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3132      +/-   ##
==========================================
+ Coverage   52.66%   52.68%   +0.01%     
==========================================
  Files         134      134              
  Lines       11890    11890              
==========================================
+ Hits         6262     6264       +2     
+ Misses       5141     5140       -1     
+ Partials      487      486       -1     
Flag Coverage Δ
unittests 52.68% <ø> (+0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 1 file with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
@sozercan sozercan merged commit 01b65ad into open-policy-agent:master Oct 31, 2023
16 of 17 checks passed
@nilekhc nilekhc deleted the fix-edrc branch October 31, 2023 15:17
acpana pushed a commit to acpana/gatekeeper that referenced this pull request Nov 16, 2023
Signed-off-by: Nilekh Chaudhari <1626598+nilekhc@users.noreply.github.com>
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.

External Data function eval failing in 3.14.0-rc.2
4 participants