Skip to content

CI: Remove check-skip and skip Free Disk Space - #2412

Open
tuhaihe wants to merge 1 commit into
apache:mainfrom
tuhaihe:ci-remove-check-skip
Open

tuhaihe wants to merge 1 commit into
apache:mainfrom
tuhaihe:ci-remove-check-skip

Conversation

@tuhaihe

@tuhaihe tuhaihe commented Nov 24, 2026

Copy link
Copy Markdown
Member

The check-skip job reads [skip ci] markers in the PR title and body. It does not work on main any more. When it skips, the test matrix is empty, so the ic-* required checks never report and the PR cannot merge. Remove the check-skip job, the "Skip Check" steps and all the should_skip conditions from the build, debug build, DEB build and Behave workflows. Also remove the "CI Skip Instructions" section from the PR template.

The current GitHub-hosted runners have enough disk space, so the "Free Disk Space" steps are not necessary. Comment them out, so that we can enable them again easily if necessary. Keep this step in the debug build workflow, because that build needs more disk space.

Remove check-skip from the required status checks in .asf.yaml (#2411) before you merge this change. If not, all PRs on main wait for a check that does not run.

Assisted-by: Claude Code

Fixes #ISSUE_Number

What does this PR do?

Type of Change

  • Bug fix (non-breaking change)
  • New feature (non-breaking change)
  • Breaking change (fix or feature with breaking changes)
  • Documentation update

Breaking Changes

Test Plan

  • Unit tests added/updated
  • Integration tests added/updated
  • Passed make installcheck
  • Passed make -C src/test installcheck-cbdb-parallel

Impact

Performance:

User-facing changes:

Dependencies:

Checklist

Additional Context

CI Skip Instructions


The check-skip job reads [skip ci] markers in the PR title and body.
It does not work on main any more. When it skips, the test matrix is
empty, so the ic-* required checks never report and the PR cannot
merge. Remove the check-skip job, the "Skip Check" steps and all the
should_skip conditions from the build, debug build, DEB build and
Behave workflows. Also remove the "CI Skip Instructions" section from
the PR template.

The current GitHub-hosted runners have enough disk space, so the
"Free Disk Space" steps are not necessary. Comment them out, so that
we can enable them again easily if necessary. Keep this step in the
debug build workflow, because that build needs more disk space.

Remove check-skip from the required status checks in .asf.yaml
(apache#2411) before you merge this change. If not, all
PRs on main wait for a check that does not run.

Assisted-by: Claude Code
@tuhaihe

tuhaihe commented Nov 24, 2026

Copy link
Copy Markdown
Member Author

Pre-requirement: #2411.

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

LGTM

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

The removal itself looks complete. Here is what I checked in the diff:

  • No reference to check-skip or should_skip is left under .github.
  • Every job that needed check-skip now lists only its real dependencies.
  • The eight conditions of the form always() && needs.check-skip.outputs.should_skip != 'true' all keep always(). So the log upload and report steps still run after a failure.

One thing to fix before merging: none of the build workflows have run on this PR. The commit message contains the literal [skip ci] ("The check-skip job reads [skip ci] markers in the PR title and body."). GitHub itself skips every push and pull_request workflow when the head commit message contains [skip ci], [ci skip], [no ci], [skip actions] or [actions skip]. The only run on 11749df8bc5 is the greeting workflow, which uses pull_request_target. This change rewrites the job graph of four workflows and drops the disk cleanup, so it should get one full run. Please reword the marker (for example "skip-ci markers") and push again. If the text stays in the squash commit, the push-triggered workflows on main (Behave, Rat, SQLancer) would also skip that commit.

This also means [skip ci] can still leave a PR unmergeable after this change. The trigger is GitHub's own commit-message check: the workflows never run, so the required checks never report. One sentence in .github/workflows/README.md could save someone the surprise.

On disk space, recent runs of other PRs agree with you. Run 45470140206 reports overlay 146G 62G 84G 43% / before the cleanup step starts, in Build Apache Cloudberry RPM, ic-good-opt-off, pax-ic-good-opt-off and ic-contrib. So dropping the step looks safe. This PR's own run is what will confirm it.

@tuhaihe

tuhaihe commented Nov 25, 2026

Copy link
Copy Markdown
Member Author

I will leave the "check-skip" in another PR, since it requires #2411 for its requirements. This PR mainly focuses on the "Free Disk Space" cleanup.

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