Repository navigation
Description
Reproduced usability bug. Priority: P1. Reviewed 2026-09-06 at 6c7a6fbe.
Problem and reproduction
- Load Activity successfully with one event. Reject the next listActivity call and press Refresh.
- Existing rows disappear and the view says “No activity yet”, with no failure explanation.
- Separately mount Digest with loadDigest rejecting.
- It says “Nothing ran while you were away.” and Mark reviewed remains enabled.
These are statements about work that happened, but the app has failed to retrieve that work. In Digest the user can also invoke acknowledgement without seeing a successfully loaded digest.
Cause
ActivityView.loadAll catches errors with setItems([]). DigestView.loadAll catches with setResult(null). Both feed the ordinary empty rendering branch. onMarkReviewed also silently returns if markSeen rejects.
Smallest useful scope
- Initial failure: explicit load error and Retry.
- Refresh failure: retain the last successful rows, label them as potentially out of date, expose Retry.
- Show successful-empty copy only after a successful response.
- Disable Mark reviewed while there is no successfully loaded digest or acknowledgement is pending; clearly surface acknowledgement failure.
- Do not silently clear a digest window after a failed acknowledgement.
- Reuse the existing InsightsView approach, which already retains modes and displays refresh errors. No shared fetching framework is needed.
Acceptance
Tests cover initial rejection, refresh rejection after success, successful empty response, retry recovery and markSeen rejection. A failed refresh does not erase known data or claim that no work occurred. Errors are announced accessibly and buttons remain reachable.
This concerns local Activity/Digest rendering and acknowledgement, not forge outage resilience #427 or decorative chrome #729/#728.
Sources: Activity load, Digest load and acknowledgement, existing Insights pattern.
Runnable evidence: node --import=./test/support/disable-grok-mcp.mjs --import=./test/support/render.mjs --experimental-strip-types docs/issue-drafts/2026-09-06-views-evidence.mjs (exit 0). This audit script asserts current behavior, not desired regression behavior. Artifact is in the audit checkout; reproduction steps above are self-contained.
Requested disposition: separate Planboard issue with plan:todo. No implementation in this research task.
Activity
currentbits commentedon Sep 8, 2026
Landed from Solenta thread "Activity and Digest must distinguish load failures from empt". Closed on merge.