Skip to content

Fix public email override task links - #1357

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/OUT-3931-cursor-automated-triage-response-109e
Draft

Fix public email override task links#1357
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/OUT-3931-cursor-automated-triage-response-109e

Conversation

@cursor

@cursor cursor Bot commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Bypass grouped-email buffering when a task notification includes a public API email override.
  • Preserve the individual task email payload, including ctaParams.taskId, for overridden evaluation/task emails.
  • Update the public email override docs to reflect immediate individual delivery for override emails.

Testing Criteria

  • yarn test src/app/api/notification/notification.service.test.ts --runInBand — verifies override emails bypass grouping for single and bulk/company-recipient paths while retaining task CTA params.
  • yarn lint:check — passes with existing React hook warnings only.
  • yarn prettier:check "docs/PUBLIC_TASK_EMAIL_OVERRIDE.md" "src/app/api/notification/notification.service.ts" "src/app/api/notification/notification.service.test.ts" — passes.
  • yarn tsc — blocked by pre-existing src/icons/index.ts SVG module declaration errors unrelated to this change.

Notes

  • Linear MCP returned 401 and Sentry MCP required auth, so I could not directly fetch Sentry event metadata or post the required Linear comment from the automation.

Impact & Surface Area of Change

  • Public API-created task assignment emails with custom override copy now send as individual emails instead of being collapsed into the 5-minute grouped-email summary.
  • Default/non-overridden client assignment/shared/comment emails continue to use the grouped-email buffer.
Open in Web View Automation 

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

linear-code Bot commented Jun 29, 2026

Copy link
Copy Markdown

OUT-3931

@vercel

vercel Bot commented Jun 29, 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, Comment Jun 29, 2026 1:38pm

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