fix(home): restore error propagation from async Load or store errors #366
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
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
thwap/steeper#366
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
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?
PR #365 changed
HomeView.Loadfrom synchronous error-returning to async goroutine that swallows all errors.loadAsyncsilently returns on any API failure (getUser, getHeatmap, fetchActivities). Callers checkingerr != nilfromhv.Load(ctx)will never see errors — home tab failures go undetected.Options:
HomeViewstruct and expose via a methodAlso: concurrent
Loadcalls could race onv.activities/v.heatmap/v.usernamewrites. Consider a mutex or guard.Ref: PR #365