TenantAtlas/specs/048-backup-restore-ui-graph-safety/quickstart.md
2026-01-11 00:35:29 +01:00

869 B

Quickstart: Backup/Restore UI Graph-Safety (048)

This quickstart is for validating the UI render Graph-safety guardrails locally.

Prerequisites

  • Laravel Sail running (recommended)
  • Database migrated

Local setup (Sail)

  1. Start Sail
  • ./vendor/bin/sail up -d
  1. Run migrations
  • ./vendor/bin/sail artisan migrate

Run the targeted tests (once implemented)

  • ./vendor/bin/sail artisan test --filter=graph\-safety

Or run specific files (names TBD when tests land):

  • ./vendor/bin/sail artisan test tests/Feature/Filament/*GraphSafety*Test.php

Formatting

  • ./vendor/bin/pint --dirty

Notes

  • These guard tests intentionally fail if any Backup/Restore page render path touches App\\Services\\Graph\\GraphClientInterface.
  • Graph credentials are not required for this phase; tests should pass with Graph effectively disabled.