Let an app name the oldest database server it works with

coreapp.toml's [postgres] or [mysql] min_version: the installer compares
it with the Core's PostgreSQL or MariaDB on install and update, and
refuses an older Core with both versions, instead of the app failing
later. coreapp core reads the versions the same way.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 20:31:23 -07:00
co-authored by Claude Opus 5.5
parent cf18bef278
commit c60d99baba
7 changed files with 102 additions and 30 deletions
+6 -3
View File
@@ -497,9 +497,12 @@ Steps:
pg_trgm and earthdistance, a refused postgis, and a rollback that
kept them. Also fixed: `needs` with both postgres and mysql was
meant to be refused, but the check never ran
- [ ] PostgreSQL 18 on the Core (Federated's), or a minimum version
in coreapp.toml that the installer checks, so an app refuses to
install on an older Core instead of failing later
- Done 2026-12-03: `[postgres]` / `[mysql]` `min_version` in
coreapp.toml: the installer compares it with the Core's server
(numerically) on install and update, and refuses an older one
with both versions. Tested on dev.fedcom.net (PostgreSQL 17.6,
MariaDB 12.1.2)
- [ ] PostgreSQL 18 on the Core (Federated's; David is asking)
- [ ] David: the agent's changes, for Supermarket's own repository
(and a login CSRF it noticed in the app's sign-in: its OIDC state
isn't tied to a browser cookie)