Skip to content

[CI] Rename job to "Linux Build & Test"#191

Merged
lamb-j merged 1 commit into
amd-stagingfrom
users/lambj/spirv-ci-rename-job
May 8, 2026
Merged

[CI] Rename job to "Linux Build & Test"#191
lamb-j merged 1 commit into
amd-stagingfrom
users/lambj/spirv-ci-rename-job

Conversation

@lamb-j
Copy link
Copy Markdown
Collaborator

@lamb-j lamb-j commented May 8, 2026

Summary

  • Renames the SPIRV CI job from "Build & Test""Linux Build & Test".
  • "Build & Test" is generic and collides with any other workflow's default. Required-status-check rules match the bare check_run name, so the generic name is risky.
  • Adds "Linux" to make room for future "Windows Build & Test" etc.
  • Did NOT add component-list qualifiers (LLVM/Comgr/translator) — the workflow will grow beyond those, so a platform-shaped name is more durable.

⚠️ Action required after merge

The ruleset amd-staging-psdb (Settings → Rules → Rulesets) currently has required-check context "SPIRV CI - amd-staging / Build & Test". That context format never actually matched (the matcher uses bare check_run.name, not the workflow-prefixed form), so the rule is silently broken today — non-admin merges are blocked, admins bypass.

On merge, update the ruleset entry to "Linux Build & Test" (bare job name, no workflow prefix, no event suffix). That fixes both the rename and the matching bug at once.

Companion change for the llvm-project copy of this workflow: ROCm/llvm-project#2451.

"Build & Test" is generic enough to collide with any other workflow's
default job name. The required-status-check rule on amd-staging matches
the bare check_run.name string, so renaming here means updating the
ruleset entry too — see follow-up note below.

Adding "Linux" makes room for an upcoming Windows/macOS expansion of
the same workflow without further renaming. Did NOT add component-list
qualifiers (LLVM/Comgr/translator) because the workflow will grow
beyond those — keeping the name platform-shaped instead.

** ACTION REQUIRED on merge: **

The ruleset `amd-staging-psdb` (Settings → Rules → Rulesets) currently
has required-check context `"SPIRV CI - amd-staging / Build & Test"`.
After this lands, update that to `"Linux Build & Test"` so the
required-check rule actually matches what the workflow emits. The rule
is broken either way today (wrong context format), so this rename
doesn't make things worse — it's the right time to also fix the rule.
@lamb-j lamb-j merged commit 4a3d865 into amd-staging May 8, 2026
1 check passed
lamb-j added a commit to ROCm/llvm-project that referenced this pull request May 8, 2026
Generic name was at risk of colliding with other workflows. Adds
"Linux" platform qualifier so future "Windows Build & Test" etc. can
slot in without further renaming. Doesn't list components (LLVM,
Comgr, translator) since the workflow will expand.

** ACTION REQUIRED on merge: **
The amd-staging ruleset's required-check context is currently
"SPIRV CI - amd-staging / Build & Test" — never actually matched (the
matcher uses bare check_run.name, see ROCm/SPIRV-LLVM-Translator#191).
Update to "Linux Build & Test" so the rule fixes both the rename and
the long-standing matcher bug at once.

Companion change in the translator copy: ROCm/SPIRV-LLVM-Translator#191.
@lamb-j lamb-j deleted the users/lambj/spirv-ci-rename-job branch May 8, 2026 18:52
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 8, 2026

⚠️ 21 pre-existing translator lit failures on baseline; not caused by this PR (see run).

🔴 New failures (0) — likely caused by this PR

(none)

🟢 Fixed by this PR (0) — failing on baseline, passing here

(none)

⚠️ Pre-existing on `amd-staging` (21)
FAIL: LLVM_SPIRV :: constant/local-float-point-constants.ll
FAIL: LLVM_SPIRV :: extensions/EXT/SPV_EXT_float8/conversions_matrix.ll
FAIL: LLVM_SPIRV :: extensions/EXT/SPV_EXT_float8/conversions_scalar_vector.ll
FAIL: LLVM_SPIRV :: extensions/EXT/SPV_EXT_shader_atomic_float_/atomicrmw_fsub_half.ll
FAIL: LLVM_SPIRV :: extensions/INTEL/SPV_INTEL_float4/conversions_packed.ll
FAIL: LLVM_SPIRV :: extensions/INTEL/SPV_INTEL_float4/conversions_scalar_vector.ll
FAIL: LLVM_SPIRV :: extensions/INTEL/SPV_INTEL_fp_conversions/spv_intel_fp_conversions.ll
FAIL: LLVM_SPIRV :: extensions/INTEL/SPV_INTEL_int4/conversions_packed.ll
FAIL: LLVM_SPIRV :: extensions/INTEL/SPV_INTEL_sigmoid/sigmoid_f16.ll
FAIL: LLVM_SPIRV :: extensions/KHR/SPV_KHR_bfloat16/cooperative_matrix_bfloat16.ll
FAIL: LLVM_SPIRV :: extensions/KHR/SPV_KHR_cooperative_matrix/conversion_instructions.ll
FAIL: LLVM_SPIRV :: extensions/KHR/SPV_KHR_subgroup_rotate/SPV_KHR_subgroup_rotate.cl
FAIL: LLVM_SPIRV :: extensions/KHR/SPV_KHR_uniform_group_instructions/group-instructions.ll
FAIL: LLVM_SPIRV :: transcoding/float16.ll
FAIL: LLVM_SPIRV :: transcoding/image_signedness_spv_ir.ll
FAIL: LLVM_SPIRV :: transcoding/OpImageSampleExplicitLod_arg.cl
FAIL: LLVM_SPIRV :: transcoding/spec_const.ll
FAIL: LLVM_SPIRV :: transcoding/sub_group_clustered_reduce.ll
FAIL: LLVM_SPIRV :: transcoding/sub_group_non_uniform_arithmetic.ll
FAIL: LLVM_SPIRV :: transcoding/sub_group_shuffle.ll
FAIL: LLVM_SPIRV :: transcoding/sub_group_shuffle_relative.ll

lamb-j added a commit that referenced this pull request May 10, 2026
Re-creation of #190 (closed) on top of current amd-staging which
includes the "Linux Build & Test" job rename (#191) and required-check
ruleset update. Verifies end-to-end:

  - the renamed job emits "Linux Build & Test" check_run name
  - the updated required-check rule resolves to satisfied
  - the partition comment correctly classifies these test failures
    as 🔴 New failures

Modifies CHECK directives in two passing transcoding tests with
sentinel strings that won't appear in the actual output:

  - test/transcoding/fmax.ll
  - test/transcoding/CommonAddrspaceGlobalVar.ll

Close without merge once verified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant