Skip to content

Conversation

@dpetran
Copy link
Contributor

@dpetran dpetran commented Jul 2, 2025

Fixes https://github.com/fluree/core/issues/179

This is the approved #1031 cherry picked onto main, since it was behind another PR that requires additional review.

Moves policy execution tracking out the Db record and into the tracker.

dpetran added 4 commits July 2, 2025 16:15
We unfortunately cannot register policies in the tracker while wrapping policies, since
a db may come in pre-wrapped by a call to `wrap-policy`. We must instead check the db
itself for whatever policies it has been wrapped with and initialize tracking of those.
These expectations were incorrect and reflected the reuse of the db policy
tracer. Modify policies are /not/ evaluated during the execution of a query, and the
report that stated they were was erroneous.
@dpetran dpetran force-pushed the fix/policy-tracking2 branch from 527da00 to 306319a Compare July 2, 2025 21:28
@dpetran dpetran mentioned this pull request Jul 2, 2025
@dpetran dpetran force-pushed the fix/policy-tracking2 branch from 306319a to f083b28 Compare July 2, 2025 21:31
Copy link
Contributor

@zonotope zonotope left a comment

Choose a reason for hiding this comment

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

🍁

@dpetran dpetran merged commit 3392dc1 into main Jul 3, 2025
8 checks passed
@dpetran dpetran deleted the fix/policy-tracking2 branch July 3, 2025 12:30
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.

3 participants