Skip to content

ci: check the docs skill pages on docs-only changes - #1727

Merged
chio-labs-delivery[bot] merged 3 commits into
mainfrom
ci/docs-skill-gate
Nov 30, 2026
Merged

chio-labs-delivery[bot] merged 3 commits into
mainfrom
ci/docs-skill-gate

Conversation

@kvlonge

@kvlonge kvlonge commented Nov 30, 2026

Copy link
Copy Markdown
Contributor

Why

Main failed Static checks at 67e7304 because make check-docs-skill found CONTENTS.md and index.md stale; #1725 regenerates them. A website docs edit (#1722) changed the docs index description that those pages copy, and nothing caught it: verify.yml classifies website-only and skill-page-only changes as docs-only, which skips Static checks, and check-docs-skill only runs inside make check-ci there. The stale pages then failed the next code change's merge group and blocked the queue.

Changes

  • A new Docs skill pages job in verify.yml runs python3 -m scripts.check_docs_skill --investigation-guide '' whenever Static checks are not selected (docs-only, UI-only and release-metadata changes). The scripts use only the standard library, so the job needs no install or native build and takes seconds.
  • It leaves out the investigation guide's Recall schema section, which needs the built sqlbuild-python; only a code change can move that, and code changes run Static checks, where check-ci still runs the full check.
  • The required Verify job needs it: it must pass when Static checks are not selected, and may be skipped only when they are.

Verification

Docs-only, UI-only and release-metadata changes skip Static checks, and
with them check-docs-skill, so a website docs edit could leave the skill
pages generated from it stale until a later code change failed on main.

A new Docs skill pages job runs the check whenever Static checks are not
selected. It needs only the standard library, so it adds no install or
build to those changes. Verify requires it to pass then, and accepts it
skipped only when Static checks run, which already include the check.

kvlonge commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Before and after on a docs-only change (draft #1728, based on this branch, now closed):

Classified Static checks Docs skill pages Verify
Before this change: #1722 (run) docs-only skipped (did not exist) success, with the skill pages left stale
Docs description edited, pages not regenerated (run) docs-only skipped failure: 2 docs skill reference page(s) ... are out of date ... CONTENTS.md, index.md (8s) failure
Pages regenerated (run) docs-only skipped success success

@chio-labs-delivery
chio-labs-delivery Bot added this pull request to the merge queue Nov 30, 2026
Merged via the queue into main with commit 4615432 Nov 30, 2026
36 checks passed
@chio-labs-delivery
chio-labs-delivery Bot deleted the ci/docs-skill-gate branch November 30, 2026 15:08
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.

1 participant