Skip to content

CI: Reduce workflow overhead - #3962

Open
kevinjqliu wants to merge 4 commits into
apache:mainfrom
kevinjqliu:kevinjqliu-merge-queue-evaluation
Open

kevinjqliu wants to merge 4 commits into
apache:mainfrom
kevinjqliu:kevinjqliu-merge-queue-evaluation

Conversation

@kevinjqliu

@kevinjqliu kevinjqliu commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Grouping a few changes together in this PR. Overall, this helps improve CI and merge queue.

  • Change max_entries_to_build from 1 to 2. This allows merge queue to run in parallel
  • Don't install extra dependencies for docs-serve and docs-build
  • Move a bunch of os to run on ubuntu-slim. Hopefully this will reduce contention waiting for runner
  • Add concurrency setting to cancel redundant runs in the same PR

kevinjqliu and others added 4 commits September 14, 2026 09:32
Overlap validation while retaining one-at-a-time ALLGREEN squash merges.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Apply the existing workflow/ref concurrency policy to policy and documentation checks, cancelling active predecessors only for pull requests.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Use ubuntu-slim for eleven validation, reporting, artifact-merging, documentation, and maintenance jobs that do not require Docker or a full VM.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Build and serve documentation with the docs group without installing the unrelated default test dependency stack.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
@kevinjqliu
kevinjqliu requested review from Fokko and geruh and a lite review from Copilot September 14, 2026 16:37

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.

🔵 Needs a closer look

The dependency-heavy integration report may exceed the ubuntu-slim 15-minute job limit and block the required gate.

Pull request overview

Reduces CI and merge-queue overhead through lighter documentation dependencies, slimmer runners, concurrency cancellation, and parallel queue builds.

Changes:

  • Restricts documentation commands to the docs dependency group.
  • Moves lightweight jobs to ubuntu-slim and cancels redundant PR runs.
  • Increases merge-queue build parallelism from 1 to 2.
File summaries
File Summary
Makefile Limits documentation commands to docs dependencies.
.github/workflows/zizmor.yml Adds workflow concurrency controls.
.github/workflows/svn-build-artifacts.yml Moves artifact merging to a slim runner.
.github/workflows/stale.yml Moves stale processing to a slim runner.
.github/workflows/python-release.yml Moves validation jobs to slim runners.
.github/workflows/python-release-docs.yml Moves documentation release work to a slim runner.
.github/workflows/python-integration.yml Moves selected integration jobs to slim runners; the dependency-heavy report job may exceed the 15-minute limit.
.github/workflows/python-ci.yml Moves the aggregate gate to a slim runner.
.github/workflows/pypi-build-artifacts.yml Moves artifact merging to a slim runner.
.github/workflows/nightly-pypi-build.yml Moves version setup to a slim runner.
.github/workflows/license_check.yml Adds workflow concurrency controls.
.github/workflows/codeql.yml Adds concurrency controls and a slim runner.
.github/workflows/check-md-link.yml Adds workflow concurrency controls.
.github/workflows/asf-allowlist-check.yml Adds concurrency controls and a slim runner.
.asf.yaml Allows two merge-queue entries to build concurrently.
Review details

Suppressed comments (1)

.github/workflows/python-integration.yml:155

  • ubuntu-slim has a hard 15-minute job limit, but this job performs a full uv sync --group dev (including heavyweight development dependencies such as PySpark) before generating the report. A cold-cache run can hit that limit and fail the required python-integration-required gate; keep this dependency-heavy report on a full runner, or reduce the install to only the report's dependencies before moving it to slim.
    runs-on: ubuntu-slim
  • Files reviewed: 15/15 changed files
  • Comments generated: 0
  • Review effort level: Lite

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

@rambleraptor rambleraptor 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.

Thanks for doing this! Excited to see better CI performance, especially on the merge queue.

Comment on lines 38 to +39
asf-allowlist-check:
runs-on: ubuntu-24.04
runs-on: ubuntu-slim

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.

is it possible to still be explicit about this versioning?

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants