GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Migrate build and test pipeline to vite-plus by juliusmarminge · Pull Request #1616 · pingdotgg/t3code

Conversation

@juliusmarminge

@juliusmarminge juliusmarminge commented Mar 31, 2026 •
edited by macroscopeapp Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Summary

  • Replace the legacy tsdown/vitest workflow with vite-plus across desktop, server, web, and shared packages.
  • Consolidate build and test configs around root-level Vite-based task runners, including new vite.config.ts files and removed Turbo/tsdown config.
  • Update the server CLI and CI cache setup to match the new workspace build flow and dependency catalog handling.
  • Refresh several type signatures and runtime checks that surfaced during the migration.

Testing

  • Install vite-plus: https://viteplus.dev/guide/#install-vp
  • Not run locally.
  • Expected to pass: bun fmt
  • Expected to pass: bun lint
  • Expected to pass: bun typecheck
  • Expected to pass: bun run test

Note

Medium Risk
Build/test infrastructure is replaced across desktop/server/web, so failures may surface in CI or local workflows despite mostly mechanical changes. Runtime logic changes are minor, but the new bundling/aliasing config affects how packages resolve and ship.

Overview
Switches the workspace build + test toolchain to vite-plus. Desktop/server bundling moves from tsdown to vp pack with new vite.config.ts files, Turbo app configs are removed, and package scripts are updated to use vp for build/dev/test.

Adjusts repo plumbing to match the new flow. CI caching drops .turbo and only caches Bun, docs update the meaning of bun run build, and TypeScript configs now include source-package paths (and exclude their tests) to support the new bundling/TS resolution.

Includes small correctness/type cleanups uncovered by the migration. Many Effect.Effect<..., never>/fiber signatures are loosened, workspace scanning ignores .vite instead of .turbo, and a few UI/test assertions and casts are simplified for stricter typing and more reliable browser tests.

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

Note

