Skip to content

Fix interpreter cache invalidation test - #21072

Merged
zanieb merged 1 commit into
mainfrom
zb/test-interpreter-cache-invalidation-21066
Aug 12, 2026
Merged

zanieb merged 1 commit into
mainfrom
zb/test-interpreter-cache-invalidation-21066

Conversation

@astral-automations-bot

Copy link
Copy Markdown
Contributor

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 enabled auto-merge (squash) August 12, 2026 15:13
@zanieb
zanieb merged commit 4d4f3e3 into main Aug 12, 2026
56 checks passed
@zanieb
zanieb deleted the zb/test-interpreter-cache-invalidation-21066 branch August 12, 2026 15:18

This branch was previously deployed

1 inactive deployment
automations — 890f6374 Deployed Aug 12, 2026 by astral-automations-bot[bot] via review / security review #44555
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.

1 participant