Skip to content

fix(fleet): build what was pushed, and stop calling a good Mac install a failure - #5

Merged
sheehanmunim merged 1 commit into
mainfrom
fix/fleet-remote-drift
Aug 19, 2026
Merged

fix(fleet): build what was pushed, and stop calling a good Mac install a failure#5
sheehanmunim merged 1 commit into
mainfrom
fix/fleet-remote-drift

Conversation

@sheehanmunim

Copy link
Copy Markdown
Member

What changed

Windows refresh repoints a drifted remote, or refuses to build. Blade's checkout still had origin on the pre-move sheehanmunim/t3code, where main does not resolve. The fetch failed, rev-parse errored, and the script carried on and built whatever commit that machine was sitting on — shipping a day-old build stamped with the new version number. It now repairs the remote URL, and exits non-zero rather than building a stale checkout.

Mac relaunch trusts a fresh PID. The relaunch loop only reported success if an AppleScript System Events probe worked, which needs an Automation grant the installing shell may not have. A perfectly good install was reported as "Mac relaunch failed — no fresh MT Code process after open". Activation is now best-effort; the fresh process is the proof.

Why

Today's fleet run installed 0.0.34 on all three machines, but the Windows pair built from bba238ccd — a day behind — and the Mac reported failure after a successful install.

…l a failure

The Windows refresh repairs a drifted `origin` (Blade still pointed at the
pre-move sheehanmunim/t3code, where `main` does not resolve) and now refuses
to build a stale checkout instead of shipping whatever commit the machine sat
on under the new version number.

The Mac relaunch treats a fresh PID as success. Gating it on an AppleScript
System Events probe - which needs an Automation grant the installing shell may
not have - reported a good install as a failure.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
@sheehanmunim
sheehanmunim merged commit b79c8ed into main Aug 19, 2026
2 of 7 checks passed
@sheehanmunim
sheehanmunim deleted the fix/fleet-remote-drift branch August 19, 2026 07:59
@github-actions github-actions Bot added size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. labels Aug 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:M vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant