-
-
Notifications
You must be signed in to change notification settings - Fork 225
Open
Description
Bug Description
When running bunx create-better-t-stack add --addons ultracite --install, the command hangs indefinitely waiting for user input during the ultracite setup process.
Environment
- Better-T-Stack version: 3.2.20
- Ultracite version: 6.3.0
- Package manager: bun
- Operating system: macOS
Steps to Reproduce
- Run:
bunx create-better-t-stack add --addons ultracite --install - Command displays "Setting up Ultracite..."
- Command hangs at "Which agent hooks do you want to enable?" prompt
Root Cause Analysis
The issue occurs because:
- Better-T-Stack expects non-interactive behavior: It calls ultracite with CI: "true" environment variable expecting it to skip prompts
- Ultracite doesn't respect CI mode: Even with CI=true, ultracite still shows interactive prompts for "agent hooks" and "additional integrations"
- Command construction: Better-T-Stack runs: bunx ultracite@latest init --pm bun --frameworks react --editors vscode --agents claude --skip-install with CI=true
Validation
I've confirmed the issue by testing:
CI=true bunx ultracite@latest init --pm bun --frameworks react --editors vscode --agents claude --skip-install
The ultracite CLI help output shows no --yes or --no-interactive flags, and CI=true is not documented as supported.
Expected Behavior
Either:
- Ultracite should respect CI=true and skip all interactive prompts, OR
- Better-T-Stack should implement a fallback when ultracite fails to run non-interactively
Actual Behavior
Command hangs indefinitely waiting for user input, breaking the automation chain.
Related Issues
- Ultracite issue: haydenbleasel/ultracite#384 - Root cause: ultracite doesn't respect CI environment variable
Metadata
Metadata
Assignees
Labels
No labels