Release prep: breaking schema/config reset; recreate dev and demo databases #41

Open
opened 2026-10-09 12:42:38 +00:00 by niklas · 0 comments
Owner

The Oct 2026 redesign is uncommitted at the time of writing. Before tagging:

Breaking changes to call out in the release

  • Migrations squashed to internal/db/migrations/001_schema.sql; an existing dev database fails loudly (already-exists) rather than migrating. No Default team is created.
  • Removed env vars TERDUT_DEADMAN_MATCHERS/TIMEOUT/SEVERITY and the chart deadman.* values; teams carry their own switches.
  • Added TERDUT_OPERATOR_KEY, TERDUT_TRUSTED_PROXIES (default 1; the rate limits now take the client address that many X-Forwarded-For hops from the right).
  • Removed GET /api/incidents/{id}/alerts and GET /api/teams?name=.
  • GET /api/users: email and ntfy_topic are blanked for non-admins (other than the caller's own row). terdut-tui shows these in its user list; check the non-admin view.
  • Integration and switch names are unique per team (409 on duplicates). POST /api/teams accepts external_id (instance service accounts only).

Environments to recreate

  • terdut-demo Postgres and the production-pinned demo in Ryuvia/charts (the migration history changed).
  • The kind demo pin in terdut-operator (examples/demo/01-server.yaml, currently v0.43.0) must move to the new release.

Use the release skill; mention in the release report whether the demo pins were bumped.

The Oct 2026 redesign is uncommitted at the time of writing. Before tagging: ## Breaking changes to call out in the release - Migrations squashed to `internal/db/migrations/001_schema.sql`; an existing dev database fails loudly (already-exists) rather than migrating. No Default team is created. - Removed env vars `TERDUT_DEADMAN_MATCHERS/TIMEOUT/SEVERITY` and the chart `deadman.*` values; teams carry their own switches. - Added `TERDUT_OPERATOR_KEY`, `TERDUT_TRUSTED_PROXIES` (default 1; the rate limits now take the client address that many `X-Forwarded-For` hops from the right). - Removed `GET /api/incidents/{id}/alerts` and `GET /api/teams?name=`. - `GET /api/users`: email and ntfy_topic are blanked for non-admins (other than the caller's own row). terdut-tui shows these in its user list; check the non-admin view. - Integration and switch names are unique per team (409 on duplicates). `POST /api/teams` accepts `external_id` (instance service accounts only). ## Environments to recreate - `terdut-demo` Postgres and the production-pinned demo in `Ryuvia/charts` (the migration history changed). - The kind demo pin in terdut-operator (`examples/demo/01-server.yaml`, currently v0.43.0) must move to the new release. Use the `release` skill; mention in the release report whether the demo pins were bumped.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: niklas/terdut-server#41