Repository navigation
Conversation
|
commit: |
|
|
This should make it easier to spot issues like this solana-foundation/solana-dev-skill#74 |
Previously a failed skill install only surfaced as "Installed 1/2 skills" with the actual error hidden behind --verbose. Each failure now logs a warning with the skill source and the first line of the skills CLI's stderr (e.g. a SKILL.md YAML parse error), plus a pointer to the full error log.
43abe59 to
50ae922
Compare
A failed skill install previously only surfaced as
Installed 1/2 skills, with the actual error hidden behind--verbose. This came up in solana-mobile-cli, where thereact-kit-shadcntemplate's first skill (solana-foundation/solana-dev-skill) fails to install because its SKILL.md frontmatter has an unquoteddescription:containing:, which is invalid YAML — and there was no way to tell from the output.The install-skills task now collects per-skill failures and always logs a warning per failed skill with the skill source, the first line of the skills CLI's stderr (e.g. the YAML parse error), and a pointer to the full error log written by
execAndWait:Verified end-to-end with a built dist against
gh:solana-mobile/templates/mobile/react-kit-shadcn. Tests updated: the failure test now asserts the always-on warning, and a new test covers reason extraction fromCreateAppError.