Repository navigation
{CI} Submit resolved CLI runtime dependencies to Component Governance - #34490
Open
Naga Nandyala (naga-nandyala) wants to merge 2 commits into
Open
Naga Nandyala (naga-nandyala) wants to merge 2 commits into
Naga Nandyala (naga-nandyala) wants to merge 2 commits into
Conversation
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Contributor
There was a problem hiding this comment.
🔵 Needs a closer look
Pipeline owners still need to verify that hosted Component Governance consumes pre-generated pip reports and publishes snapshots on Linux, macOS, and Windows for PR, dev, and release runs.
No open issues 🎉
What changed in this PR
Adds resolved runtime dependency reporting to the three platform requirements jobs so Component Governance can use pip’s installation inventory rather than source-file discovery alone.
Changes:
- Installs the checked-out CLI with platform pins and generates a pip report.
- Submits the report after successful runtime checks on queued PR validations and existing
devandreleasebuilds. - Documents verification steps and clarifies that the inventory represents the tested runtime, not the final installer. Packaging, signing, and triggers remain unchanged.
| File | Description |
|---|---|
scripts/ci/install_with_cg_report.py |
Installs local CLI packages with platform pins and generates the dependency report. |
scripts/ci/dependency_check.sh |
Selects report-generating installation when enabled on Linux and macOS. |
scripts/ci/dependency_check.bat |
Selects report-generating installation when enabled on Windows. |
azure-pipelines.yml |
Enables reporting for eligible builds and wires submission into all three jobs. |
.azure-pipelines/templates/submit-cli-inventory.yml |
Defines the conditional Component Governance submission task. |
.azure-pipelines/Agent.md |
Documents inventory scope and hosted verification steps. |
Review effort: Balanced
Yong Zhang (yonzhan)
previously approved these changes
Nov 24, 2026
Collaborator
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
This branch has not been deployed
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.
🤖 PR Validation — ️✔️ All clear
Description
Generate a pip installation report while the Linux, macOS, and Windows requirements jobs install the checked-out CLI with their platform pins. Submit each report to Component Governance after the runtime checks succeed. This lets the detector use the versions pip resolved instead of relying on source-file discovery alone.
The new step runs on queued PR validations and existing
devandreleasebuilds. No packaging, signing, or branch triggers change. The inventory describes the runtime tested by CI, not the final installer.Testing Guide
Snapshot request submitted. These counts describe the runtime reports, not the entire scans.devandreleaseruns.History Notes
CI-only change; no customer-facing command changes.