Three hub-side operability/security closures: - 🧹 `devbox-hub gc --dry-run`: previews the exact snapshots + chunks the sweep would remove (computed from reachability — same set the real run deletes) without mutating a thing. Cheap insurance before a destructive GC. - 🔐 dashboard token auth (`--dashboard-token`): a non-loopback bind was unauthenticated (warning only) and leaked device names/activity. Token is accepted via ?token=, Authorization: Bearer, or an HttpOnly cookie pinned on first ?token= — so EventSource/fetch authenticate with index.html untouched. Constant-time compare. - 🩺 `/healthz` (liveness) + `/readyz` (DB-ping → 503 when unreachable): real probes for the compose selfheal profile / LBs, which only had /metrics. Tests: TestGCDryRun (accurate + non-destructive), TestDashboardAuth. |
||
|---|---|---|
| .. | ||
| blobstore | ||
| dashboard | ||
| meta | ||
| audit_test.go | ||
| blob_traversal_test.go | ||
| events.go | ||
| join_pop_test.go | ||
| limits_test.go | ||
| server.go | ||
| server_test.go | ||
| sharename.go | ||
| sharename_test.go | ||