Implements Spec 110 Ops‑UX Enforcement and applies the repo‑wide “enterprise” standard for operation start + dedup surfaces. Key points - Start surfaces: only ephemeral queued toast (no DB notifications for started/queued/running). - Dedup paths: canonical “already queued” toast. - Progress refresh: dispatch run-enqueued browser event so the global widget updates immediately. - Completion: exactly-once terminal DB notification on completion (per Ops‑UX contract). Tests & formatting - Full suite: 1738 passed, 8 skipped (8477 assertions). - Pint: `vendor/bin/sail bin pint --dirty --format agent` (pass). Notable change - Removed legacy `RunStatusChangedNotification` (replaced by the terminal-only completion notification policy). Co-authored-by: Ahmed Darrazi <ahmed.darrazi@live.de> Reviewed-on: #134
582 B
582 B
Quickstart: Ops-UX Enforcement & Cleanup
Prereqs
- Sail running:
vendor/bin/sail up -d - Sail running:
./vendor/bin/sail up -d
Run the focused guard tests
Once implemented, run the guard tests only:
./vendor/bin/sail artisan test --compact tests/Feature/OpsUx/Constitution
Run the focused regression tests
./vendor/bin/sail artisan test --compact tests/Feature/OpsUx/Regression
Run the combined Ops-UX pack
./vendor/bin/sail artisan test --compact --group=ops-ux
Format touched files
./vendor/bin/sail bin pint --dirty --format agent