30 lines
845 B
Markdown
30 lines
845 B
Markdown
# Bugfix Specification: BaselineCompareRun missing model
|
|
|
|
**Branch**: `feat/700-bugfix`
|
|
**Created**: 2026-02-20
|
|
**Status**: Ready
|
|
|
|
## Problem
|
|
|
|
Navigating to the tenant dashboard (`/admin/t/{tenant}`) throws an Internal Server Error:
|
|
|
|
- `Class "App\Models\BaselineCompareRun" not found`
|
|
|
|
The stack trace points to the dashboard widget `app/Filament/Widgets/Dashboard/BaselineCompareNow.php`.
|
|
|
|
## Goal
|
|
|
|
- Tenant dashboard loads successfully.
|
|
- Baseline compare widget can safely query baseline compare run state without a fatal error.
|
|
|
|
## Non-Goals
|
|
|
|
- No UX redesign.
|
|
- No new baseline-compare workflow features beyond restoring runtime stability.
|
|
|
|
## Acceptance Criteria
|
|
|
|
- Visiting `/admin/t/{tenant}` does not throw a 500.
|
|
- The widget renders even when there are no baseline compare runs.
|
|
- A focused automated test covers the regression.
|