Skip to content

Conversation

@ben-fornefeld
Copy link
Member

@ben-fornefeld ben-fornefeld commented Nov 21, 2025

Note

Introduce template Builds tab with filtering and live status, backed by new TRPC builds endpoints; add Turbopack fs stubs and update deps.

  • Frontend (Templates UI):
    • Tabbed layout under templates with @list and new @builds routes (layout.tsx, page.tsx, defaults).
    • Builds: header filters (status, Build ID/Template), table with infinite pagination and live status polling, empty/loader states (features/dashboard/templates/builds/*).
    • Layout/UX: split dashboard layout into DefaultDashboardLayout/CustomDashboardLayout; improved loader, checkbox, dropdown, button sizing, table/label styles.
    • Utilities: add formatDurationCompact, formatTimeAgoCompact; new cn util in lib/utils/ui.
    • URLs: add TEMPLATES_LIST and TEMPLATES_BUILDS.
  • Backend (TRPC + Repos):
    • New builds router: list, runningStatuses, getBuildStatus.
    • Supabase repo for listing builds and running statuses with status/DTO mappers (models, repositories).
    • Telemetry: attach inferred template_id/sandbox_id span attrs.
    • Remove legacy teams router from app router.
  • Config/Build:
    • Turbopack resolveAlias to stub Node fs/fs/promises for browser (stubs/fs.ts, stubs/fs-promises.ts); include stubs in tsconfig.
  • Tests/Scripts:
    • Add dev test template-build.test.ts; adjust dev test scripts.
  • Dependencies:
    • Bump e2b to ^2.7.0, @tanstack/react-virtual, tailwind-merge; lockfile updates.

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

@linear
Copy link

linear bot commented Nov 21, 2025

@vercel
Copy link

vercel bot commented Nov 21, 2025

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

Project Deployment Preview Comments Updated (UTC)
web Ready Ready Preview Comment Nov 27, 2025 2:27pm
web-juliett Ready Ready Preview Comment Nov 27, 2025 2:27pm

Copy link

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Replace complex timeout-based status filtering with a simple
.in('status', statuses) query and remove BUILD_TIMEOUT_MS. Also update
the builds table to only show the filter-refetching overlay when
isFilterRefetching && hasData.
@ben-fornefeld ben-fornefeld merged commit 1af3013 into main Nov 27, 2025
6 checks passed
@ben-fornefeld ben-fornefeld deleted the implement-builds-trpc-procedures-eng-3319 branch November 27, 2025 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants