Skip to content

Reject ignored cache overrides in integration snapshots - #727

Closed
zaniebot wants to merge 2 commits into
mainfrom
zb/reject-ignored-test-cache-overrides
Closed

zaniebot wants to merge 2 commits into
mainfrom
zb/reject-ignored-test-cache-overrides

Conversation

@zaniebot

Copy link
Copy Markdown
Collaborator

Integration tests can silently set UV_CACHE_DIR on a TestContext command that already supplies --cache-dir, so command-line precedence ignores the requested cache and leaves the intended behavior untested. Reject that combination immediately before snapshot execution, preserve raw commands whose environment override is effective, and update the existing version fixture to configure its actual cache directory.

@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/reject-ignored-test-cache-overrides branch from 13b4092 to e9a60fb Compare August 13, 2026 23:00
@astral-automations-bot
astral-automations-bot Bot force-pushed the zb/reject-ignored-test-cache-overrides branch from e9a60fb to c817df9 Compare August 13, 2026 23:12
@zanieb
zanieb marked this pull request as ready for review August 13, 2026 23:36
@astral-automations-bot

Copy link
Copy Markdown

Promoted to #21119.

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