Skip to content

Conversation

@github-actions
Copy link
Contributor

@github-actions github-actions bot commented Feb 4, 2026

This is an automated pull request to merge tofik/email-notification-for-failed-task into dev.
It was created by the [Auto Pull Request] action.

@vercel
Copy link

vercel bot commented Feb 4, 2026

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

2 Skipped Deployments
Project Deployment Actions Updated (UTC)
app Skipped Skipped Feb 4, 2026 6:23pm
portal Skipped Skipped Feb 4, 2026 6:23pm

Request Review

@cursor
Copy link

cursor bot commented Feb 4, 2026

PR Summary

Medium Risk
Introduces new environment-driven behavior that auto-approves org access in self-hosted deployments and adds outbound email notifications on automated task failures/overdue status changes, which can impact onboarding/access flow and email volume.

Overview
Adds a NEXT_PUBLIC_SELF_HOSTED flag (documented in SELF_HOSTING.md and validated in env.mjs) that marks an instance as self-hosted and auto-grants organization access, bypassing the normal upgrade/payment/booking gate in org creation and the upgrade/[orgId] flow.

Extends automation and scheduling workers to send email notifications (with unsubscribe checks) to task assignees and org admins/owners when tasks are marked failed by browser automations or integration checks, and when the task schedule moves overdue tasks to todo/failed; includes a new TaskStatusNotificationEmail template exported from @trycompai/email.

Written by Cursor Bugbot for commit fd5ceee. This will update automatically on new commits. Configure here.

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

@vercel vercel bot temporarily deployed to Preview – portal February 4, 2026 18:23 Inactive
@vercel vercel bot temporarily deployed to Preview – app February 4, 2026 18:23 Inactive
@tofikwest tofikwest merged commit c547f28 into main Feb 4, 2026
10 checks passed
@tofikwest tofikwest deleted the tofik/email-notification-for-failed-task branch February 4, 2026 18:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant