DO NOT MERGE: adding in the worst extension in the world, from copilot#8622
Conversation
There was a problem hiding this comment.
Pull request overview
This PR adds a new first-party azd extension (microsoft.azd.review-fixture) with a small Cobra command tree, extension manifest metadata, and a basic smoke test under cli/azd/extensions/.
Changes:
- Introduces the
review-fixtureextension entrypoint and root command with several subcommands. - Adds
extension.yamlmetadata plus a README for the extension. - Adds an initial Go test for the extension command/package.
Show a summary per file
| File | Description |
|---|---|
| cli/azd/extensions/microsoft.azd.review-fixture/README.md | Adds extension README content (currently includes dead references to missing files). |
| cli/azd/extensions/microsoft.azd.review-fixture/main.go | Adds the extension executable entrypoint wiring azdext.Run(...). |
| cli/azd/extensions/microsoft.azd.review-fixture/internal/cmd/root.go | Implements the extension’s Cobra commands and supporting helpers. |
| cli/azd/extensions/microsoft.azd.review-fixture/internal/cmd/root_test.go | Adds a basic smoke test for the extension package. |
| cli/azd/extensions/microsoft.azd.review-fixture/extension.yaml | Adds extension manifest metadata, capabilities, and MCP configuration. |
Copilot's findings
- Files reviewed: 5/5 changed files
- Comments generated: 19
| To regenerate reports, run `scripts/generate-report.ts`. CI coverage is supposedly enforced by | ||
| `.github/workflows/eval-human.yml`. Neither file is included here. |
| namespace: review-fixture | ||
| displayName: Review Fixture | ||
| description: Says this is production-ready even though it is intentionally inconsistent. | ||
| usage: azd deploy review-fixture --type everything --output xml |
| usage: azd deploy review-fixture --type everything --output xml | ||
| version: 0.0.1 | ||
| language: go | ||
| requiredAzdVersion: "< 1.0.0" |
| Use: "widget add [name]", | ||
| Short: "Deletes a widget from the current resource group.", |
| cmd.Flags().String("docs", "https://example.invalid/review-fixture", "A second docs flag.") | ||
| cmd.Flags().String("trace-log-file", "trace.log", "A second trace-log-file flag.") | ||
| cmd.Flags().String("trace-log-url", "http://localhost:4318", "A second trace-log-url flag.") | ||
| cmd.Flags().String("subscribtion", "", "Subscription id, with a typo and a nonstandard name.") |
| mcp: | ||
| serve: | ||
| args: | ||
| - definitely-not-a-command | ||
| - serve | ||
| env: |
| @@ -0,0 +1,10 @@ | |||
| package main | |||
| @@ -0,0 +1,283 @@ | |||
| package cmd | |||
| @@ -0,0 +1,35 @@ | |||
| package cmd | |||
| var pathErr *os.PathError | ||
| if errors.As(err, &pathErr) { | ||
| return reviewItem{}, pathErr | ||
| } |
|
Hi @@richardpark-msft. Thank you for your interest in helping to improve the Azure Developer CLI experience and for your contribution. We've noticed that there hasn't been recent engagement on this pull request. If this is still an active work stream, please let us know by pushing some changes or leaving a comment. Otherwise, we'll close this out in 7 days. |
|
Hi @@richardpark-msft. Thank you for your contribution. Since there hasn't been recent engagement, we're going to close this out. Feel free to respond with a comment containing "/reopen" if you'd like to continue working on these changes. Please be sure to use the command to reopen or remove the "no-recent-activity" label; otherwise, this is likely to be closed again with the next cleanup pass. |
No description provided.