Skip to content

fact: add tenant admission coordination foundation - #985

Merged
justinjoy merged 2 commits into
mainfrom
issue/549-tenant-admission-unit1
Sep 10, 2026
Merged

fact: add tenant admission coordination foundation#985
justinjoy merged 2 commits into
mainfrom
issue/549-tenant-admission-unit1

Conversation

@justinjoy

Copy link
Copy Markdown
Contributor

Summary

  • add a handle-owned tenant admission manager with writer-preferring read/write leases
  • enforce OPEN -> CLOSING -> CLOSED runtime lifecycle with cancellation, lease lifetime, and shutdown propagation
  • add a canonical (tenant_id, graph_id) ordered graph writer-lock set with rollback, reverse release, and recursion guard
  • document the service-auth -> tenant -> graph lock ordering while keeping durable lifecycle behavior unchanged

Scope

This is the self-contained #549 Unit 1 foundation. It does not complete #549: operation-entry integration, tenant seal/drain/evict, unseal publication, and lifecycle surfaces remain later units. It does not duplicate or modify #548/#983 graph-seal HTTP/unseal work.

Validation

  • ninja -C build-549 -j2
  • meson test -C build-549 fact-tenant-admission fact-runtime fact-replay fact-graph-seal daemon-http-facts --print-errorlogs (5 passed, 0 failed)
  • ninja -C build-default -j2
  • meson test -C build-default --suite wyrelog --print-errorlogs (220 passed, 0 failed, 2 skipped)
  • ./tools/check-format.sh --staged
  • git diff --cached --check

Related to #549

@justinjoy
justinjoy force-pushed the issue/549-tenant-admission-unit1 branch from e65983d to dd2651c Compare September 10, 2026 03:55
@justinjoy
justinjoy merged commit 0a3e6ff into main Sep 10, 2026
19 checks passed
@justinjoy
justinjoy deleted the issue/549-tenant-admission-unit1 branch September 10, 2026 04:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant