Repository navigation
Fix release/17.0 CI: aspire destroy unknown-option sample - #2149
Merged
Sébastien Ros (sebastienros) merged 1 commit intoNov 13, 2026
Merged
Conversation
The unknown-arguments example ran 'aspire destroy --force' in a bash block, which the pipeline command options unit test flags as an undocumented option. Describe the invalid option in prose and keep the error output.
Sébastien Ros (sebastienros)
requested review from
David Pine (IEvangelist) and
Mitch Denny (mitchdenny)
as code owners
November 13, 2026 23:27
Sébastien Ros (sebastienros)
enabled auto-merge (squash)
November 13, 2026 23:27
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain for the documentation example adjustment and icon safelist additions.
No open issues 🎉
What changed in this PR
This PR addresses the release/17.0 CI failure introduced by #1975 by keeping the invalid aspire destroy example out of runnable command samples.
Changes:
- Moves the unsupported
--forceexample into prose while preserving the exit code and error output. - Adds three entries to the generated icon safelist.
| File | Description |
|---|---|
src/frontend/src/content/docs/reference/cli/commands/aspire-destroy.mdx |
Replaces the invalid bash sample with prose describing the same rejection behavior. |
src/frontend/.starlight-icons/safelist.json |
Adds VS Code folder and Go module icon entries. |
Review effort: Balanced
Contributor
Frontend HTML artifact readyThe latest frontend build uploaded the This comment updates automatically when a new frontend build artifact is uploaded. |
Sébastien Ros (sebastienros)
deleted the
fix/destroy-unknown-option-sample
branch
November 13, 2026 23:56
Member
|
Thank you Sébastien Ros (@sebastienros) |
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.
release/17.0CI has been failing since #1975. Its Unknown arguments section runsaspire destroy --forcein a bash block, andtests/unit/cli-pipeline-command-options.vitest.test.tsrejects every pipeline-command sample that passes an undocumented option:The example is intentionally invalid, so this keeps the error output and moves
--forceinto prose instead of a runnable command. Readers get the same information, and the page no longer shows a destroy command that looks like something to copy.This unblocks every open PR targeting
release/17.0.Also included:
src/frontend/.starlight-icons/safelist.jsongains three entries (folder-vscode,folder-vscode-open,go-mod). Running the test locally regenerated this file. The entries match file-tree icons thatrelease/17.0content already uses (for example the Go AppHost page's.vscode/andgo.mod), so the committed safelist was stale. The same fix was merged into the 10 open docs PRs targetingrelease/17.0so their CI can go green.