Skip to content

Publish forced tool replacements atomically - #2118

Draft
astral-automations-bot[bot] wants to merge 1 commit into
automations/reproduce-bug/22006from
automations/fix-bug/22006
Draft

astral-automations-bot[bot] wants to merge 1 commit into
automations/reproduce-bug/22006from
automations/fix-bug/22006

Conversation

@astral-automations-bot

Copy link
Copy Markdown

Forced tool reinstalls now build a complete sibling environment, rewrite generated paths to the stable destination, and atomically exchange directories on Linux and macOS so concurrent readers never observe a missing environment. The regression test now asserts uninterrupted imports and verifies the installed entrypoint after replacement. Fixes astral-sh#22006

@astral-automations-bot astral-automations-bot Bot added the bug Something isn't working label Sep 27, 2026
@codspeed

codspeed Bot commented Sep 27, 2026

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 41 untouched benchmarks
⏩ 16 skipped benchmarks1


Comparing automations/fix-bug/22006 (5daf58c) with automations/reproduce-bug/22006 (3254305)

Open in CodSpeed

Footnotes

  1. 16 benchmarks were skipped, so the baseline results were used instead. If they were deleted from the codebase, click here and archive them to remove them from the performance reports. ↩

@zaniebot zaniebot added risk:3 Credible risk of meaningful incorrect behavior or regression; bounded or recoverable. priority:2 Important: bounded correctness, release reliability, committed work, or proven performance gains. size:3 Substantial: interacting behaviors, difficult compatibility questions, or a careful migration. labels Sep 27, 2026

This branch has not been deployed

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

Labels

bug Something isn't working priority:2 Important: bounded correctness, release reliability, committed work, or proven performance gains. risk:3 Credible risk of meaningful incorrect behavior or regression; bounded or recoverable. size:3 Substantial: interacting behaviors, difficult compatibility questions, or a careful migration.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant