chore(claude): commit preview launch config#882
Conversation
Track .claude/launch.json so every worktree gets the preview server config (web on :3000, db-studio on :4983) without re-creating it. Also ignore .claude/worktrees so the per-worktree subtree never gets accidentally committed.
✅ Deploy Preview for tanstack ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
📝 WalkthroughWalkthroughTwo configuration files are added: a new Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Review rate limit: 4/5 reviews remaining, refill in 12 minutes. Comment |
There was a problem hiding this comment.
🧹 Nitpick comments (1)
.claude/launch.json (1)
11-15: Consider explicitly passing--port 4983todrizzle-kit studiofor clarity.
drizzle-kit studiobinds to port4983by default, so the current configuration works. However, theportfield inlaunch.jsonis used for preview routing and does not automatically configure the underlying process. To make it explicit that the service and launch config are synchronized, updateruntimeArgsto:"runtimeArgs": ["db:studio", "--", "--port", "4983"]This ensures that if the port in
launch.jsonchanges in the future, the actual service port is also explicitly updated, avoiding accidental misconfiguration.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In @.claude/launch.json around lines 11 - 15, Update the "db-studio" launch configuration so the actual drizzle-kit process receives the port flag: modify the runtimeArgs array used by the "db-studio" entry (the runtimeArgs property) to append an explicit "--", "--port", "4983" so the launched process is explicitly bound to port 4983 and stays in sync with the launch.json port field.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Nitpick comments:
In @.claude/launch.json:
- Around line 11-15: Update the "db-studio" launch configuration so the actual
drizzle-kit process receives the port flag: modify the runtimeArgs array used by
the "db-studio" entry (the runtimeArgs property) to append an explicit "--",
"--port", "4983" so the launched process is explicitly bound to port 4983 and
stays in sync with the launch.json port field.
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro
Run ID: 7ea9d7b2-e715-4651-a8b7-d53afbc4bf5c
📒 Files selected for processing (2)
.claude/launch.json.gitignore

Summary
.claude/launch.json(preview server config:webon :3000,db-studioon :4983) so every worktree and fresh branch picks it up automatically.claude/worktreesto.gitignoreso the per-worktree subtree never gets accidentally committedTest plan
pnpm format && pnpm test && pnpm test:smokeall greengit check-ignore .claude/launch.json→ not ignoredgit check-ignore .claude/worktrees→ ignoredSummary by CodeRabbit