fix/164-health-and-logging-resilience #167

Merged
myrmidex merged 4 commits from fix/164-health-and-logging-resilience into release/v1.4.3 2026-09-26 14:31:46 +02:00
2 changed files with 12 additions and 1 deletions
Showing only changes of commit b792ee7478 - Show all commits

View file

@ -2,6 +2,17 @@ # Changelog
All notable changes to this project will be documented in this file. All notable changes to this project will be documented in this file.
## [1.4.3] - 2026-09-26
### Fixed
- Fix the container reporting itself healthy while its database was unreachable (#164)
- The `/up` health check returned 200 without touching the database. When the database container went missing, the container stayed healthy for 37 hours while every page returned a 500, so nothing alerted and nothing restarted. The health check now fails when the database cannot be reached.
- Fix exceptions being lost when the database is the thing that failed (#164)
- Exceptions were only ever written to the `logs` table, so a database outage discarded the very errors needed to diagnose it. They now fall back to the configured log channel, preserving the original exception rather than only the failed insert.
- Fix the container starting up without a database and never recovering (#164)
- The startup script waited 60 seconds for the database and then continued regardless, running migrations against an unreachable server and starting an unsupervised queue worker. The worker died at boot and stayed dead, so publish jobs accumulated unconsumed and the Articles page "Refresh" button silently did nothing. The container now exits so the restart policy retries, migration failures are no longer swallowed, and a worker that dies is restarted.
## [1.4.2] - 2026-08-16 ## [1.4.2] - 2026-08-16
### Fixed ### Fixed

View file

@ -71,7 +71,7 @@ ### docker-compose.yml
```yaml ```yaml
services: services:
app: app:
image: forge.lvl0.xyz/lvl0/fedi-feed-router:v1.4.1 image: forge.lvl0.xyz/lvl0/fedi-feed-router:v1.4.3
container_name: ffr_app container_name: ffr_app
restart: always restart: always
ports: ports: