feat: implement workspace and tenant closure lifecycle #337

Merged
ahmido merged 1 commits from 292-workspace-tenant-closure into platform-dev 2026-05-07 13:12:21 +00:00
Owner

Summary

  • add explicit workspace closure and tenant removal lifecycle truth with a bounded WorkspaceLifecycleService
  • surface closure and removal posture across admin/system pages, chooser recovery, and canonical historical viewers
  • block new review-pack and operation starts for closed workspaces or removed tenants while preserving memberships, audit, and history
  • add focused Pest coverage plus the Spec 292 artifacts for the implemented slice

Testing

  • export PATH="/bin:/usr/bin:/usr/local/bin:$PATH" && cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/System/Directory/ViewWorkspaceClosureTest.php tests/Feature/System/Ops/ClosedWorkspaceHistoricalAccessTest.php tests/Feature/Filament/Resources/Workspaces/WorkspaceClosureStatusTest.php tests/Feature/Filament/Resources/TenantResource/TenantWorkspaceRemovalTest.php tests/Feature/Filament/Pages/WorkspaceContextClosureRecoveryTest.php
  • export PATH="/bin:/usr/bin:/usr/local/bin:$PATH" && cd apps/platform && ./vendor/bin/sail bin pint --dirty --format agent
  • manual integrated-browser smoke for admin tenant remove/restore plus chooser recovery and system workspace close/reopen
## Summary - add explicit workspace closure and tenant removal lifecycle truth with a bounded `WorkspaceLifecycleService` - surface closure and removal posture across admin/system pages, chooser recovery, and canonical historical viewers - block new review-pack and operation starts for closed workspaces or removed tenants while preserving memberships, audit, and history - add focused Pest coverage plus the Spec 292 artifacts for the implemented slice ## Testing - `export PATH="/bin:/usr/bin:/usr/local/bin:$PATH" && cd apps/platform && ./vendor/bin/sail artisan test --compact tests/Feature/System/Directory/ViewWorkspaceClosureTest.php tests/Feature/System/Ops/ClosedWorkspaceHistoricalAccessTest.php tests/Feature/Filament/Resources/Workspaces/WorkspaceClosureStatusTest.php tests/Feature/Filament/Resources/TenantResource/TenantWorkspaceRemovalTest.php tests/Feature/Filament/Pages/WorkspaceContextClosureRecoveryTest.php` - `export PATH="/bin:/usr/bin:/usr/local/bin:$PATH" && cd apps/platform && ./vendor/bin/sail bin pint --dirty --format agent` - manual integrated-browser smoke for admin tenant remove/restore plus chooser recovery and system workspace close/reopen
ahmido added 1 commit 2026-05-07 13:09:33 +00:00
feat: implement workspace and tenant closure lifecycle
Some checks failed
PR Fast Feedback / fast-feedback (pull_request) Failing after 1m32s
adf9237152
ahmido merged commit 210508db9d into platform-dev 2026-05-07 13:12:21 +00:00
Sign in to join this conversation.
No reviewers
No Label
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: ahmido/TenantAtlas#337
No description provided.