Skip to content

Correctly insert already cached docs#165

Merged
ChrisPenner merged 1 commit into
mainfrom
cp/fix-doc-caching
Dec 9, 2025
Merged

Correctly insert already cached docs#165
ChrisPenner merged 1 commit into
mainfrom
cp/fix-doc-caching

Conversation

@ChrisPenner
Copy link
Copy Markdown
Member

Overview

The logic for inserting doc eval results was incorrect and wouldn't cache a sandboxed eval result if there was already a global cache entry. This should fix that.

We probably weren't running into this very often, but it could come up when looking at docs within libraries.

Implementation notes

Actually check for the sandboxed row, not just the global one.

@ChrisPenner ChrisPenner marked this pull request as ready for review December 8, 2025 22:52
@ChrisPenner ChrisPenner merged commit 2a97fc5 into main Dec 9, 2025
5 checks passed
@ChrisPenner ChrisPenner deleted the cp/fix-doc-caching branch December 9, 2025 18:45
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.

1 participant