Skip to content

Promote the Conda ComponentDetector to experimental#1838

Open
ryanbrandenburg wants to merge 1 commit into
mainfrom
rybrande/conda_experiment
Open

Promote the Conda ComponentDetector to experimental#1838
ryanbrandenburg wants to merge 1 commit into
mainfrom
rybrande/conda_experiment

Conversation

@ryanbrandenburg

Copy link
Copy Markdown
Contributor

Promote the Conda ComponentDetector to experimental and create an experiment to start gathering telemetry so we know if this is ready for on-by-default promotion.

Copilot AI review requested due to automatic review settings July 7, 2026 22:58
@ryanbrandenburg ryanbrandenburg requested a review from a team as a code owner July 7, 2026 22:58
@ryanbrandenburg ryanbrandenburg requested a review from ByAgenT July 7, 2026 22:58

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

Promotes the CondaLock detector to the experimental lifecycle stage and wires it into the orchestrator’s experiment pipeline so telemetry/diffs can be captured while keeping experimental detector output out of normal scan results.

Changes:

  • Promote CondaLockComponentDetector from IDefaultOffComponentDetector to IExperimentalDetector.
  • Register a new CondaLockDetectorExperiment experiment configuration in the orchestrator DI container.
  • Add a governance test and docs update to reflect the CondaLock detector’s experimental status.
Show a summary per file
File Description
test/Microsoft.ComponentDetection.Detectors.Tests/ComponentDetectorTests.cs Adds a governance test asserting CondaLock detector is registered and implements IExperimentalDetector.
src/Microsoft.ComponentDetection.Orchestrator/Extensions/ServiceCollectionExtensions.cs Registers the new CondaLock experiment configuration in DI.
src/Microsoft.ComponentDetection.Orchestrator/Experiments/Configs/CondaLockDetectorExperiment.cs Introduces an experiment config to compare CondaLock vs PipReport detector outputs.
src/Microsoft.ComponentDetection.Detectors/conda/CondaLockComponentDetector.cs Promotes the detector to IExperimentalDetector.
docs/detectors/README.md Updates detector status documentation to “Experimental”.

Review details

  • Files reviewed: 5/5 changed files
  • Comments generated: 2
  • Review effort level: Low

using YamlDotNet.Serialization;

public class CondaLockComponentDetector : FileComponentDetector, IDefaultOffComponentDetector
public class CondaLockComponentDetector : FileComponentDetector, IExperimentalDetector

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is true, and a bit odd, but it's a pre-existing condition that I'd rather fix in a separate PR after this one merges.

@grvillic grvillic self-requested a review July 7, 2026 23:22
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