Skip to content

Recover incomplete fresh tool exports - #2538

Draft
zaniebot wants to merge 7 commits into
zb/opportunity-17-09-tool-export-lockfrom
zb/opportunity-18-05-tool-export-transaction
Draft

zaniebot wants to merge 7 commits into
zb/opportunity-17-09-tool-export-lockfrom
zb/opportunity-18-05-tool-export-transaction

Conversation

@zaniebot

@zaniebot zaniebot commented Oct 8, 2026

Copy link
Copy Markdown
Collaborator

Fresh tool installation can leave commands without a receipt after an export or metadata write fails. Prepare the complete executable set, retain ownership-checked backups, and record publication intent before changing commands. Recover incomplete publication on failure or the next install, upgrade, or uninstall; retain committed state when cleanup must be deferred.

This requires hard-link-capable executable filesystems and permission to create the identity anchors. Unsupported destinations fail without discarding prior exports. Windows replacement retains the DACL and refuses changes to ownership or mandatory access policy.

Builds on #2537.

@astral-automations-bot astral-automations-bot Bot added bug Something isn't working preview Experimental behavior labels Oct 8, 2026
@codspeed

codspeed Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

Merging this PR will not alter performance

✅ 25 untouched benchmarks


Comparing zb/opportunity-18-05-tool-export-transaction (1b1677e) with zb/opportunity-17-09-tool-export-lock (1ddb163)

Open in CodSpeed

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 preview Experimental behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant