1.5 KiB
1.5 KiB
id, title, status, wave, depends_on, plan, spec
| id | title | status | wave | depends_on | plan | spec |
|---|---|---|---|---|---|---|
| 01-backend-cached-overview | Backend cached overview | done | 1 | plan.md | ../../specs/system-page/requirements/storage-maintenance.md |
Task 01: Backend cached overview
Acceptance
- Successful overview scans are reused for 15 minutes and concurrent cache misses invoke the typed providers once.
- Manual Analyze bypasses the freshness window and replaces the shared successful snapshot.
GET /api/v1/system/storagereturnsanalyzed_atfor the summary it serves.
Verification
cd apps/backend && go test ./internal/system/storage ./internal/backendapp
Files likely touched
apps/backend/internal/system/storage/overview_cache.goapps/backend/internal/system/storage/overview_cache_test.goapps/backend/internal/system/storage/handler.goapps/backend/internal/system/storage/handler_test.goapps/backend/internal/system/storage/operations.goapps/backend/internal/system/storage/operations_test.goapps/backend/internal/backendapp/storage_maintenance.go- focused overview fakes in backend System route tests
Dependencies
None.
Inputs
- Spec: What, API surface, Persistence guarantees, and cache scenarios
apps/backend/internal/backendapp/storage_maintenance.go:storageOverview- Existing
storage.OverviewProvider, handler GET, and manual Analyze call paths
Output contract
Return a compact handoff capsule with acceptance status, changed entry points, focused test results,
risk tags, uncertainties, and set this task to done.