Migrate build, test, and dev pipeline from vitest/turbo/tsdown to vite-plus

  • Replaces vitest imports with vite-plus/test across all test files in apps/, packages/, and scripts/.
  • Replaces turbo with vp (vite-plus CLI) for monorepo task orchestration in root and per-package package.json scripts (dev, build, test, lint, fmt).
  • Replaces tsdown with vp pack for bundling desktop and shared packages; adds vite.config.ts files for apps/desktop, apps/server, apps/web, packages/shared, and packages/contracts.
  • Adds path alias resolution for @t3tools/* workspace packages to source files across all vite configs and tsconfig.base.json, removing the need for pre-built outputs during development.
  • Workspace directory scanning in WorkspaceEntries.ts now ignores .vite instead of .turbo.
  • Removes turbo cache from CI; simplifies cache key to bun.lock only.
  • Behavioral Change: Effect.Effect and related types drop explicit never error/environment type parameters throughout the codebase, aligning with updated Effect library conventions.

Macroscope summarized 881c649. (Automatic summaries will resume when PR exits draft mode or review begins).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@juliusmarminge
Migrate build and tests to vite-plus
881c649
- Replace tsdown and Turbo build wiring with vite-plus tasks
- Switch server, desktop, and web tests to vite-plus test imports
- Tighten related Effect types and update CI/docs for the new workflow
@coderabbitai

coderabbitai Bot commented Mar 31, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: e4d3d144-bd31-4f9e-bee1-752c489f4ed5

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch t3code/viteplus-migrate

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

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge
juliusmarminge marked this pull request as draft March 31, 2026 20:50
@github-actions github-actions Bot added vouch:trusted Author is trusted by repo permissions or the VOUCHED list. size:XXL 1,000+ changed lines (additions + deletions). labels Mar 31, 2026
cursor[bot]
cursor Bot reviewed Mar 31, 2026
View reviewed changes

@cursor cursor Bot left a comment •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

There was a problem hiding this 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.

Fix All in Cursor

Bugbot Autofix prepared a fix for the issue found in the latest run.

  • ✅ Fixed: Workspace scan no longer ignores Turbo cache
    • Restored .turbo to IGNORED_DIRECTORY_NAMES alongside the newly added .vite, since the migration accidentally replaced it instead of adding .vite as an additional entry.

Create PR

Or push these changes by commenting:

@cursor push 2d90d516bd
Preview (2d90d516bd)
diff --git a/apps/server/src/workspace/Layers/WorkspaceEntries.ts b/apps/server/src/workspace/Layers/WorkspaceEntries.ts
--- a/apps/server/src/workspace/Layers/WorkspaceEntries.ts
+++ b/apps/server/src/workspace/Layers/WorkspaceEntries.ts
@@ -21,6 +21,7 @@
   ".convex",
   "node_modules",
   ".next",
+  ".turbo",
   ".vite",
   "dist",
   "build",

You can send follow-ups to this agent here.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread apps/server/src/workspace/Layers/WorkspaceEntries.ts Outdated
"node_modules",
".next",
".turbo",
".vite",

@cursor cursor Bot Mar 31, 2026

Copy link
Copy Markdown
Contributor

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Workspace scan no longer ignores Turbo cache

Medium Severity

Replacing ".turbo" with ".vite" in IGNORED_DIRECTORY_NAMES makes WorkspaceEntries recurse into old Turbo caches. When Git filtering is unavailable or the folder is outside a Git worktree, .turbo contents can flood indexing, hit WORKSPACE_INDEX_MAX_ENTRIES, and hide real project files from search results.

Additional Locations (1)
  • apps/server/src/workspace/Layers/WorkspaceEntries.ts#L356-L358
Fix in Cursor Fix in Web

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
juliusmarminge and others added 6 commits March 31, 2026 14:57
@juliusmarminge
Migrate workspace to package exports
c190e9f
- Remove tsconfig path aliases and Vite aliases
- Point contracts/shared packages at source entrypoints
- Update dev runner imports to use package specifiers
@juliusmarminge
rev
b6227a4
@juliusmarminge
pin it
435a08b
@juliusmarminge
rev
5abe284
@juliusmarminge
Migrate CI and web tests to vite-plus
e3404d1
- switch workspace checks and tests to `vp`
- fold Vitest browser config into `vite.config.ts`
- add `electron-builder` for desktop packaging
@juliusmarminge @codex
Merge origin/main into t3code/viteplus-migrate
33b3473
Co-authored-by: codex <[email protected]>
@adammansfield adammansfield mentioned this pull request Apr 12, 2026
[Bug]: bun dev:desktop on Windows times out due to tsdown 0.20.3 #1968
Closed
2 tasks done
@adammansfield

adammansfield commented Apr 12, 2026

Copy link
Copy Markdown
Contributor

This change will fix bug #1968 as it removes tsdown.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge

juliusmarminge commented Apr 12, 2026

Copy link
Copy Markdown
Member Author

This change will fix bug #1968 as it removes tsdown.

it doesn't really remove it. tsdown is used by vp pack

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@adammansfield

adammansfield commented Apr 13, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

This change will fix bug #1968 as it removes tsdown.

it doesn't really remove it. tsdown is used by vp pack

Sorry I didn't realize. But this change will still fix #1968 because vp pack uses tsdown 0.21.7 (according to the bun.lock). That version does not hang for bun dev:desktop on Windows.

Tested with this PR:

irm https://vite.plus/ps1 | iex # re-open terminal so vp in PATH
git fetch upstream pull/1616/merge:pull/1616
git switch pull/1616
vp install 
vp run dev:desktop
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@juliusmarminge juliusmarminge closed this Jun 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@cursor cursor[bot] cursor[bot] left review comments

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

size:XXL 1,000+ changed lines (additions + deletions). vouch:trusted Author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@juliusmarminge @adammansfield
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.