Skip to content

ci: use ubuntu-slim for lightweight workflows#5742

Merged
wanghan-iapcm merged 1 commit into
deepmodeling:masterfrom
njzjz:ci/use-ubuntu-slim-runners
Jul 7, 2026
Merged

ci: use ubuntu-slim for lightweight workflows#5742
wanghan-iapcm merged 1 commit into
deepmodeling:masterfrom
njzjz:ci/use-ubuntu-slim-runners

Conversation

@njzjz

@njzjz njzjz commented Jul 6, 2026

Copy link
Copy Markdown
Member

Summary

  • switch lightweight label, mirror, TODO, and pass aggregation jobs to ubuntu-slim
  • switch the Python test duration aggregation job to ubuntu-slim
  • keep build and test execution jobs on their existing runners

Validation

  • python YAML parse for all workflow files
  • git diff --check
  • ruff check .

Note: ruff format --check . still reports pre-existing formatting in dpa_adapt/cli.py, which is unrelated to this workflow-only change.

Summary by CodeRabbit

  • Chores
    • Updated several GitHub Actions jobs to run on a slimmer Ubuntu runner.
    • Applied this environment change across build, test, packaging, labeling, mirroring, and maintenance workflows.
    • No workflow steps, dependencies, or job logic were changed.

Copilot AI review requested due to automatic review settings July 6, 2026 14:15

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@dosubot dosubot Bot added the build label Jul 6, 2026
@coderabbitai

coderabbitai Bot commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 96ae8c3b-28b2-48a2-bf22-610d7d9c270f

📥 Commits

Reviewing files that changed from the base of the PR and between 3d73c67 and a0085bd.

📒 Files selected for processing (10)
  • .github/workflows/build_cc.yml
  • .github/workflows/build_wheel.yml
  • .github/workflows/labeler.yml
  • .github/workflows/mirror_gitee.yml
  • .github/workflows/package_c.yml
  • .github/workflows/remove_test_cuda_label.yml
  • .github/workflows/test_cc.yml
  • .github/workflows/test_cuda.yml
  • .github/workflows/test_python.yml
  • .github/workflows/todo.yml

📝 Walkthrough

Walkthrough

This PR updates the runs-on runner label in ten GitHub Actions workflow files, switching jobs from ubuntu-latest (or ubuntu-22.04) to ubuntu-slim. No other workflow logic, steps, or dependencies were modified.

Changes

CI Runner Migration

Layer / File(s) Summary
Update job runners to ubuntu-slim
.github/workflows/build_cc.yml, .github/workflows/build_wheel.yml, .github/workflows/labeler.yml, .github/workflows/mirror_gitee.yml, .github/workflows/package_c.yml, .github/workflows/remove_test_cuda_label.yml, .github/workflows/test_cc.yml, .github/workflows/test_cuda.yml, .github/workflows/test_python.yml, .github/workflows/todo.yml
The runs-on value for each affected job is changed to ubuntu-slim (from ubuntu-latest or ubuntu-22.04), with all other job configuration unchanged.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

Suggested reviewers: wanghan-iapcm

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main CI change: switching lightweight workflow jobs to ubuntu-slim.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@njzjz
njzjz requested a review from wanghan-iapcm July 6, 2026 14:20
@codecov

codecov Bot commented Jul 6, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 81.22%. Comparing base (3d73c67) to head (a0085bd).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #5742      +/-   ##
==========================================
- Coverage   81.36%   81.22%   -0.14%     
==========================================
  Files         991      991              
  Lines      111198   111199       +1     
  Branches     4235     4236       +1     
==========================================
- Hits        90474    90321     -153     
- Misses      19199    19351     +152     
- Partials     1525     1527       +2     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@wanghan-iapcm
wanghan-iapcm added this pull request to the merge queue Jul 7, 2026
Merged via the queue into deepmodeling:master with commit e975e13 Jul 7, 2026
60 checks passed
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