fix: reprovision workflow bugs #7

Merged
michal merged 1 commits from fix/reprovision-bugs into main 2026-03-30 22:44:44 +00:00
Owner

Summary

  • Add UserKnownHostsFile=/dev/null to SSH options in debug and reprovision commands to suppress host key change warnings after reprovisioning
  • Fix log follower exiting immediately on "installed" status when reprovision hasn't started yet (tracks sawInstalling state)
  • Reorder bastion status endpoint to prioritize active install queue over stale installed state during reprovision
  • Minor .gitignore update for task files

Test plan

  • Reprovision a machine and verify SSH connects without host key warnings
  • Run labctl logs --follow during reprovision and verify it waits for install to start
  • Check /bastions/:id/machines/:mac returns correct status during active reprovision

🤖 Generated with Claude Code

## Summary - Add `UserKnownHostsFile=/dev/null` to SSH options in debug and reprovision commands to suppress host key change warnings after reprovisioning - Fix log follower exiting immediately on "installed" status when reprovision hasn't started yet (tracks `sawInstalling` state) - Reorder bastion status endpoint to prioritize active install queue over stale installed state during reprovision - Minor .gitignore update for task files ## Test plan - [ ] Reprovision a machine and verify SSH connects without host key warnings - [ ] Run `labctl logs --follow` during reprovision and verify it waits for install to start - [ ] Check `/bastions/:id/machines/:mac` returns correct status during active reprovision 🤖 Generated with [Claude Code](https://claude.com/claude-code)
michal added 1 commit 2026-03-30 22:38:07 +00:00
fix: reprovision workflow bugs — SSH host key warnings, log following, status priority
Some checks failed
CI/CD / lint (pull_request) Failing after 10s
CI/CD / test (pull_request) Failing after 10s
CI/CD / typecheck (pull_request) Failing after 23s
CI/CD / build (pull_request) Has been skipped
CI/CD / publish-rpm (pull_request) Has been skipped
CI/CD / publish-deb (pull_request) Has been skipped
6a5f23c0f5
- Add UserKnownHostsFile=/dev/null to SSH in debug and reprovision commands
- Track install state in log follower so it doesn't exit prematurely on "installed"
- Reorder bastion status check to prioritize active queue over stale installed state
- Update .gitignore with task file entries

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
michal merged commit 8635da08a6 into main 2026-03-30 22:44:44 +00:00
michal deleted branch fix/reprovision-bugs 2026-03-30 22:44:44 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: michal/lab#7