feat(pip): verify git & https access from pip container (Fixes #216)

This commit is contained in:
operator
2026-10-10 15:44:34 +00:00
parent 6361192917
commit 8ce7ac7d26
226 changed files with 3116 additions and 0 deletions
@@ -0,0 +1,13 @@
# 205-container-rebuild-recovery: Container rebuild recovery standardization
Goal: Standardize recover-after-rebuild.sh in container workspaces (/home/hatch/workspace/recover/) to preserve tools, keys, and environment across rebuilds
Steps:
1. Inventory existing recovery scripts across containers. 2. Template recover-after-rebuild.sh for hatch workspace. 3. Verify non-destructive dry run.
Done criteria: result notes appended below; file moved to done/.
Result notes (append below before moving to done/):
Completed 2026-10-09T12:54:35Z via box tasks done:
Standardized recover-after-rebuild.sh for container workspaces under cloud-uptime/recover-after-rebuild.sh. Implemented: 1) dynamic sourcing of ~/workspace/tunnel/machine.env (MUSE_MACHINE, SSH_PORT, TERM_PORT), 2) single-transaction apt package installs with deb cache check, 3) persistent crontab restore via persistent-crontab.sh, 4) SSH key and host key auto-restoration, 5) dry-run mode support. Added test suite in tests/test_recover_after_rebuild.py with 4/4 passing unit tests (syntax, dry-run, env override). Committed to branch builder/container-rebuild-recovery (a5990a0).