DarwinRelay 0.6.6
DarwinRelay 0.6.6 fixes the manual update path after production validation exposed an ownership bug in the kill switch.
Highlights:
scripts/disable.shnow treats only thecloudflaredPID recorded by DarwinRelay as DarwinRelay-owned tunnel authority; unrelated Cloudflare tunnels on the same Mac no longer make a clean stop/update impossible and are never signalled;- zero-downtime deploy verification uses the same recorded ownership boundary instead of whichever
cloudflaredcommand appears first; - the manual updater now extracts the target release's
scripts/disable.shbefore changing HEAD, verifies it against the target release'sSHA256SUMS, and uses that verified kill switch for fail-closed quiescence. A newer release can therefore repair containment logic that is broken in an older installed release; - lifecycle coverage now exercises unrelated, owned, and stale tunnel pidfile cases with all control-plane paths isolated from production state.
Validation:
- the original v0.6.4 → v0.6.5 production update failure rolled back checkout/app correctly;
- PR #18 and release PR #19 are green;
- post-merge CI and JavaScript CodeQL are green;
- full local
npm testfor the v0.6.6 candidate exited 0; - integrity verified for 113/113 tracked regular files;
- build-only DarwinRelay.app smoke produced bundle version 0.6.6 and passed deep strict codesign verification;
- gitleaks reported no leaks;
- zero open GitHub code-scanning alerts at release time.