Skip to content

v0.8.0

Latest

Choose a tag to compare

@wycliffRotich-dev wycliffRotich-dev released this 28 Nov 15:37
· 26 commits to main since this release
v0.8.0
efaf3d6

First release that carries migrations 0006 to 0010, and a read-only public app that is built and tested but not deployed.

  • Migrations 0006 to 0010 add a public read role that holds no privileges, five public views and the table that scopes them, a record of each lease that reclaim deletes, a record of each renew or release call that lease fencing refuses, and two views that show those records (ADR 0097, 0098, 0107 to 0109).
  • A separate read-only public app with its own database pool, request limiter and GET routes (ADR 0094, 0102 to 0104, 0109).
  • Scripts that create the public app login role and choose the public demo tenant (ADR 0098, 0099).
  • Installs from hashed locks and a timeout on every workflow job (ADR 0100, 0101).
  • API keys for a named tenant (ADR 0090), and a job starts with an allowlisted environment (ADR 0095).
  • A stale release cannot remove a newer lease (ADR 0034), a worker that lost its lease cannot record an outcome (ADR 0014), an offline node recovered mid-cancellation records JobCancelled (ADR 0031), and two ways a node could report capacity it does not have are closed (ADR 0092, 0093).
  • A malformed id on the api-key, job and node routes returns 422.

Upgrade from v0.7.0: the upgrade rehearsal ran from v0.7.0 to this release, seeded through the v0.7.0 API. Migrations 0006 to 0010 applied before the new API started, the upgrade changed nothing in the 7 exported tables, it created the tables lease_reclaims, lease_refusals and public_demo_scope, the upgraded schema matched a fresh one (695 lines), and the new API served the seeded node, worker and job (ADR 0085 to 0089, 0110, 0111).

This does not put the public demo online, and it does not make the system safe to expose.

Changes since the previous tag: v0.7.0...v0.8.0