Skip to content

ci(workflows): switch runners to self-hosted - #2724

Open
mingcheng wants to merge 1 commit into
mainfrom
chore/update-github-action
Open

ci(workflows): switch runners to self-hosted#2724
mingcheng wants to merge 1 commit into
mainfrom
chore/update-github-action

Conversation

@mingcheng

@mingcheng mingcheng commented Aug 20, 2026

Copy link
Copy Markdown
Member

Change Type

  • Bug fix
  • New feature
  • Improvement/Refactor
  • Documentation
  • CI/Build/Infra

Linked Issue

None

What Changed

  • replace ubuntu-22.04/ubuntu-latest with self-hosted linux labels
  • remove the Free Disk Space step from python build x86 job
  • standardize overwrite values to double quotes

Test Evidence

  • make fmt
  • make lint
  • make test
  • make cov, run tests, and collect coverage
  • Other (describe below)

Test details:

Tested with GitHub Action Lint

Note that this is not a full update, only the configurations with longer runtime are being updated. If it runs as expected, then a full update will follow next.

Documentation Impact

  • No docs update needed
  • Updated docs:
    • README.md
    • DEVELOPMENT.md
    • CONTRIBUTING.md
    • Other:

Risk and Rollback

  • Risk level: low
  • Rollback plan: change back the origin configures

Checklist

  • I have linked the relevant issue (required for kind/bug and kind/feature; see "Linked Issue" above)
  • I have added/updated tests for new behavior or bug fixes
  • I have considered API compatibility impact
  • I have updated docs if behavior/workflow changed
  • My commit messages follow project conventions (Conventional Commits, optional [skip ci] prefix)

- replace `ubuntu-22.04`/`ubuntu-latest` with self-hosted `linux` labels
- remove the `Free Disk Space` step from python build x86 job
- standardize `overwrite` values to double quotes

Signed-off-by: 明城 <mingcheng@antgroup.com>
Copilot AI lite review requested due to automatic review settings August 20, 2026 06:57
@vsag-bot

Copy link
Copy Markdown
Collaborator

/label status/waiting-for-review
/waiting-on reviewer
/request-review @jiaweizone
/request-review @wxyucs
/request-review @inabao
/request-review @LHT129

@mergify

mergify Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor

Merge Protections

🟢 All 2 merge protections satisfied — ready to merge.

Show 2 satisfied protections

🟢 Require kind label

  • label~=^kind/

🟢 Require version label

  • label~=^version/

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.

Pull request overview

This PR updates the repository’s GitHub Actions workflows to run on self-hosted Linux runners instead of GitHub-hosted ubuntu-* runners, with a couple of small workflow cleanups (artifact overwrite quoting, disk-space step removal in one job).

Changes:

  • Switched multiple workflow jobs from ubuntu-22.04 / ubuntu-latest to runs-on: [linux, self-hosted, ...].
  • Removed the “Free Disk Space” step from the Python build x86 job and normalized some overwrite inputs to double quotes.
  • Minor whitespace cleanup (cron line / trailing spaces).

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
.github/workflows/tsan_build_and_test.yml Moved TSAN build/test jobs onto self-hosted runners.
.github/workflows/pr-ci.yml Moved PR CI jobs onto self-hosted runners; adjusted artifact overwrite quoting; removed one disk cleanup step.
.github/workflows/lint.yml Moved lint job onto self-hosted runners.
.github/workflows/daily_test.yml Moved daily build/test jobs onto self-hosted runners; cron whitespace tweak.
.github/workflows/asan_with_simd_option.yml Moved SIMD ASan jobs onto self-hosted runners.
.github/workflows/asan_build_and_test.yml Moved ASan build/test jobs onto self-hosted runners; whitespace cleanup.

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

Comment on lines +394 to 397
runs-on: [linux, self-hosted, X64]
steps:
- name: Free Disk Space
run: rm -rf /opt/hostedtoolcache
name: Lint
runs-on: ubuntu-latest
# runs-on: self-hosted
runs-on: [ linux, self-hosted ]
name: Unit Test Simd
needs: daily_build_simd
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted ]
name: Unit Test Simd
needs: build_asan_simd
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted ]
needs: changes
if: github.event_name != 'pull_request' || needs.changes.outputs.non_markdown == 'true'
runs-on: ubuntu-22.04
runs-on: [ linux, self-hosted ]
@wxyucs

wxyucs commented Aug 20, 2026

Copy link
Copy Markdown
Collaborator

/version 1.1
/kind improvement

@vsag-bot vsag-bot added version/1.1 kind/improvement Optimizations, UX polish, or minor improvements 性能优化、体验打磨或细节改良 labels Aug 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/improvement Optimizations, UX polish, or minor improvements 性能优化、体验打磨或细节改良 size/M version/1.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants