Skip to content

Fix task detail path workspace handling#1268

Draft
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/OUT-3792-cursor-automated-triage-response-7d51
Draft

Fix task detail path workspace handling#1268
cursor[bot] wants to merge 1 commit into
mainfrom
cursor/OUT-3792-cursor-automated-triage-response-7d51

Conversation

@cursor

@cursor cursor Bot commented May 28, 2026

Copy link
Copy Markdown
Contributor

Changes

  • Scope task traversal path raw lookup to the authenticated user's workspace.
  • Return not found from subtask count lookup when the task row is absent in the current workspace, while keeping a server error for rows with missing path data.
  • Add focused unit coverage for traversal path workspace scoping and subtask-count not-found behavior.

Testing Criteria

  • yarn test --runTestsByPath src/app/api/tests/services/tasks.service.test.ts src/app/api/tests/services/subtasks.service.test.ts
  • yarn eslint src/app/api/tasks/tasks.service.ts src/app/api/tasks/subtasks.service.ts src/app/api/tests/services/tasks.service.test.ts src/app/api/tests/services/subtasks.service.test.ts (passes with existing repository warnings)
  • yarn tsc (blocked by existing SVG module resolution errors in src/icons/index.ts)

Notes

  • Linear: OUT-3792
  • Sentry: TASKS-8H

Impact & Surface Area of Change

  • Task detail page server loaders for traversal breadcrumbs and subtask status.
  • Cross-workspace or stale-token detail URLs should now follow the existing not-found/deleted redirect behavior instead of producing an unexpected 500.
Open in Web View Automation 

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

linear-code Bot commented May 28, 2026

Copy link
Copy Markdown

OUT-3792

@vercel

vercel Bot commented May 28, 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 May 28, 2026 4:04pm

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