Skip to content

fix(POR-22669): handle platform channelID file metadata errors in notification-center - #1432

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/por-22669-cursor-automated-triage-response-9b16
Draft

fix(POR-22669): handle platform channelID file metadata errors in notification-center#1432
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/por-22669-cursor-automated-triage-response-9b16

Conversation

@cursor

@cursor cursor Bot commented Aug 22, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Add defensive error handling in /notification-center for platform Files API errors (e.g. no channelID to assign file metadata)
  • Wrap getNotificationDetail in try/catch and return a user-friendly SilentError instead of an unhandled request error
  • Use safeParse for CTA params validation

Testing Criteria

Notes

  • Linear issue: https://linear.app/assemblycom/issue/POR-22669
  • The error string no channelID to assign file metadata originates from the Assembly platform Files API, not tasks-app source code. It surfaces in the Tasks Sentry project when an IU opens an in-product notification via /notification-center and the platform fails while resolving file metadata without a channel ID.
  • Platform team should investigate the underlying notification/file-channel configuration in Sentry (workspace ID, notification ID).

Impact & Surface Area of Change

  • Only affects /notification-center page behavior when loading IU notifications
  • Previously: unhandled request error logged to Sentry
  • Now: user sees "This notification could not be opened in Tasks" via SilentError
Open in Web View Automation 

…ification-center

Wrap notification fetch in try/catch so platform API errors like
'no channelID to assign file metadata' show a user-friendly SilentError
instead of an unhandled 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-22669

@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:49am

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