Pin the forge to the version the machine it replaces is running #43

Merged
jschoubben merged 1 commits from fix/gitea-matches-production into main 2026-09-22 22:28:27 +00:00
Owner

The catalogue pinned gitea 1.22.6. The machine being migrated runs 1.27.3. Gitea migrates its database forward on startup and will not run against a schema a newer version wrote, so the cutover failed: the restored database came up, the module's container started, found the schema too new, and exited. The predecessor was started again from its own database and the forge was down for about three minutes.

1.27.4 does not exist yet — 1.27.3 is the newest release — so this pins exactly what is running. Same version is also the better cutover: a data move with no schema migration in the same window.

A downgrade is never safe for a service that migrates its own schema, and nothing in the mesh checks the direction today. That is worth its own issue, since it applies to every module whose catalogue pin is older than what a machine runs, not only this one.

The catalogue pinned gitea **1.22.6**. The machine being migrated runs **1.27.3**. Gitea migrates its database forward on startup and will not run against a schema a newer version wrote, so the cutover failed: the restored database came up, the module's container started, found the schema too new, and exited. The predecessor was started again from its own database and the forge was down for about three minutes. 1.27.4 does not exist yet — 1.27.3 is the newest release — so this pins exactly what is running. Same version is also the better cutover: a data move with no schema migration in the same window. A downgrade is never safe for a service that migrates its own schema, and nothing in the mesh checks the direction today. That is worth its own issue, since it applies to every module whose catalogue pin is older than what a machine runs, not only this one.
jschoubben added 1 commit 2026-09-22 22:28:21 +00:00
jschoubben merged commit f11534102d into main 2026-09-22 22:28:27 +00:00
jschoubben deleted branch fix/gitea-matches-production 2026-09-22 22:28:27 +00:00
Sign in to join this conversation.
No Reviewers
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: novox/mesh-catalog#43