Skip to content

tenant-inactivity

Deletes abandoned free accounts: warns the tenant owners before the deadline, then files the regular tenant-lifecycle deletion request. Activity or the keep-account link restarts the period; tiers without a rule are exempt.

What this feature needs to run (Requires, top) and the write commands this feature provides (Provides, bottom).

flowchart TB
  n_tenant_inactivity["tenant-inactivity"]
  subgraph how_reqs["Requires"]
    n_sessions["sessions"]
    n_tenant["tenant"]
    n_tenant_lifecycle["tenant-lifecycle"]
    n_delivery["delivery"]
  end
  subgraph how_provides["Provides"]
    n_cmd_tenant_inactivity_write_keep_account(["keep-account"])
  end
  n_sessions --> n_tenant_inactivity
  n_tenant --> n_tenant_inactivity
  n_tenant_lifecycle --> n_tenant_inactivity
  n_delivery --> n_tenant_inactivity
  n_tenant_inactivity --> n_cmd_tenant_inactivity_write_keep_account

Provides — write commands this feature registers (dispatch them through the command bus):

  • Registers extension: tenantData → tenant-inactivity-state