← Back to Pull requests

feat(ci): adding prefix `ci:` to gfx targets along with `configure_ci_labels.py` script to keep it uniform #8435

Closed
unknown closed this pull request without merging on Sep 23, 2026 20:26 UTC
View on GitHub
unknown unknown commented on Sep 22, 2026 21:23 UTC
Author

Progress on #7375 with much more updates incoming as we expand our labelling system

We are beginning the label enhancement work incrementally, with some work starting when https://github.com/ROCm/TheRock/pull/8322 lands.

In this PR, we are handling:

  • adding prefix ci: to gfx targets

  • CI labels in multi-arch are available to external repos and TheRock. must be consistent
  • We are adding a script to create labels and ensure uniformity across all repos that use multi-arch CI. we are also adding ci: on the gfx targets and using the script to ensure uniformity. The script has no destructive properties, only creating or updating

    Local dry run:

    $ python3 configure_ci_labels.py --repo ROCm/TheRock --create --force --dry-run
    
    Creating CI labels in ROCm/TheRock...
    (--force: existing labels will be updated to match)
    (DRY RUN - no changes will be made)
    
      [DRY RUN] Would create label: ci:gfx103X-linux
      [DRY RUN] Would create label: ci:gfx103X
      [DRY RUN] Would create label: ci:gfx90X-dcgpu
      [DRY RUN] Would create label: ci:gfx94X-dcgpu
      [DRY RUN] Would create label: ci:gfx950-dcgpu
      [DRY RUN] Would create label: ci:gfx110X-dgpu
      [DRY RUN] Would create label: ci:gfx110X-all
      [DRY RUN] Would create label: ci:gfx1103
      [DRY RUN] Would create label: ci:gfx1150
      [DRY RUN] Would create label: ci:gfx1151
      [DRY RUN] Would create label: ci:gfx1152
      [DRY RUN] Would create label: ci:gfx1153
      [DRY RUN] Would create label: ci:gfx120X-all
      [DRY RUN] Would create label: ci:gfx125x
      [DRY RUN] Would create label: ci:gfx125X-dcgpu
      [DRY RUN] Would create label: ci:gfx900
      [DRY RUN] Would create label: ci:gfx906
      [DRY RUN] Would create label: ci:gfx908
      [DRY RUN] Would create label: ci:gfx90a
      [DRY RUN] Would create label: ci:gfx90c
      [DRY RUN] Would update label: test:ocltst (color: #03B8ED -> #3FA7D6)
      [DRY RUN] Would update label: test:hip-tests (color: #20566E -> #3FA7D6)
      [DRY RUN] Would update label: test:hipkernelprovider (color: #20566E -> #3FA7D6)
      [DRY RUN] Would update label: test:amdsmi (color: #277804 -> #3FA7D6, desc: "" -> "For pull requests, runs full t...")
      [DRY RUN] Would update label: test:rocgdb-cpu (color: #20566E -> #3FA7D6)
      [DRY RUN] Would update label: test:rocgdb-gpu (color: #20566E -> #3FA7D6)
      [DRY RUN] Would update label: test:rocgdb (color: #20566E -> #3FA7D6)
      [DRY RUN] Would update label: test:rocprofiler-sdk-spm (desc: "To run rocprofier-sdk-spm jobs" -> "To run rocprofiler-sdk-spm job...")
      [DRY RUN] Would update label: test:rpp (desc: "" -> "For pull requests, runs full t...")
    
    Summary: 20 created, 9 updated, 40 already matched
    

    Local actual run:

    $ python3 configure_ci_labels.py --repo ROCm/TheRock --create --force
    
    Creating CI labels in ROCm/TheRock...
    (--force: existing labels will be updated to match)
      Created label: ci:gfx103X-linux
      Created label: ci:gfx103X
      Created label: ci:gfx90X-dcgpu
      Created label: ci:gfx94X-dcgpu
      Created label: ci:gfx950-dcgpu
      Created label: ci:gfx110X-dgpu
      Created label: ci:gfx110X-all
      Created label: ci:gfx1103
      Created label: ci:gfx1150
      Created label: ci:gfx1151
      Created label: ci:gfx1152
      Created label: ci:gfx1153
      Created label: ci:gfx120X-all
      Created label: ci:gfx125x
      Created label: ci:gfx125X-dcgpu
      Created label: ci:gfx900
      Created label: ci:gfx906
      Created label: ci:gfx908
      Created label: ci:gfx90a
      Created label: ci:gfx90c
      Updated label: test:ocltst (color: #03B8ED -> #3FA7D6)
      Updated label: test:hip-tests (color: #20566E -> #3FA7D6)
      Updated label: test:hipkernelprovider (color: #20566E -> #3FA7D6)
      Updated label: test:amdsmi (color: #277804 -> #3FA7D6, desc: "" -> "For pull requests, runs full t...")
      Updated label: test:rocgdb-cpu (color: #20566E -> #3FA7D6)
      Updated label: test:rocgdb-gpu (color: #20566E -> #3FA7D6)
      Updated label: test:rocgdb (color: #20566E -> #3FA7D6)
      Updated label: test:rocprofiler-sdk-spm (desc: "To run rocprofier-sdk-spm jobs" -> "To run rocprofiler-sdk-spm job...")
      Updated label: test:rpp (desc: "" -> "For pull requests, runs full t...")
    
    Summary: 20 created, 9 updated, 40 already matched
    

    Diff: 526 lines (+394 / -132) across 6 files Reviewer: endurthiabhilash Review duration: 1382m
    All Vouch review confidence checks passed
    Residual risk 0.28 = Change Risk (0.71) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.71 · 526 lines diff across 6 files
    0.71
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    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.375
    Shallow Review Depth shallow_review_depth
    0.289
    Sensitive Paths sensitive_paths
    0.071
    Real PR Conversation Timeline
    1 comments
    "Review active on #8435"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed sensitive_module
    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: 71% (HIGH) · Higher = larger blast radius
    71%
    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: 60.5% · Lower = rushed or shallow review
    60.5%
    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: 28% · Safe to merge
    28%
    Repository