Skip to content

fix(POR-22649): handle app-setup entity errors in notification-center - #1415

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/por-22649-cursor-automated-triage-response-0690
Draft

fix(POR-22649): handle app-setup entity errors in notification-center#1415
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/por-22649-cursor-automated-triage-response-0690

Conversation

@cursor

@cursor cursor Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Add try/catch around notification fetch on /notification-center so platform API failures (e.g. No entity type for app-setup found) show a user-friendly SilentError instead of an unhandled Next.js request error in Sentry
  • Return early when the token lacks notificationId
  • Use safeParse for in-product CTA params and show a clear message when the notification is not task-linked

Testing Criteria

  • Verified yarn lint:check passes on the changed file
  • Change follows the same defensive pattern as POR-22642/22643/22646/22647 notification-center fixes

Notes

  • The No entity type for app-setup found error originates from the Assembly platform notification service when an IU opens an in-product notification whose entity type is app-setup (app installation/setup notifications). Tasks app only handles task-linked notifications; this PR prevents the platform error from surfacing as a Sentry production alert.
  • Manual follow-up: inspect the Sentry event in the Tasks project for workspace/notification ID and verify whether the notification was created for a non-task entity type (app-setup).

Impact & Surface Area of Change

  • /notification-center page only — error handling for notification deep-link redirects
Open in Web View Automation 

Add defensive error handling on /notification-center so platform API
failures (e.g. "No entity type for app-setup found") show a user-friendly
SilentError instead of an unhandled Next.js request error in Sentry.

Co-authored-by: Neil Raina <makeitraina@users.noreply.github.com>
@linear-code

linear-code Bot commented Aug 22, 2026

Copy link
Copy Markdown

POR-22649

@vercel

vercel Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
tasks-app Ready Ready Preview Aug 22, 2026 4:07am

Request Review

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