Skip to content
This repository was archived by the owner on Nov 30, 2026. It is now read-only.

Fix the skills install prompt hanging - #294

Merged
joetannenbaum merged 1 commit into
laravel:mainfrom
JonPurvis:fix-skills-install-prompt-hang
Nov 20, 2026
Merged

joetannenbaum merged 1 commit into
laravel:mainfrom
JonPurvis:fix-skills-install-prompt-hang

Conversation

@JonPurvis

Copy link
Copy Markdown
Contributor

Hey 👋

I noticed an endless hang whenever I answered "Yes" to the Install Laravel Cloud CLI skills for AI agents? prompt.

Saying yes started skills:install through Artisan::call() with its output buffered and no agents selected. The installer then waited for "Which agents do you want to install skills for?" on a prompt that was never drawn, so the CLI appeared to hang.

The yes path now passes a real console and the agents it already detected, so the download is shown and that second prompt is skipped.

Copilot AI balanced review requested due to automatic review settings November 15, 2026 02:23

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🟢 Approval recommended

The skills-install confirmation changes have no active review issues.

No open issues 🎉

What changed in this PR

Fixes the skills-install confirmation flow so accepting the offer shows installer output and skips the hidden agent-selection prompt that caused the CLI to appear hung.

Changes:

  • Passes detected agents and --global to skills:install, with output directed to the terminal.
  • Adds regression coverage for the installer arguments and console output.
File Description
tests/​Feature/​OffersSkillsInstallTest.php Verifies detected agents and terminal output are passed when installation is accepted.
app/​Middleware/​OffersSkillsInstall.php Runs the installer with detected agents, global scope, and visible console output.

Review effort: Balanced

@joetannenbaum

Copy link
Copy Markdown
Collaborator

Thank you!

@joetannenbaum
joetannenbaum merged commit 367bbf3 into laravel:main Nov 20, 2026
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants