Hub 2.6.0: paged lists, job status filters, one-product updates, installs found on servers

- Jobs: Succeeded/Cancelled filters, product, type and church search, paged
  on the server; audit log and alerts paged on the server with search;
  every other list paged.
- Updates: one product at a time with its own releases; an Events update
  pins the church's Accounts (or updates it when the release needs it, or
  installs it first); fixes the requirement check comparing an object.
- A status job adds installs found on a server and ties them to their
  registration; unlinked registered sites trigger one (daily); heartbeats
  tie install records too; the install page shows its registration.
13 new tests (209).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-19 20:09:31 +02:00
co-authored by Claude Opus 5.5
parent ff176681a7
commit de6a14c229
24 changed files with 641 additions and 130 deletions
+37
View File
@@ -5,6 +5,43 @@ versions follow [Semantic Versioning](https://semver.org/).
## [Unreleased]
## [2.6.0] - 2026-11-19
### Added
- **Jobs: every status and a page at a time.** Filters for Succeeded and Cancelled (with Planned and
running, Failed, Rolled back, Missed and Refused), a product, a job type and a search on the
church or domain; paged on the server (`?page`, `?pageSize`, at most 200), instead of the last 200.
- **Everything is paged.** The audit log and alerts on the server (with a search there), instead of
the last 300 / 200; releases, installs on servers, servers, the port list, and each server's and
install's jobs a page at a time. Installs on servers show each install's product, with a filter
and a search.
- **Installs added on a server are found.** A `status` job (Servers → a server → Check status and
find installs) adds any church product it reports that the Hub has no install record for (its
domain, ports and version from the server), tied to the site registered at that domain, with its
ports on the port list. A registered site with no install record has its customer's server asked
by itself, at most once a day.
- An install's page shows its registered site and last heartbeat, or that it hasn't registered.
### Changed
- **Updates are for one product at a time.** The Updates page asks for Cross Events or Accounts
first, then shows only that product's live installs and its own releases (a list, not a text
box), and every install page offers only its product's releases. The server refuses installs of
more than one product, a release of another product (`accounts@…` for Events), and a product that
doesn't match the page.
- **A Cross Events update says what happens to Accounts.** `crosscode deploy` always updates a
church's Accounts too, to its newest release unless told otherwise; the Hub now always tells it:
the version it runs (nothing changes), or the newest Accounts when the Events release needs a
newer one (and the confirmation says so). A church without Accounts gets it installed first in the
same batch (`add-product`, on `accounts.<the rest of the domain>`) when the release needs it.
- A site the Hub installed is tied to its registration on every heartbeat, not only the first.
### Fixed
- The update check compared the release object, not its version, with the church's other products,
so a requirement could be missed.
## [2.5.0] - 2026-11-19
For Cross Events 3.0 (crosscode-platform `docs/EVENTS-3.0-PLAN.md` §9), which signs in through the