fix(ci): fix broken docs link and memoize az CLI calls - #2
Merged
Conversation
- docs/src/content/docs/reference/cli.md: fix broken link on line 608 that pointed to non-existent '../getting-started/index.md'; correct path is '../get-started/installation.md' - packages/squad-sdk/src/platform/azure-devops.ts: memoize getAvailableWorkItemTypes() per org/project to prevent repeated az CLI calls (each taking up to 3 s) from causing test timeouts Fixes CI failure on feat/directive-capture-skill PR Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Fixes docs-quality CI failure: cspell flagged TELMU (squad persona name) and Automator (word used in docs) as unknown words. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
Two CI failures on the \eat/directive-capture-skill\ PR (run #23584240240):
1. Broken link in cli.md (line 608)
\docs/src/content/docs/reference/cli.md:608\ had a link to ../getting-started/index.md\ which doesn't exist. The correct directory is \get-started/\ (not \getting-started/).
2. Test timeout: \�alidateWorkItemType > is case-insensitive\
\ est/platform-adapter.test.ts:807\ timed out at 5000ms. Root cause: \getAvailableWorkItemTypes()\ calls \�xecFileSync('az', ...)\ with a 3s timeout. If \�z\ CLI is installed on the GitHub Actions runner, this could be slow enough that the 5th test in the describe block occasionally tips past the 5000ms vitest default timeout.
Fix
Fixes CI failure on \eat/directive-capture-skill\ PR.