Skip to content

Fix composer install hang with timeout and --no-interaction#61

Merged
jonathonbyrdziak merged 1 commit intomasterfrom
fix/composer-install-timeout
Mar 21, 2026
Merged

Fix composer install hang with timeout and --no-interaction#61
jonathonbyrdziak merged 1 commit intomasterfrom
fix/composer-install-timeout

Conversation

@jonathonbyrdziak
Copy link
Copy Markdown
Contributor

Summary

  • composer install was the actual cause of protocol start hanging — no timeout, no --no-interaction flag
  • Adds timeout 120, --no-interaction, --no-ansi to prevent interactive prompts and bound execution time
  • Reports exit code on failure
  • Uses escapeshellarg() for working dir path

Test plan

  • protocol start — composer install completes or fails within 120s, never hangs
  • protocol start -v — shows composer output

🤖 Generated with Claude Code

Composer install was hanging during protocol start, likely waiting for
auth input on a private package. Adds timeout 120, --no-interaction,
and --no-ansi flags. Reports exit code on failure.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@jonathonbyrdziak jonathonbyrdziak merged commit cac1b69 into master Mar 21, 2026
6 of 8 checks passed
@jonathonbyrdziak jonathonbyrdziak deleted the fix/composer-install-timeout branch March 21, 2026 01:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant