Skip to content

chore: remove obsolete fix-bootstrap-post-clone.sh recovery script - #826

Open
allamand wants to merge 1 commit into
aws-samples:mainfrom
allamand:chore/remove-obsolete-fix-bootstrap-post-clone
Open

chore: remove obsolete fix-bootstrap-post-clone.sh recovery script#826
allamand wants to merge 1 commit into
aws-samples:mainfrom
allamand:chore/remove-obsolete-fix-bootstrap-post-clone

Conversation

@allamand

Copy link
Copy Markdown
Contributor

What

Removes scripts/fix-bootstrap-post-clone.sh.

Why it's obsolete

  • Its premise (bootstrap-mise.sh) no longer exists in the tree.
  • Not wired into any Taskfile or referenced by workshop content — only a dated docs/UPGRADE-FROM-MAIN-2026-05.md checklist line (stale path).
  • The git/NFS clone bug it recovered from is fixed in the current bootstrap (git_clone_with_retry + shopt -s dotglob + clone-to-/tmp-then-move).
  • As a hand-maintained duplicate of the bootstrap tail, it had drifted and still carried a frozen-PATH bug: echo "export PATH=…:$PATH" (double quotes) baked the bootstrap-time mise install paths into ~/.bashrc.d/aliases.sh, so bumping a mise-pinned tool version had no effect. Fixed at the real source instead.

Note

The only remaining reference is a historical upgrade log; left untouched (point-in-time record).

This manual break-glass helper re-ran the post-clone steps of the old
bootstrap-mise.sh when a git/NFS clone bug interrupted the workshop repo clone.
It is now obsolete:
- its premise file (bootstrap-mise.sh) no longer exists;
- it is not referenced by any Taskfile or workshop content (only a dated upgrade doc);
- the clone reliability bug it worked around is fixed in the current bootstrap
  (git_clone_with_retry + shopt -s dotglob + clone-to-/tmp-then-move);
- being a hand-maintained duplicate of the bootstrap tail, it had drifted and
  carried the frozen-PATH bug in aliases.sh (mise tool versions baked in),
  now fixed at the real source.
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