Skip to content

ast: Fixing type-checker schema cache race condition for inlined schemas#7680

Merged
johanfylling merged 3 commits intoopen-policy-agent:mainfrom
johanfylling:fix/type-checker_schema_cache_race-condition
Jun 10, 2025
Merged

ast: Fixing type-checker schema cache race condition for inlined schemas#7680
johanfylling merged 3 commits intoopen-policy-agent:mainfrom
johanfylling:fix/type-checker_schema_cache_race-condition

Conversation

@johanfylling
Copy link
Copy Markdown
Contributor

Fixes: #7679

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 9, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit b924d9c
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/6847154128567f0008cde55e
😎 Deploy Preview https://deploy-preview-7680--openpolicyagent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Member

@anderseknert anderseknert left a comment

Choose a reason for hiding this comment

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

Looks good to me!

Any chance this fix has any impact on #7571?

@johanfylling
Copy link
Copy Markdown
Contributor Author

Looks like the same thing, @anderseknert. Will need to check to make sure, though.

@anderseknert
Copy link
Copy Markdown
Member

It did look very similar. Let's hope it is!

@johanfylling
Copy link
Copy Markdown
Contributor Author

Confirmed, this also fixes #7571

@netlify
Copy link
Copy Markdown

netlify Bot commented Jun 10, 2025

Deploy Preview for openpolicyagent ready!

Name Link
🔨 Latest commit ddcd5ee
🔍 Latest deploy log https://app.netlify.com/projects/openpolicyagent/deploys/6847fea85f36d5000813c1e5
😎 Deploy Preview https://deploy-preview-7680--openpolicyagent.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@johanfylling johanfylling merged commit 9ed784a into open-policy-agent:main Jun 10, 2025
28 checks passed
@johanfylling johanfylling deleted the fix/type-checker_schema_cache_race-condition branch June 10, 2025 09:56
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.

Inlined schema annotations cause race condition in type-checker schema cache

2 participants