Skip to content

Track automatic PMC init.ps1 execution separately - #7860

Merged
zivkan merged 4 commits into
devfrom
dev-zivkan-nuget-telemetry-analysis
Nov 11, 2026
Merged

zivkan merged 4 commits into
devfrom
dev-zivkan-nuget-telemetry-analysis

Conversation

@zivkan

@zivkan zivkan commented Nov 6, 2026 •

Copy link
Copy Markdown
Member

Bug

Getting data for https://github.com/NuGet/Home/blob/dev/accepted/2026/control-powershell-script-execution.md

Description

Add a telemetry property to measure when package init.ps1 scripts are run. It counts both "run init.ps1 on PMC startup", as well as when a package is installed and it runs init.ps1 as part of the install within VS.

PR Checklist

  • Meaningful title, helpful description and a linked NuGet/Home issue
  • Added tests
  • Link to an issue or pull request to update docs if this PR changes settings, environment variables, new feature, etc. N/A

Count automatic package initialization attempts during console initialization and package installation independently of user-entered PMC commands. Add focused telemetry tests and isolate static-event tests without disabling assembly-wide parallelism.

Co-authored-by: Copilot App <[email protected]>
@zivkan zivkan added the Engineering Changes related to the build infrastructure of the repo and that do not change product code label Nov 6, 2026
@zivkan
zivkan marked this pull request as ready for review November 6, 2026 03:34
@zivkan
zivkan requested a review from a team as a code owner November 6, 2026 03:34
@zivkan
zivkan requested a review from jebriede November 10, 2026 20:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Engineering Changes related to the build infrastructure of the repo and that do not change product code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants