Repository navigation
[CI] ci: cache CK submodule checkout - #7385
Conversation
NOT READY FOR HUMAN REVIEWPR Self-ReviewRevision 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
Edit the Missing or invalid answers
Shadow mode reports what would block but keeps the status successful. Set |
🏷️ CI GuideRuns automatically on every PR:
Extended tests (opt-in via labels):
One backend per PR: PR title tags & labels: |
There was a problem hiding this comment.
🟡 Changes recommended
Cache restores can leave stale CK sources in reused checkouts, causing JIT builds to use files outside the pinned commit; cleanup is needed before both restore paths.
1 open issue
What changed in this PR
This PR caches the composable_kernel (CK) submodule checkout to reduce repeated fetches in Aiter’s standard and multi-GPU CI test jobs.
Changes:
- Restore and save CK caches keyed by operating system and the pinned submodule SHA.
- Reuse validated cached checkouts, falling back to fetching CK when needed.
- Preserve scheduled runs’ remote
developupdates and include CK restore failures in existing network diagnostics.
| File | Description |
|---|---|
.github/workflows/aiter-test.yaml |
Adds CK caching and fallback logic to standard and multi-GPU test jobs. |
Review effort: Balanced
There was a problem hiding this comment.
🔵 Needs a closer look
Only YAML and whitespace checks are reported; the cache-hit, cache-miss, and scheduled paths still need validation on standard and multi-GPU GitHub Actions runners.
No open issues 🎉
1 resolved since last review
Review effort: Balanced
|
Two things worth addressing before this lands — the overall design is sound (exact SHA-pinned key, validation before trusting the restore, continue-on-error fallback to the old behavior): 1. A corrupt cache entry never heals. If the restore hits but validation fails ( 2. The new path has never executed in CI. The Aiter Test run on this PR is |
Co-authored-by: Copilot Autofix powered by AI <[email protected]>
There was a problem hiding this comment.
🔵 Needs a closer look
The fast path lacks cache-restore outcome and nonempty cache-hit guards, allowing a partially restored CK checkout to bypass the clean-fetch fallback and reach multi-GPU tests.
No open issues 🎉
1 resolved since last review
Review effort: Balanced
* ci: cache CK submodule checkout * ci: clear CK checkout before cache restore * ci: let CK cache heal after invalid restores * Enhance submodule sync condition in workflow Co-authored-by: Copilot Autofix powered by AI <[email protected]> --------- Co-authored-by: Copilot Autofix powered by AI <[email protected]>

Summary
Validation