diff --git a/.changeset/boot-health-shim.md b/.changeset/boot-health-shim.md deleted file mode 100644 index 9169936b..00000000 --- a/.changeset/boot-health-shim.md +++ /dev/null @@ -1,13 +0,0 @@ ---- -"ftw": patch ---- - -Answer health probes during slow boots. - -The API port is now bound before the state DB opens, serving -`/api/health` with 200 `{"status":"starting"}` (and 503 elsewhere) until -the real mux takes over on the same listener. Previously a boot that ran -a one-time VACUUM or a full integrity check on a multi-GB database left -the port unbound for up to tens of minutes, so the Docker healthcheck -failed and the self-update sidecar judged the deploy failed and rolled -back in the middle of the compaction. diff --git a/CHANGELOG.md b/CHANGELOG.md index ec71ed4f..a9d68bed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,19 @@ # Changelog +## 0.130.4 + +### Patch Changes + +- ed59d81: Answer health probes during slow boots. + + The API port is now bound before the state DB opens, serving + `/api/health` with 200 `{"status":"starting"}` (and 503 elsewhere) until + the real mux takes over on the same listener. Previously a boot that ran + a one-time VACUUM or a full integrity check on a multi-GB database left + the port unbound for up to tens of minutes, so the Docker healthcheck + failed and the self-update sidecar judged the deploy failed and rolled + back in the middle of the compaction. + ## 0.130.3 ### Patch Changes diff --git a/package-lock.json b/package-lock.json index 55778b96..44d69c21 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "ftw", - "version": "0.130.3", + "version": "0.130.4", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "ftw", - "version": "0.130.3", + "version": "0.130.4", "devDependencies": { "@changesets/cli": "^2.27.10" } diff --git a/package.json b/package.json index 23a7d247..bb11965b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ftw", - "version": "0.130.3", + "version": "0.130.4", "private": true, "type": "module", "description": "FTW — local-first home energy coordination. Version metadata only; the runtime is Go and the mathematical planner is Python/CVXPY.",