Repository navigation
fix(ci): skip Blacksmith runners for root Markdown-only PRs - #95166
moguangyu5-design wants to merge 1 commit into
Conversation
|
Thanks for the context here. I swept through the related work, and this is now duplicate or superseded. Close as superseded: this branch targets the same Markdown-only Blacksmith queueing problem as #95098, but it suppresses the CI workflow for selected root Markdown files while the canonical PR preserves CI, security, and docs jobs and reroutes them with live proof. Root-cause cluster Members:
Proposal only: this assessment does not dispatch repair, suppress jobs, mutate sibling items, close, or merge anything. Canonical path: Close this branch and keep review focused on #95098 unless maintainers explicitly choose a different strategy that preserves CI, security, and docs coverage. So I’m closing this here and keeping the remaining discussion on #95098. Review detailsBest possible solution: Close this branch and keep review focused on #95098 unless maintainers explicitly choose a different strategy that preserves CI, security, and docs coverage. Do we have a high-confidence way to reproduce the issue? Yes. Source inspection shows current main starts CI for root Markdown PRs and assigns Is this the best way to solve the issue? No. This branch avoids Blacksmith by suppressing CI for selected files; the better current path is the open scope-gate PR that keeps security/docs checks and changes runner labels. Security review: Security review needs attention: The workflow trigger change can skip PR security coverage for selected root Markdown-only changes.
AGENTS.md: found and applied where relevant. What I checked:
Likely related people:
Codex review notes: model internal, reasoning high; reviewed against d1b917120a47. |
- Add CONTRIBUTING.md, README.md, SECURITY.md, VISION.md, and THIRD_PARTY_NOTICES.md to pull_request.paths-ignore - This prevents trivial docs-only PRs from queuing preflight/security-fast jobs on blacksmith-4vcpu-ubuntu-2404 runners - Matches the existing push behavior that ignores all Markdown files Fixes openclaw#95089
268820d to
b8c39a3
Compare
Summary
Avoid scheduling Blacksmith-backed CI jobs for PRs that only change root-level Markdown documentation.
What Problem This Solves
A one-line docs-only PR can currently leave
preflightandsecurity-fastqueued onblacksmith-4vcpu-ubuntu-2404, even though the eventual CI routing should classify the change as docs-only and skip the heavy lanes.Concrete example:
CONTRIBUTING.mdonlypreflightandsecurity-fastjobs were queued on Blacksmith runnersWhy This Change Was Made
The current
pull_request.paths-ignoreonly ignoresCHANGELOG.md, butpush.paths-ignoreignores all**/*.mdanddocs/**. This mismatch causes trivial docs PRs to appear blocked by Blacksmith capacity.Changes
Add the following root-level Markdown files to
pull_request.paths-ignore:CONTRIBUTING.mdREADME.mdSECURITY.mdVISION.mdTHIRD_PARTY_NOTICES.mdImpact
Fixes #95089
Evidence
Problem Statement
A one-line docs-only PR that changes only root-level Markdown files incorrectly triggers Blacksmith-backed CI jobs (preflight/security-fast), causing unnecessary queueing and review friction.
Validation Evidence
YAML Syntax Check:
.github/workflows/ci.ymlpasses YAML validationGit Diff:
paths-ignoreScope Verification:
push.paths-ignorebehavior for consistencyReal-world Example:
Test Results
Author Note: This PR improves CI efficiency by preventing trivial documentation changes from consuming Blacksmith runner capacity.