Skip to content

Harden client task template server actions#1234

Draft
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/OUT-3749-automated-issue-triage-70b1
Draft

Harden client task template server actions#1234
cursor[bot] wants to merge 2 commits into
mainfrom
cursor/OUT-3749-automated-issue-triage-70b1

Conversation

@cursor
Copy link
Copy Markdown

@cursor cursor Bot commented May 17, 2026

Changes

  • Guard client task server actions against non-OK and non-JSON downstream API responses so Next server-action calls complete with structured results instead of opaque client failures.
  • Encode attachment sign-url query parameters and make upload handling tolerate missing signed URLs.
  • Abort stale template-apply requests and only let the latest request re-enable task creation.
  • Handle structured task creation errors in optimistic subtask creation.

Testing Criteria

  • Ran yarn lint:check.
  • Ran yarn tsc --noEmit; it still fails on pre-existing SVG module declaration errors in src/icons/index.ts, with no change-related TypeScript errors remaining.

Notes

  • Triage source: Linear OUT-3749 / Sentry TASKS-87 in the Tasks project.
  • Sentry Seer analysis was unavailable due to budget (HTTP 402), so investigation used the Sentry event/breadcrumbs and local code tracing.

Impact & Surface Area of Change

  • Client create-task modal template application flow.
  • Shared server actions in src/app/(home)/actions.ts used by task creation/update and attachment upload/sign-url flows.
  • Optimistic subtask creation error handling.
Open in Web View Automation 

cursoragent and others added 2 commits May 17, 2026 17:11
Co-authored-by: Neil Raina <makeitraina@users.noreply.github.com>
Co-authored-by: Neil Raina <makeitraina@users.noreply.github.com>
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 17, 2026

OUT-3749

@vercel
Copy link
Copy Markdown
Contributor

vercel Bot commented May 17, 2026

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

Project Deployment Actions Updated (UTC)
tasks-app Ready Ready Preview, Comment May 17, 2026 5:13pm

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