Skip to content

fix(ci): keep markdown-only PR jobs off Blacksmith - #95098

Closed
markoub wants to merge 1 commit into
openclaw:mainfrom
markoub:markoub/markdown-only-ci-scope
Closed

markoub wants to merge 1 commit into
openclaw:mainfrom
markoub:markoub/markdown-only-ci-scope

Conversation

@markoub

@markoub markoub commented Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #95089

What Problem This Solves

Fixes an issue where Markdown-only pull requests could still reserve Blacksmith-backed CI jobs before the workflow had enough routing information to keep trivial docs changes on lightweight hosted runners.

AI-assisted: yes. I used Codex to prepare and review this change, then validated the workflow behavior locally and with a fork-only live Actions proof run.

Why This Change Was Made

This adds a small ci_scope job on ubuntu-24.04 to compute the existing docs-only signal before canonical PR jobs choose a runner label. Markdown-only PRs now keep preflight, security-fast, pnpm-store-warmup, and check-docs on ubuntu-24.04, while non-docs canonical CI keeps the existing Blacksmith runner paths.

The change reuses .github/actions/detect-docs-changes instead of broadening pull_request.paths-ignore, so docs and security checks remain present.

User Impact

Contributors and maintainers should see Markdown-only PR CI start without waiting on Blacksmith capacity. Normal source, workflow, package, and platform changes continue to use the existing CI routing and Blacksmith labels.

Evidence

Local validation:

  • pnpm install --frozen-lockfile
  • git diff --check
  • node scripts/check-workflows.mjs
  • node scripts/run-vitest.mjs test/scripts/ci-workflow-guards.test.ts
  • pnpm check:docs
  • codex review --base origin/main found the initial downstream docs-job gap; after fixing pnpm-store-warmup and check-docs, rerun reported no actionable correctness issues.

Focused workflow guard proof:

  • The workflow guard asserts that ci_scope runs on ubuntu-24.04, that Markdown-only PR routing sends preflight and security-fast to ubuntu-24.04 from needs.ci_scope.outputs.docs_only, and that pnpm-store-warmup plus check-docs also use ubuntu-24.04 from needs.preflight.outputs.docs_only.
  • The same assertions preserve the existing Blacksmith fallback strings for non-docs canonical CI.

Live Markdown-only Actions proof:

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation size: S labels Jun 19, 2026
@clawsweeper

clawsweeper Bot commented Jun 19, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: stale review; fresh review needed.

Summary
The latest durable ClawSweeper review was for head a7be8441324e88d4b8b04fbbbdfc5bee548903eb, but the PR head is now ec3e5dc4d2bf15b5aa888c5d8e8725b8d20c8afe. Its old verdict and PR readiness labels are no longer current.

Next step
Run or wait for a fresh ClawSweeper review on the current PR head.

Review history (1 earlier review cycle)
  • reviewed 2026-06-24T02:32:17.681Z sha a7be8441324e88d4b8b04fbbbdfc5bee548903eb :: needs maintainer review before merge. :: none

@clawsweeper clawsweeper Bot added rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. P2 Normal backlog priority with limited blast radius. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. labels Jun 19, 2026
@markoub

markoub commented Jun 20, 2026

Copy link
Copy Markdown
Contributor Author

@clawsweeper re-review

Added live Markdown-only Actions proof to the PR body.

Proof PR: markoub#1
Proof CI run: https://github.com/markoub/openclaw/actions/runs/27864555046

That fork-only PR changes only docs/ci-markdown-only-proof.md on top of this branch. The run completed successfully, CI scope gate logged Docs-only change detected with DOCS_ONLY: true, and these jobs each logged Image: ubuntu-24.04: CI scope gate, preflight, security-fast, pnpm-store-warmup, and check-docs.

@clawsweeper

clawsweeper Bot commented Jun 20, 2026 •

Copy link
Copy Markdown
Contributor

🦞🧹
ClawSweeper re-review requested.

I asked ClawSweeper to review this item again.
Action: item re-review queued (workflow sweep.yml, event repository_dispatch).
Result: the existing ClawSweeper review comment will be edited in place when the review finishes.

@clawsweeper clawsweeper Bot added proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. and removed rating: 🦪 silver shellfish Thin PR readiness signal; proof, validation, or implementation needs work. status: 📣 needs proof The PR needs real behavior proof before ClawSweeper can clear the contributor ask. labels Jun 20, 2026
@markoub
markoub force-pushed the markoub/markdown-only-ci-scope branch 3 times, most recently from 2c41c73 to a7be844 Compare June 23, 2026 21:27
@markoub
markoub force-pushed the markoub/markdown-only-ci-scope branch from a7be844 to ec3e5dc Compare June 24, 2026 12:27
@clawsweeper clawsweeper Bot removed proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. merge-risk: 🚨 automation 🚨 May affect CI, automerge, proof capture, label sync, or maintainer automation. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Jul 7, 2026
@barnacle-openclaw

Copy link
Copy Markdown

This pull request has been automatically marked as stale due to inactivity.
Please add updates or it will be closed.

@barnacle-openclaw barnacle-openclaw Bot added the stale Marked as stale due to inactivity label Jul 22, 2026
@openclaw-barnacle

Copy link
Copy Markdown

Closing due to inactivity.
If you believe this PR should be revived, post in #clawtributors on Discord to talk to a maintainer.
That channel is the escape hatch for high-quality PRs that get auto-closed.

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

Labels

docs Improvements or additions to documentation P2 Normal backlog priority with limited blast radius. size: S stale Marked as stale due to inactivity

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Feature]: Keep Markdown-only PR CI off Blacksmith runners

1 participant