Skip to content

v0.1.25.60 — tenant permissions and reservation settlement

Choose a tag to compare

@amavashev amavashev released this 26 Nov 18:54
c7b2e46

Suspended tenants can read and settle existing reservations. New reserves, extensions, and direct-debit events return 403. Dry runs and decisions return DENY.

  • Runtime endpoints now enforce API-key permissions. Check older keys for missing grants before upgrading. To migrate them gradually, temporarily set cycles.auth.enforce-permissions=false.
  • During a rolling upgrade, leave cycles.decisions.emit-tenant-suspended-reason at its default of false until every replica supports TENANT_SUSPENDED. If you enable it and later roll back, disable it on all replicas and wait 24 hours for cached responses to expire.
  • After tenant closure, the expiry sweeper releases outstanding holds and preserves refunds already processed. It can settle due reservations even when earlier entries are still in their grace period.
  • Balance queries continue to include externally seeded budgets. Deployments where governance indexes every budget can enable faster reads with cycles.balances.use-governance-index=true.
  • Live reserve denials and overdraft crossings now emit their corresponding events. Direct-debit balance events include the applied overage policy. Framework client errors return the appropriate HTTP 4xx status.

Changes in PR #301