Skip to content

fix: surface cacheStale hints across all mutation flows#148

Merged
neonwatty merged 2 commits intomainfrom
fix/cachestale-consistency
Apr 19, 2026
Merged

fix: surface cacheStale hints across all mutation flows#148
neonwatty merged 2 commits intomainfrom
fix/cachestale-consistency

Conversation

@neonwatty
Copy link
Copy Markdown
Collaborator

Summary

  • CommentComposer: always show toast on comment success, log errors with console.error, extract err.message in catch block
  • NewIssuePage: show degraded toast when createIssue cache revalidation fails
  • IssueActionSheet: show degraded toast for closeIssue and reassignIssueAction; append stale hint to cleanupWarning when both present

Follow-up from PR #144 review.

Test plan

  • Post a comment — toast should say Comment posted
  • Create an issue — toast should say Issue created
  • Close an issue — toast should say Issue closed
  • Re-assign an issue — toast should show the new location
  • pnpm turbo typecheck passes

- NewIssuePage: show degraded toast when createIssue cache revalidation fails
- IssueActionSheet: show degraded toast for closeIssue and reassignIssueAction
- CommentComposer: log errors in catch block instead of silently swallowing
…ng edge case

- CommentComposer: always show toast on success (not just when stale),
  extract err.message in catch block like other mutation flows
- IssueActionSheet: append stale hint to cleanupWarning when both are present
@neonwatty neonwatty added this pull request to the merge queue Apr 19, 2026
Merged via the queue into main with commit 3179380 Apr 19, 2026
5 checks passed
@neonwatty neonwatty deleted the fix/cachestale-consistency branch April 19, 2026 12:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant