TenantAtlas/specs/088-remove-tenant-graphoptions-legacy/quickstart.md

23 lines
973 B
Markdown

# Quickstart — Remove Legacy Tenant Graph Options
## Preconditions
- Sail is running: `vendor/bin/sail up -d`
## What to run (during implementation)
### 1) Run the guardrail test (fast)
Once implemented, run the guard that enforces no deprecated accessor usage:
- `vendor/bin/sail artisan test --compact --filter=NoLegacyTenantGraphOptions`
### 2) Run the most relevant test subset
After refactoring Graph option sourcing, run tests touching provider resolution / Graph-enabled flows:
- `vendor/bin/sail artisan test --compact tests/Feature/Guards`
## Manual sanity checks (optional)
- If a tenant has **no default provider connection**, Graph-enabled flows should fail with a clear “provider connection required” style error.
- If a tenant has a configured default provider connection, flows should continue to work using `ProviderGateway::graphOptions($connection)`.
## Formatting
Before finalizing the implementation PR:
- `vendor/bin/sail bin pint --dirty`