Skip to content

fix(start): skip IDE validation when --create-only flag is used - #1023

Merged
acreeger merged 1 commit into
mainfrom
fix/create-only-skip-ide-validation
Jun 18, 2026
Merged

fix(start): skip IDE validation when --create-only flag is used#1023
acreeger merged 1 commit into
mainfrom
fix/create-only-skip-ide-validation

Conversation

@acreeger

Copy link
Copy Markdown
Collaborator

Summary

  • --create-only disables all launch components (Claude, IDE, terminal, dev server), but the preAction IDE validation hook in cli.ts didn't check for it — causing process.exit(1) when the configured IDE command wasn't found, even though it would never be launched
  • Added createOnly check alongside the existing --no-code check in validateIdeForStartCommand
  • Added test coverage for the new behavior

Test plan

  • Existing validateIdeForStartCommand tests pass (34/34)
  • New test verifies --create-only skips IDE validation
  • Pre-commit hooks pass (lint, compile, build, tests)

The --create-only flag disables all launch components (Claude, IDE, terminal,
dev server), but the preAction IDE validation hook didn't check for it —
causing a hard exit when the configured IDE wasn't found, even though it
would never be launched.
@acreeger
acreeger merged commit f751158 into main Jun 18, 2026
4 checks passed
@acreeger
acreeger deleted the fix/create-only-skip-ide-validation branch June 18, 2026 04:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant