← Back to Pull requests

fix(ci): select miopen-dbsync when miopen is selected #9451

Closed
unknown closed this pull request without merging on Oct 27, 2026 14:19 UTC
View on GitHub
unknown unknown commented on Oct 23, 2026 01:08 UTC
Author

JIRA ID: ALMIOPEN-3021

Motivation

miopen-dbsync (GPU-free rocjitsu StaticFDBSync, #8813 added gfx950 as advisory) is never scheduled for PR-style runs. A rocm-libraries PR touching projects/miopen selects projects_to_test=hipdnn-integration-tests,hipdnn-samples,miopen,miopenprovider at test_type=standard; fetch_test_configurations.py only schedules a job whose key is in that list (or ), so miopen-dbsync only runs in nightlies () or manual dispatch.

Verified on a throwaway rocm-libraries PR against TheRock b0958085: the gfx94X "Configure test matrix" log requested sanity, miopen, hipdnn-integration-tests, hipdnn-samples, miopenprovider and no miopen-dbsync.

Technical Details

Add "miopen": ["miopen", "miopen-dbsync"] to _CI_TEST_SELECTOR_ALIASES in test_tools/determine_rocm_test_dependencies.py (same pattern as tensilelite -> tensilelite-common). miopen stays selected; miopen-dbsync is added whenever miopen is in the result. The job still self-limits to standard/comprehensive/full tiers, gfx942 (blocking) and gfx950 (xfail) on the CPU runner, so quick-tier and other families are unchanged.

This is the same alias #8990 adds, but #8990 merged into the stacked branch of #8757 and so is not on main; this PR does not depend on #8757. If #8757 lands later it should carry the same alias (its reachability guard already requires it).

Test Plan

  • Unit test test_cli_selects_miopen_dbsync_with_miopen: --changed-projects miopen outputs exactly {miopen, miopen-dbsync}.

  • Run the real selection scripts locally for gfx94X-dcgpu and gfx950-dcgpu at standard and quick tiers.

  • End to end in rocm-libraries CI: a PR pinned to a TheRock commit containing this change, with a MIOpen source change.
  • Test Result

  • cd test_tools && python3 -m unittest tests.determine_rocm_test_dependencies_test: 75 tests OK (74 before).

  • build_tools/github_actions/tests/fetch_test_configurations_test.py: passes unchanged.

  • Local scripts: determine_rocm_test_dependencies.py --changed-projects projects/miopen --gha-output now emits hipdnn-integration-tests,hipdnn-samples,miopen,miopen-dbsync,miopenprovider. fetch_test_configurations.py --platform=linux at TEST_TYPE=standard requests miopen-dbsync on the CPU runner for both gfx94X-dcgpu and gfx950-dcgpu; at quick it logs Excluding job miopen-dbsync for both.

  • End to end: throwaway rocm-libraries PR #14288 (closed) pinned TheRock to 2104ff3c and touched a projects/miopen source file. 2104ff3c was this change plus a prototype that treats .github/actions/ci-env/* as a workflow change in configure_external_repo_ci.py. That prototype is NOT part of this PR. It was needed only because a pin bump edits ci-env/action.yml, which otherwise forces run-all at quick tier, where miopen-dbsync is skipped by design. Run: https://github.com/ROCm/rocm-libraries/actions/runs/39985392063

  • - Test miopen-dbsync (gfx94X-dcgpu): passed. StaticFDBSync gfx942 @ 304 CU and @ 228 CU, each [ PASSED ] 1 test.
    - Test miopen-dbsync (gfx950-dcgpu) (xfail): passed. StaticFDBSync gfx950 @ 256 CU, [ PASSED ] 1 test.
    - Both ran on the CPU runner aws-linux-scale-rocm-prod; the gfx94X "Configure test matrix" log showed TEST_TYPE: standard and Requesting job miopen-dbsync.
    - Other jobs in that run were not waited on; the run was cancelled after the dbsync jobs finished.
  • Not run: label_consistency_test (module did not import in my environment, before or after this change), pre-commit.
  • Risk Assessment

    Risk Level: Low. CI selection only; adds one job to MIOpen-touching PR runs, CPU runner, gfx950 non-blocking.

    Diff: 459 lines (+344 / -115) across 5 files Reviewer: endurthiabhilash Review duration: 6550m
    All Vouch review confidence checks passed
    Residual risk 0.20 = Change Risk (0.46) × (1 − Review Confidence (0.57)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.46 · 459 lines diff across 5 files
    0.46
    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%
    56%
    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.367
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #9451"
    general weight: 0.35
    Assignees
    Unassigned
    Labels
    risk: low confidence: 56.8% 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: 45.5% (MEDIUM) · Higher = larger blast radius
    45.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: 56.8% · Lower = rushed or shallow review
    56.8%
    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: 19.7% · Safe to merge
    19.7%
    Repository