Skip to content

Fix interpreter cache invalidation test - #614

Closed
zaniebot wants to merge 1 commit into
mainfrom
zb/test-interpreter-cache-invalidation-21066
Closed

zaniebot wants to merge 1 commit into
mainfrom
zb/test-interpreter-cache-invalidation-21066

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

The existing interpreter-cache invalidation test reports a sys.executable that does not match its mock executable, so interpreter metadata is never cached and the test passes without exercising cache reuse or invalidation. Point the fixture at the actual mock executable and assert that interpreter metadata is cached, reused without another interpreter query, and refreshed after the executable timestamp changes. This only strengthens existing cache coverage and does not change production behavior.

@astral-automations-bot astral-automations-bot Bot added internal A refactor or improvement that is not user-facing internal:testing Internal testing of behavior labels Aug 12, 2026
@zanieb
zanieb marked this pull request as ready for review August 12, 2026 15:11
@astral-automations-bot

Copy link
Copy Markdown

Promoted to #21072.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal:testing Internal testing of behavior internal A refactor or improvement that is not user-facing

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants