Skip to content

fix: repair a moved runner's links when re-registering it - #75

Merged
aicayzer merged 1 commit into
mainfrom
fix/reregister-repairs-links
Sep 5, 2026
Merged

fix: repair a moved runner's links when re-registering it#75
aicayzer merged 1 commit into
mainfrom
fix/reregister-repairs-links

Conversation

@aicayzer

@aicayzer aicayzer commented Sep 5, 2026

Copy link
Copy Markdown
Owner

Follow-up to #73.

reregister is the documented recovery from a rename that failed part way, and that failure leaves the runner directories moved with their bin and externals links still pointing where they used to be. config.sh cannot start against those, so the recovery command hit the same wall as the thing it was recovering from.

Repairing the links is part of repairing the install rather than a separate errand, and it is a no-op on a healthy runner whose links are already relative.

Covered by a case that moves an install behind the tool's back and asserts reregister both succeeds and leaves the link relative.

reregister is the documented recovery from a rename that failed part
way, and that failure leaves the runner directories moved with their bin
and externals links still pointing where they used to be. config.sh
cannot start against those, so the recovery command hit the same wall as
the thing it was recovering from.

A no-op on a healthy runner, whose links are already relative.
@aicayzer
aicayzer merged commit 1580d8c into main Sep 5, 2026
2 checks passed
@aicayzer
aicayzer deleted the fix/reregister-repairs-links branch September 5, 2026 20:12
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.

1 participant