Repository navigation
Conversation
|
Codex review: stale review; fresh review needed. Summary Next step Review history (1 earlier review cycle)
|
|
@clawsweeper re-review Added live Markdown-only Actions proof to the PR body. Proof PR: markoub#1 That fork-only PR changes only |
|
🦞🧹 I asked ClawSweeper to review this item again. |
2c41c73 to
a7be844
Compare
a7be844 to
ec3e5dc
Compare
|
This pull request has been automatically marked as stale due to inactivity. |
|
Closing due to inactivity. |
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_scopejob onubuntu-24.04to compute the existing docs-only signal before canonical PR jobs choose a runner label. Markdown-only PRs now keeppreflight,security-fast,pnpm-store-warmup, andcheck-docsonubuntu-24.04, while non-docs canonical CI keeps the existing Blacksmith runner paths.The change reuses
.github/actions/detect-docs-changesinstead of broadeningpull_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-lockfilegit diff --checknode scripts/check-workflows.mjsnode scripts/run-vitest.mjs test/scripts/ci-workflow-guards.test.tspnpm check:docscodex review --base origin/mainfound the initial downstream docs-job gap; after fixingpnpm-store-warmupandcheck-docs, rerun reported no actionable correctness issues.Focused workflow guard proof:
ci_scoperuns onubuntu-24.04, that Markdown-only PR routing sendspreflightandsecurity-fasttoubuntu-24.04fromneeds.ci_scope.outputs.docs_only, and thatpnpm-store-warmuppluscheck-docsalso useubuntu-24.04fromneeds.preflight.outputs.docs_only.Live Markdown-only Actions proof:
73988a6f66c4d229155ff049f862bf3d580cdbe2, base:9bc662eac72e70f3a38beb432594c224d4fbf137docs/ci-markdown-only-proof.mdon top of this branch, so it exercises the new workflow as a Markdown-only pull request.CI scope gatelog showsDocs-only change detected, then publishesDOCS_ONLY: trueandDOCS_CHANGED: true.Runner Image->Image: ubuntu-24.04:CI scope gate: https://github.com/markoub/openclaw/actions/runs/27864555046/job/82466323975preflight: https://github.com/markoub/openclaw/actions/runs/27864555046/job/82466335917security-fast: https://github.com/markoub/openclaw/actions/runs/27864555046/job/82466335918pnpm-store-warmup: https://github.com/markoub/openclaw/actions/runs/27864555046/job/82466347842check-docs: https://github.com/markoub/openclaw/actions/runs/27864555046/job/82466347855