TenantAtlas/tests/Feature/Monitoring
ahmido bda1d90fc4 Spec 094: Assignment ops observability hardening (#113)
Implements spec 094 (assignment fetch/restore observability hardening):

- Adds OperationRun tracking for assignment fetch (during backup) and assignment restore (during restore execution)
- Normalizes failure codes/reason_code and sanitizes failure messages
- Ensures exactly one audit log entry per assignment restore execution
- Enforces correct guard/membership vs capability semantics on affected admin surfaces
- Switches assignment Graph services to depend on GraphClientInterface

Also includes Postgres-only FK defense-in-depth check and a discoverable `composer test:pgsql` runner (scoped to the FK constraint test).

Tests:
- `vendor/bin/sail artisan test --compact` (passed)
- `vendor/bin/sail composer test:pgsql` (passed)

Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de>
Reviewed-on: #113
2026-02-15 14:08:14 +00:00
..
HeaderContextBarTest.php feat(spec-087): remove legacy runs (#106) 2026-02-12 12:40:51 +00:00
MonitoringOperationsTest.php 085-tenant-operate-hub (#103) 2026-02-11 13:02:03 +00:00
OperationRunBlockedSpec081Test.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
OperationsActionsEnqueueRunTest.php Spec 077: Workspace Global Mode + context bar redundancy cleanup (#94) 2026-02-06 22:14:53 +00:00
OperationsCanonicalUrlsTest.php feat(spec-087): remove legacy runs (#106) 2026-02-12 12:40:51 +00:00
OperationsDbOnlyRenderingSpec081Test.php Spec 081: Provider connection cutover (#98) 2026-02-08 11:28:51 +00:00
OperationsDbOnlyRenderTest.php Spec 094: Assignment ops observability hardening (#113) 2026-02-15 14:08:14 +00:00
OperationsDbOnlyTest.php Spec 078: Operations tenantless canonical detail (#95) 2026-02-07 09:07:26 +00:00
OperationsTenantScopeTest.php feat(spec-087): remove legacy runs (#106) 2026-02-12 12:40:51 +00:00