@simon-says-build/harbormaster 0.11.0 → 0.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -131,7 +131,7 @@ block a stack still held. No docker means the empty set, never a failure.
131
131
  (systemd, launchd) runs and restarts. It keeps a marker in the state dir
132
132
  fresh, touched every minute. While the marker is fresh, clients never replace
133
133
  the broker, even an older one, and never spawn their own. If it is briefly
134
- down, they wait up to 45 s for the service manager to bring it back. Upgrades
134
+ down, they wait up to 2 minutes for the service manager to bring it back. Upgrades
135
135
  are the service manager's job: restart it after installing a new version. A
136
136
  stale marker means the service is gone, and clients spawn as before. Without
137
137
  this, the broker belonged to whichever client happened to start it: on
package/harbormaster CHANGED
@@ -84,7 +84,7 @@ import uuid
84
84
  from datetime import datetime, timezone
85
85
  from pathlib import Path
86
86
 
87
- VERSION = "0.11.0"
87
+ VERSION = "0.11.1"
88
88
 
89
89
  # Overridable for tests / parallel installs; default is the shared user daemon.
90
90
  # The dir keeps the old "firebase-ports" name: pre-rename binaries still installed
@@ -1423,12 +1423,15 @@ def _ensure():
1423
1423
  f"shut down — kill the 'harbormaster serve' process and retry")
1424
1424
  if managed:
1425
1425
  # Down, but a service runs it: it is restarting. Wait for it rather than
1426
- # start one of our own that would die with this client.
1427
- for _ in range(450):
1426
+ # start one of our own that would die with this client. Two minutes: a
1427
+ # busy box's startup sweep is not quick — the studio's first managed
1428
+ # start reaped 75 leftovers and served after ~40 s (2026-10-09), and a
1429
+ # client that gives up early starts a broker that fights the service.
1430
+ for _ in range(1200):
1428
1431
  if _up():
1429
1432
  return
1430
1433
  time.sleep(0.1)
1431
- print("harbormaster: the managed broker did not come back in 45s — starting one here", file=sys.stderr)
1434
+ print("harbormaster: the managed broker did not come back in 120s — starting one here", file=sys.stderr)
1432
1435
  _spawn_daemon()
1433
1436
  for _ in range(50):
1434
1437
  if _up():
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@simon-says-build/harbormaster",
3
- "version": "0.11.0",
3
+ "version": "0.11.1",
4
4
  "description": "A localhost daemon that leases each caller its own port block — isolated Firebase emulator sandboxes, Metro/Expo ports, private iOS simulators — reaped when the caller exits. No port collisions, no shared instances, no pkill.",
5
5
  "bin": {
6
6
  "harbormaster": "harbormaster",