Skip to content

[CI] [fix] revert-fast: sync submodules before focused validation - #8306

Merged
gyohuangxin merged 1 commit into
mainfrom
zufayu/revert-fast-sync-submodules
Nov 19, 2026
Merged

gyohuangxin merged 1 commit into
mainfrom
zufayu/revert-fast-sync-submodules

Conversation

@zufayu

@zufayu zufayu commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Summary

The focused validation job checks out the target ref without submodules
(aiter-revert-fast.yml, actions/checkout@v4 with only ref and
persist-credentials), and .github/scripts/aiter_revert_fast.py does not
touch them either. The runners are persistent, so 3rdparty/composable_kernel
keeps whatever a previous job left in the workspace and the JIT build compiles
against a stale CK.

Evidence

On linux-aiter-oci-mi300x-1, runs 44524094512 and 44529310788:

gemm_moe_ck2stages_common.cuh:6:10: fatal error:
  'ck/tensor_operation/gpu/element/moe_silu.hpp' file not found

That header exists at the pinned CK commit f93c029e, and the same build
succeeds in aiter-test.yaml, which syncs submodules explicitly. In both runs
the build died before a single test executed, so the gate reported a red that
says nothing about the change under test — on #8294 it masked the actual
question twice.

Change

Mirror the pinned-CK sync aiter-test.yaml already does for the wheel build:
git submodule sync + git submodule update --init --recursive --depth 1,
plus an echo of the resolved CK commit so a future stale-workspace failure is
one line to diagnose.

actionlint clean.

PR Self-Review

1. What behavior does this PR change, and why is the existing behavior
insufficient?
Focused validation now builds against the pinned CK instead of
a leftover workspace copy. Without it the job's result is not a function of the
commit under test.

2. What did you validate, and what remains unverified? actionlint passes
and the YAML parses. Unverified until this runs on a real runner: that the
first sync on a long-lived workspace stays inside the 120-minute job timeout.
--depth 1 --jobs 4 matches what aiter-test.yaml already does on the same
runners.

3. Which architecture, dtype and shape boundaries select the changed kernel
path, and what invariant prevents unsupported inputs from reaching it?
None —
CI configuration only, no kernel path touched.

4. For every changed op_tests/ file, what behavior does it cover and why is
it not redundant?
None.

The focused validation job checks out the target ref without submodules and
aiter_revert_fast.py does not touch them either, so on the persistent
self-hosted runners 3rdparty/composable_kernel keeps whatever a previous job
left in the workspace. The JIT build then compiles against a stale CK:

  gemm_moe_ck2stages_common.cuh:6:10: fatal error:
  'ck/tensor_operation/gpu/element/moe_silu.hpp' file not found

although that header exists at the pinned CK commit f93c029e. Seen on
linux-aiter-oci-mi300x-1 in runs 44524094512 and 44529310788, where the
build died before a single test ran -- so the gate reported a red that says
nothing about the change under test.

Mirror the pinned-CK sync aiter-test.yaml already does for the wheel build.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@zufayu
zufayu requested a review from a team November 19, 2026 13:24
@github-actions github-actions Bot added the CI label Nov 19, 2026
@github-actions

Copy link
Copy Markdown
Contributor

🏷️ CI Guide

Runs automatically on every PR:

  • ✅ Pre-checks (submodule verification, code formatting)
  • ✅ Aiter standard tests on MI35X
  • ✅ Triton tests on MI35X (only when aiter/ops/triton/** or related paths are changed)

Extended tests (opt-in via labels):

Label Tests
ci:mi300x Run Aiter standard tests on MI300X in PRs; main branch always runs them
ci:gfx1250-ffm-triton Run the five-shard gfx1250 FFM Triton test suite
ci:triton-300x Run an additional Triton test job on MI300X in PRs (added automatically when gfx942 configs change); main branch always runs both MI35X and MI300X
ci:triton-355 Run the full Triton test suite on MI35X, not only the tests the change affects
ci:windows Windows JIT op smoke test on the Radeon R9700 ROCm runner
ci:multi-gpu Aiter multi-GPU tests on the 8-GPU runner
ci:sglang SGLang integration tests: DeepSeek-R1-MXFP4 accuracy, Qwen 3.5 accuracy
ci:atom ATOM benchmark: DeepSeek-R1-0528, GPT-OSS-120B
ci:atom_full ATOM accuracy suite for PR and main models from ATOM models_accuracy.json
ci:vllm vLLM benchmark: DeepSeek-V4-Pro, MiniMax-M3-MXFP4
ci:all All standard extended tests (excludes ci:atom_full)

Only add ci:atom_full for FlyDSL or Triton upgrades.
Add labels via the sidebar or gh pr edit 8306 --add-label <label>

One backend per PR:
A PR changes one kernel backend: [Triton/Gluon] (Triton and Gluon count as one), [HIP], [ASM], [CK], [OPUS] or [FlyDSL]. If the title ends up with two backend tags, split the PR -- as stacked pull requests when one part cannot merge without the other.

PR title tags & labels:
Component tags ([Triton/Gluon], [HIP], [CK], [ASM], ...) are added to the PR title and as PR labels automatically from the changed files and re-synced on every push — change-type tags like [fix]/[Perf], op tags like [MLA], and human labels (ci:*) are left untouched. Add the no-auto-title label to stop the title rewrites; labels stay in sync either way.

Reviews:
A reviewer is usually assigned within one working day after the PR is ready for review (see Code Review Process). If nobody has responded for about a week, mention the area contact listed in CONTACTS.md. Want to help review? See REVIEWERS.md.

@aiter-bot

Copy link
Copy Markdown

WAITING ON AUTHOR

PR Self-Review

Revision d53ba1fad931 · mode shadow

Waiting for the PR author. The readiness report will appear after the self-review answers are complete for this revision.

Questions to answer in the PR description

  1. What behavior does this PR change, and why is the existing behavior insufficient?
  2. What did you validate, and what remains unverified? Include commands, hardware/configuration and results.
  3. What permissions and untrusted-input boundary does this CI change have, and can fork PR code or text reach a privileged execution path?
  4. For every changed op_tests/ file, what behavior does it cover and why is it not redundant? Write None if no op test changed.

Edit the PR Self-Review section in the PR description. Include the current revision SHA; this comment refreshes automatically.

Missing or invalid answers

  • FAIL — missing ### Reviewed revision in the PR description
  • FAIL — missing ### Behavior and intent in the PR description
  • FAIL — missing ### Validation and unverified scope in the PR description
  • FAIL — missing ### PR-specific question in the PR description
  • FAIL — missing ### Changed op tests in the PR description
  • FAIL — Reviewed revision must contain at least the first 7 characters of the current head SHA
  • FAIL — Behavior and intent has no substantive answer
  • FAIL — Validation and unverified scope has no substantive answer
  • FAIL — PR-specific question has no substantive answer

Shadow mode reports what would block but keeps the status successful. Set AITER_PR_SELF_REVIEW_MODE=enforce only after reviewing real false positives.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants