feat(activity): handle new and empty contexts gracefully #319
No reviewers
Labels
No labels
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/steeper!319
Loading…
Reference in a new issue
No description provided.
Delete branch "phase06-empty-context"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What
Add tests and ensure graceful handling for new/empty contexts, completing #250.
Changes
RefreshContextreturns empty window with no error, View shows "No activity data"All these scenarios already worked correctly — this PR adds the test coverage.
References: #250, #247, #248, #249
Testing
go test -race ./...— all passReview
Result: Approved — no blocking issues.
Summary: Tests-only PR adding coverage for new/empty contexts.
TestRefreshContextEmptyContextNoEventsverifies new user with no events returns clean empty window (no error, 0 days, non-zero CachedAt).TestViewNewContextNoErrorverifies full View pipeline for a brand new user — no error, loaded, renders "No activity data". No production code changes. ROADMAP2.md updated.Checklist:
go test -racepasses