Skip to content

[release/13.4] Add coding agent telemetry detection and report copilot-cli specifically#18240

Merged
joperezr merged 4 commits into
release/13.4from
backport/pr-18065-to-release/13.4
Jun 16, 2026
Merged

[release/13.4] Add coding agent telemetry detection and report copilot-cli specifically#18240
joperezr merged 4 commits into
release/13.4from
backport/pr-18065-to-release/13.4

Conversation

@aspire-repo-bot

@aspire-repo-bot aspire-repo-bot Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

Backport of #18065 and #18094 to release/13.4

/cc @DamianEdwards

Customer Impact

Aspire CLI telemetry in release/13.4 would not identify known coding agents, and Copilot CLI usage would not be reported specifically as copilot-cli, reducing visibility into coding-agent-driven CLI usage. The telemetry records only known agent names, not environment variable values.

Testing

Ran .\restore.cmd and dotnet test --project tests\Aspire.Cli.Tests\Aspire.Cli.Tests.csproj --no-launch-profile -- --filter-class "*.AspireCliTelemetryTests" --filter-not-trait "quarantined=true" --filter-not-trait "outerloop=true".

Risk

Low. The change is localized to Aspire CLI telemetry/coding-agent detection and tests, and does not add public API.

Regression?

Unknown — please confirm.

DamianEdwards and others added 2 commits June 16, 2026 17:21
Detect known coding agents from environment variables and include the detected agent name on Aspire CLI main telemetry.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot AI review requested due to automatic review settings June 16, 2026 17:21

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@github-actions

github-actions Bot commented Jun 16, 2026

Copy link
Copy Markdown
Contributor

🚀 Dogfood this PR with:

⚠️ WARNING: Do not do this without first carefully reviewing the code of this PR to satisfy yourself it is safe.

curl -fsSL https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.sh | bash -s -- 18240

Or

  • Run remotely in PowerShell:
iex "& { $(irm https://raw.githubusercontent.com/microsoft/aspire/main/eng/scripts/get-aspire-cli-pr.ps1) } 18240"

@DamianEdwards DamianEdwards changed the title [release/13.4] Add coding agent telemetry detection [release/13.4] Add coding agent telemetry detection and report copilot-cli specifically Jun 16, 2026
@DamianEdwards DamianEdwards requested a review from joperezr June 16, 2026 17:38
@github-actions

Copy link
Copy Markdown
Contributor

Retrying the failed CI jobs for this pull request from the CI run attempt. The rerun is being tracked in the rerun attempt.

This was referenced Jun 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants