← Back to Pull requests

Show the real channel name instead of the canonical channel name (multichannel) in the plan output #6214

Open
unknown opened this pull request with 500 lines diff across 6 files
View on GitHub
unknown unknown commented on Oct 14, 2026 15:59 UTC
Author

<!-- Hello! Thanks for submitting a PR! To help make things go a bit more
smoothly, we would appreciate it if you follow this template. -->

Description

<!-- Good things to put here include:
- reasons for the change (please link any relevant issues!),
- any noteworthy (or hacky) choices to be aware of,
- or what the problem resolved here looked like. -->

Show the real channel name instead of the canonical channel name (multichannel) in the plan output.

Consider a condarc file that looks like this (I know it's dumb, but this is an example):

channels:
  - defaults
custom_multichannels:
  asd:
    - https://repo.anaconda.com/pkgs/main
    - https://repo.anaconda.com/pkgs/r

The plan printed to stdout by conda-build would look like this:

## Package Plan ##

  environment location: /Users/jcmorin/miniconda/conda-bld/test-global_1791990082822/_h_env_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placehold_placeho


The following NEW packages will be INSTALLED:

    bzip2:           1.0.8-h80987f9_6       asd
    ca-certificates: 2026.9.25-hca03da5_0   asd
    libcxx:          22.1.2-hf894667_0      asd
    libexpat:        2.9.0-h50f4ffc_0       asd
    libffi:          3.4.8-h4a3ca97_3       asd
    ...

The plan generated by conda itself would instead look like this:

The following NEW packages will be INSTALLED:

  bzip2              pkgs/main/osx-arm64::bzip2-1.0.8-h80987f9_6 
  ca-certificates    pkgs/main/osx-arm64::ca-certificates-2026.9.25-hca03da5_0 
  iniconfig          pkgs/main/osx-arm64::iniconfig-2.3.0-py313hca03da5_0 
  libcxx             pkgs/main/osx-arm64::libcxx-22.1.2-hf894667_0 
  libexpat           pkgs/main/osx-arm64::libexpat-2.9.0-h50f4ffc_0 
  libffi             pkgs/main/osx-arm64::libffi-3.4.8-h4a3ca97_3 
  ...

So conda actually shows the real channel while conda-build would only show the multichannel.

So this PR fixes that. Note that I'm not aligning the output to what conda outputs. This PR only aligns on showing the real channel instead of the multichannel. If there's interest to aligning conda-build's plan output to conda, then I can also do that. I just wasn't sure if there were any interest.

The new output looks like this:

The following NEW packages will be INSTALLED:

    bzip2:           1.0.8-h80987f9_6          pkgs/main
    ca-certificates: 2026.9.25-hca03da5_0      pkgs/main
    libcxx:          22.1.2-hf894667_0         pkgs/main
    libexpat:        2.9.0-h50f4ffc_0          pkgs/main
    libffi:          3.4.8-h4a3ca97_3          pkgs/main
    ...

Checklist - did you ...

<!-- If any of the following items aren't relevant to your contribution,
please either tick them or use ~strikethrough~ so we know you've gone
through the checklist. -->

  • Add a file to the news directory (using the template) for the next release's release notes?

  • <!-- All "significant" changes should get an entry:
    - user-facing changes or enhancements
    - bug fixes
    - deprecations
    - documentation updates
    - etc -->
  • Add / update necessary tests?

  • ~[ ] Add / update outdated documentation?~
  • <!-- Just as a reminder, everyone in all conda org spaces (including PRs)
    must follow the Conda Org Code of Conduct (link below).

    Finally, once again, thanks for your time and effort. If you have any
    feedback in regards to your experience contributing here, please
    let us know!

    Helpful links:
    - Conda Org COC: https://github.com/conda/conda-build/blob/main/CODE_OF_CONDUCT.md
    - Contributing docs: https://github.com/conda/conda-build/blob/main/CONTRIBUTING.md -->

    Diff: 500 lines (+375 / -125) across 6 files Reviewer: beckermr Review duration: 2756m
    All Vouch review confidence checks passed
    Residual risk 0.25 = Change Risk (0.48) × (1 − Review Confidence (0.47)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.48 · 500 lines diff across 6 files
    0.48
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.02 · 1 substantive comment(s)
    0.02
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    46%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.372
    Shallow Review Depth shallow_review_depth
    0.344
    Real PR Conversation Timeline
    1 comments
    "Review active on #6214"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 46.7% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 47.5% (MEDIUM) · Higher = larger blast radius
    47.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 46.7% · Lower = rushed or shallow review
    46.7%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 25.3% · Safe to merge
    25.3%