Skip to content

[CI/Build] Extract shared steps for declarative PR and nightly workflows - #4175

Merged
ykwd merged 6 commits into
kvcache-ai:mainfrom
Aionw:chore/ci
Sep 18, 2026
Merged

ykwd merged 6 commits into
kvcache-ai:mainfrom
Aionw:chore/ci

Conversation

@Aionw

@Aionw Aionw commented Sep 17, 2026 •

Copy link
Copy Markdown
Collaborator

Description

Organize CI implementation scripts by purpose (common/, smoke/, integration/, release/, and tests/) and group workflow filenames with ci-*, release-*, and automation-* prefixes. GitHub Actions requires workflows to remain directly under .github/workflows/.

Update workflow calls, path filters, shell relative paths, test imports, and documentation together. Keep ci.yml, workflow display names, job identifiers, and trigger behavior unchanged. Add scripts/ci/README.md documenting the layout.

Searched open PRs/issues for overlapping CI organization work; no direct duplicate found. Related #3970 changes wheel build implementation and #3600 adds a TENT integration job; this PR only reorganizes existing CI paths, so those changes may need path updates rather than duplicated implementation.

External callers using renamed workflow filenames will need to update their paths. Draft pending human line-by-line review.

Module

  • Transfer Engine (mooncake-transfer-engine)
  • Mooncake Store (mooncake-store)
  • Mooncake Conductor (mooncake-conductor)
  • Reshard (mooncake-reshard)
  • Mooncake EP (mooncake-ep)
  • Mooncake PG (mooncake-pg)
  • Integration (mooncake-integration)
  • P2P Store (mooncake-p2p-store)
  • Python Wheel (mooncake-wheel)
  • Common (mooncake-common)
  • Mooncake RL (mooncake-rl)
  • CI/CD
  • Docs
  • Other

Type of Change

  • Bug fix
  • New feature
  • Refactor
  • Breaking change
  • Documentation update
  • Performance improvement
  • Other

How Has This Been Tested?

Lightweight tests and static checks passed; full hosted integration suites were not run locally.

Test commands:

python -m unittest discover -s scripts/ci/tests -v
uv run --no-project --with pytest --with packaging python -m pytest -q mooncake-wheel/tests/test_testpypi_wheel_gate.py
find scripts/ci -name '*.sh' -exec bash -n {} \;
prek run --files $(git diff --name-only --diff-filter=ACMR origin/main...HEAD)
git diff --check origin/main...HEAD

Test results:

  • Unit tests pass
  • Integration tests pass (if applicable)
  • Manual testing done (describe below)

5 CI helper tests and 6 wheel gate tests passed. Shell syntax, workflow/script reference existence checks, and all applicable prek hooks passed.

cd docs && make html could not complete because sphinx-build is not installed. Existing tests were updated for relocated scripts; no runtime behavior is added. No C/C++ source changes or architectural RFC are involved.

Checklist

  • I have performed a self-review of my own code
  • I have formatted my code using ./scripts/code_format.sh
  • I have run pre-commit on the files changed in this PR and all hooks pass
  • I have updated the documentation (if applicable)
  • I have added tests to prove my changes are effective
  • For changes >500 LOC: I have filed an RFC issue

AI Assistance Disclosure

  • No AI tools were used
  • AI tools were used (specify below)

OpenAI coding assistant in pi helped reorganize files, update references and documentation, run validation, and prepare this PR. Human line-by-line review and end-to-end sign-off are still pending; the self-review checkbox is intentionally left unchecked.

@Aionw Aionw changed the title [CI/Build] Organize CI workflows and scripts by purpose [CI/Build] Extract shared steps for declarative PR and nightly workflows Sep 17, 2026
@Aionw Aionw changed the title [CI/Build] Extract shared steps for declarative PR and nightly workflows [CI/Build] Share workflow steps and separate ROCm E2E from T-one Sep 17, 2026
@Aionw Aionw changed the title [CI/Build] Share workflow steps and separate ROCm E2E from T-one [CI/Build] Extract shared steps for declarative PR and nightly workflows Sep 17, 2026

@Icedcoco Icedcoco left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM from a code perspective.

The extracted composite actions preserve the existing CI behavior, and the affected CTest, wheel, TENT, and helper checks pass. The failing build-wheel-rocm (3.12) job does not appear to be caused by this PR: it received a runner shutdown signal and exited with code 137 during compilation, while this PR does not modify the ROCm build workflow or its build parallelism.

@ykwd
ykwd merged commit d9ae4df into kvcache-ai:main Sep 18, 2026
49 of 51 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants