← Back to Pull requests

ci: enable native Linux packages by label #12387

Merged
erman-gurses merged 1 files (4 lines) on Sep 22, 2026 15:14 UTC
View on GitHub
erman-gurses erman-gurses commented on Sep 21, 2026 18:01 UTC
Author

Summary


Issue: https://github.com/ROCm/rocm-libraries/issues/12389
Enable native Linux package builds in rocm-libraries Multi-Arch CI when a pull request has the ci:native-linux-packages label.

The label activates TheRock’s existing DEB and RPM package builds and installation tests. Manual activation through workflow_dispatch remains supported, while unlabeled pull requests and normal push runs remain unchanged.

Motivation

Native packaging is expensive, so this provides opt-in validation for packaging-sensitive changes without adding cost to every presubmit run.

CI validation

Validated with run 35646019002:

  • Applied ci:native-linux-packages to the PR.

  • Built DEB and RPM packages.

  • Completed simulated package installation checks.

  • Generated and uploaded the package repositories.

  • Passed package installation and uninstallation tests on Ubuntu 24.04, RHEL 8, RHEL 10, and SLES 16.
  • Diff: 4 lines (+3 / -1) across 1 files Reviewer: nunnikri Review duration: 1273m
    All Vouch review confidence checks passed
    Residual risk 0.02 = Change Risk (0.13) × (1 − Review Confidence (0.81)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.13 · 4 lines diff across 1 files
    0.13
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.72 · 4 substantive comment(s)
    0.72
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 50%
    81%
    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.096
    Real PR Conversation Timeline
    7 items
    therock-pr-bot[bot] therock-pr-bot[bot] commented on Sep 21, 2026 18:06 UTC
    Bot

    <!-- therock-pr-bot-policy-check -->

    ✅ All Policy Checks Passed

    | Check | Status | Details |
    |---|:---:|---|
    | 📝 PR Description | ✅ Pass | — |
    | ⛔ Forbidden Files | ✅ Pass | — |
    | 🧪 Unit Test | ✅ Pass | PR does not contain code files — Unit Test auto-passed |
    | 🚫 Draft PR | 🔜 To Be Enabled | — |
    | 🚩 Feature Flag | 🔜 To Be Enabled | — |
    | 📊 Code Coverage | 🔜 To Be Enabled | — |

    🎉 All policy checks passed!

    📖 Need help? See the Policy FAQ for details on every check and how to fix failures.

    🙋 Wish to Override Policy?

    therock-pr-bot[bot] therock-pr-bot[bot] commented on Sep 21, 2026 18:06 UTC
    Bot

    <!-- therock-pr-bot-fix-policies -->
    🎉 All checks passed! This PR is ready for review.

    nunnikri nunnikri approved these changes on Sep 21, 2026 19:05 UTC
    Approved Reviewer

    Changes looks good. It will be nicer if the ci:native-linux-packages flag is enabled and make sure the packages are build properly before submitting the change

    ammallya ammallya approved these changes on Sep 21, 2026 20:23 UTC
    Approved Reviewer

    Lgtm

    erman-gurses erman-gurses commented on Sep 22, 2026 15:12 UTC
    Author

    Changes looks good. It will be nicer if the ci:native-linux-packages flag is enabled and make sure the packages are build properly before submitting the change

    Tested with ci:native-linux-packages label. DEB and RPM packages were built successfully.
    Installation and uninstallation tests passed on:

  • Ubuntu 24.04

  • RHEL 8

  • RHEL 10

  • SLES 16
  • assistant-librarian[bot] assistant-librarian[bot] commented on Sep 24, 2026 14:09 UTC
    Bot

    <!-- therock-bump-breadcrumb -->

    TheRock Submodule Bump Activity


    _Newest first_

  • 2026-09-24 — Included in TheRock via ROCm/TheRock#8444. <!-- event-id: 0c46fb33640e00ef5c97112ad4c0d595ec031e77_rocm-libraries_False --> <!-- event-time: 2026-09-24T13:53:58+00:00 -->
  • Reviewers
    Assignees
    erman-gurses erman-gurses
    Labels
    risk: low confidence: 81.3% 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: 12.6% (LOW) · Higher = larger blast radius
    12.6%
    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: 81.3% · Lower = rushed or shallow review
    81.3%
    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: 2.4% · Safe to merge
    2.4%