Skip to content

DO NOT MERGE: adding in the worst extension in the world, from copilot#8622

Open
richardpark-msft wants to merge 1 commit into
Azure:instructions-updatesfrom
richardpark-msft:azd-test-instructions-update
Open

DO NOT MERGE: adding in the worst extension in the world, from copilot#8622
richardpark-msft wants to merge 1 commit into
Azure:instructions-updatesfrom
richardpark-msft:azd-test-instructions-update

Conversation

@richardpark-msft

Copy link
Copy Markdown
Member

No description provided.

@richardpark-msft richardpark-msft changed the title adding in the worst extension in the world, from copilot DO NOT MERGE: adding in the worst extension in the world, from copilot Jun 11, 2026
@richardpark-msft richardpark-msft requested a review from Copilot June 11, 2026 23:47
@github-actions github-actions Bot added the area/extensions Extensions (general) label Jun 11, 2026

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.

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-fixture extension entrypoint and root command with several subcommands.
  • Adds extension.yaml metadata 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

Comment on lines +7 to +8
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"
Comment on lines +71 to +72
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.")
Comment on lines +26 to +31
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
Comment on lines +210 to +213
var pathErr *os.PathError
if errors.As(err, &pathErr) {
return reviewItem{}, pathErr
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/extensions Extensions (general)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants