← Back to Pull requests

ci: run the rocjpeg tests in the media image #10443

Closed
unknown closed this pull request without merging on Dec 03, 2026 01:31 UTC
View on GitHub
unknown unknown commented on Dec 02, 2026 19:30 UTC
Author

Motivation

TheRock CI runs the rocjpeg tests in the default no_rocm_image_ubuntu24_04 image, which has no FFmpeg, so the rocJPEG CTests that need FFmpeg are left out: the MD5 tests added in ROCm/rocm-systems#17281, which check the images decoded by the four decode APIs against reference digests.

Technical Details

The rocjpeg entry in fetch_test_configurations.py now uses the same no_rocm_image_ubuntu24_04_media image as rocdecode, which adds the FFmpeg development libraries and pkg-config. ROCm/rocm-systems#17350 makes the same change for the rocm-systems media-libs CI.

Issue Tracking

JIRA ID: AICV-463

Test Plan

  • Ran the rocjpeg tests, including the MD5 tests of ROCm/rocm-systems#17281, in the _media image in that PR's media-libs CI on an MI300X (gfx942).

  • Ran pre-commit (black 25.11.0) on the changed file, and the workflow tests in build_tools/github_actions/tests.

  • test:rocjpeg label: PR CI runs the rocjpeg tests of the pinned rocm-systems in the _media image. The MD5 tests reach TheRock CI once rocm-systems with ROCm/rocm-systems#17281 is picked up.
  • Test Result

  • In ROCm/rocm-systems#17281's media-libs CI, all 31 rocjpeg tests passed in the _media image on an MI300X (gfx942), and each of the four MD5 tests reported MD5 check passed: 10 of 10.

  • pre-commit hooks pass, and 1312 workflow tests pass (bump_automation_test.py and post_bump_breadcrumbs_test.py were not collected: the local venv has no requests). The rocjpeg matrix entry resolves to the same media image as rocdecode.
  • Submission Checklist

  • Look over the contributing guidelines at https://github.com/ROCm/TheRock/blob/main/CONTRIBUTING.md.
  • 🤖 Generated with Claude Code

    Diff: 218 lines (+163 / -55) across 2 files Reviewer: ScottTodd Review duration: 361m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 218 lines diff across 2 files
    0.37
    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.322
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #10443"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% 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: 36.7% (MEDIUM) · Higher = larger blast radius
    36.7%
    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: 14.5% · Safe to merge
    14.5%
    Repository