Skip to content

feat: homepage run rows render the real task title, generic label as fallback#1857

Open
sweetmantech wants to merge 1 commit into
mainfrom
feat/home-run-titles
Open

feat: homepage run rows render the real task title, generic label as fallback#1857
sweetmantech wants to merge 1 commit into
mainfrom
feat/home-run-titles

Conversation

@sweetmantech

@sweetmantech sweetmantech commented Jul 7, 2026

Copy link
Copy Markdown
Collaborator

What

Homepage run rows (HomeRunRow) render the originating scheduled task's title from GET /api/tasks/runs, falling back to the current getTaskDisplayName(taskIdentifier) label when no title is resolvable. Closes the video-parity gap where five runs all read "Scheduled Task" (#1850, video-parity item 1, promoted from the chat#1853 fast-follow note).

Changes

Home domain only: chat.tsx, NewChatBootstrap, HomePage, and all shared components are untouched (house standard from this issue).

Deploy note (zero regression)

Titles render once the api PR (recoupable/api#764) deploys. Until then title is absent from the response and every row falls back to today's exact behavior — the fallback path is the current label logic, unit-covered including the absent-field (pre-title api) case.

Verification

  • TDD: getRunDisplayName test written first and confirmed RED (module missing), then GREEN
  • Full suite: 131 passed (126 baseline + 5 new)
  • tsc --noEmit: 8 errors = exact pre-existing baseline, 0 new (none in touched files)
  • Prettier clean
  • Live homepage pass with real titles pending the api#764 deploy (will verify signed-in on prod after merge order completes)

Links

🤖 Generated with Claude Code


Summary by cubic

Homepage run rows now show the scheduled task’s title from GET /api/tasks/runs, falling back to the generic per-task label. This fixes the “five runs all read ‘Scheduled Task’” issue (chat#1850) and improves clarity.

  • New Features
    • TaskRunItem now includes title?: string | null from GET /api/tasks/runs.
    • Added getRunDisplayName(run) to choose the title or getTaskDisplayName(taskIdentifier) as a fallback.
    • HomeRunRow renders getRunDisplayName(run) for each row.

Written for commit 3bbf481. Summary will update on new commits.

Review in cubic

…lback (chat#1850)

GET /api/tasks/runs list runs gain a nullable title (the originating
scheduled task's title). HomeRunRow renders it via the new pure helper
getRunDisplayName, falling back to getTaskDisplayName(taskIdentifier)
when title is null/absent — today's behavior, so the row is zero-regression
until the api change deploys. Home-domain only; no shared-component changes.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

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

Project Deployment Actions Updated (UTC)
chat Ready Ready Preview Jul 7, 2026 11:11pm

Request Review

@cursor

cursor Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@coderabbitai

coderabbitai Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

@sweetmantech, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 39 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

Run ID: 26ef3c0d-4918-4098-b394-2bc716d69e78

📥 Commits

Reviewing files that changed from the base of the PR and between 8474780 and 3bbf481.

⛔ Files ignored due to path filters (1)
  • lib/tasks/__tests__/getRunDisplayName.test.ts is excluded by !**/*.test.* and included by lib/**
📒 Files selected for processing (3)
  • components/Home/HomeRunRow.tsx
  • lib/tasks/getRunDisplayName.ts
  • lib/tasks/getTaskRuns.ts
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feat/home-run-titles

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

No issues found across 4 files

Confidence score: 5/5

  • Automated review surfaced no issues in the provided summaries.
  • No files require special attention.

Requires human review: Although small and TDD-covered, this change touches the homepage task runs rendering and depends on a separate API deployment, risking subtle rendering regressions; it warrants human review.

Re-trigger cubic

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