Skip to content

lsp: Skip loading files on disk when in cache#1620

Merged
charlieegan3 merged 1 commit intoopen-policy-agent:mainfrom
charlieegan3:skip-when-in-cache
Jul 1, 2025
Merged

lsp: Skip loading files on disk when in cache#1620
charlieegan3 merged 1 commit intoopen-policy-agent:mainfrom
charlieegan3:skip-when-in-cache

Conversation

@charlieegan3
Copy link
Copy Markdown
Contributor

This was an oversight in the previous implementation, if the file is already in the cache then the server is aware of it and we can return earlier.

@charlieegan3
Copy link
Copy Markdown
Contributor Author

thanks Stephan!

@charlieegan3 charlieegan3 force-pushed the skip-when-in-cache branch 2 times, most recently from 4c476a9 to 6358219 Compare July 1, 2025 10:28
This was an oversight in the previous implementation.

Signed-off-by: Charlie Egan <charlie@styra.com>
@charlieegan3 charlieegan3 merged commit 2ea4489 into open-policy-agent:main Jul 1, 2025
6 checks passed
@charlieegan3 charlieegan3 deleted the skip-when-in-cache branch July 1, 2025 10:37
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