From e5ce0bf469388ec07243c40ffb17c7ef53d72f7a Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Mon, 30 Nov 2026 13:06:14 +0000 Subject: [PATCH 1/2] ci: check the docs skill pages on docs-only changes 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. --- .github/workflows/verify.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 82161d9513..92b3169835 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -529,6 +529,21 @@ jobs: env: DUPES_BASE: ${{ github.event.pull_request.base.sha || github.event.merge_group.base_sha || 'origin/main' }} + # Docs-only, UI-only and release-metadata changes skip Static checks, whose check-ci runs + # check-docs-skill, yet a website docs edit can leave the skill pages generated from it out of + # date. This runs that check alone, with no dependencies. It leaves out the investigation guide's + # Recall schema section, which needs the built package and only a code change can move. + docs_skill: + name: Docs skill pages + needs: changes + if: needs.changes.outputs.checks == 'false' + runs-on: ubuntu-24.04 + timeout-minutes: 5 + steps: + - uses: actions/checkout@v4 + - name: Check the skill pages against the website docs + run: python3 -m scripts.check_docs_skill --investigation-guide '' + tests: # check-test-shards, part of the static checks, proves that the TEST_SHARD_*_PATHS lists in # the Makefile run every test once; each of those lists needs an entry here. @@ -1560,6 +1575,7 @@ jobs: lockfile, native_build, checks, + docs_skill, tests, native_checks, e2e_shards, @@ -1591,6 +1607,7 @@ jobs: LOCKFILE_RESULT: ${{ needs.lockfile.result }} NATIVE_BUILD_RESULT: ${{ needs.native_build.result }} CHECKS_RESULT: ${{ needs.checks.result }} + DOCS_SKILL_RESULT: ${{ needs.docs_skill.result }} TESTS_RESULT: ${{ needs.tests.result }} NATIVE_CHECKS_RESULT: ${{ needs.native_checks.result }} E2E_SHARDS_RESULT: ${{ needs.e2e_shards.result }} @@ -1641,6 +1658,12 @@ jobs: exit 1 fi done + # Static checks cover the skill pages when they run; otherwise this job must pass. + if [[ "${DOCS_SKILL_RESULT}" != "success" ]] && \ + ! [[ "${CHECKS_SELECTED}" == "true" && "${DOCS_SKILL_RESULT}" == "skipped" ]]; then + echo "The docs skill pages check did not pass: ${DOCS_SKILL_RESULT}" >&2 + exit 1 + fi if [[ "${WHEELS_RESULT}" == "success" && "${COMPOSE_RESULT}" != "success" ]]; then echo "Required packaged Compose verification did not pass: ${COMPOSE_RESULT}" >&2 exit 1 From 7310e3b5bb49ce33474a57457d52b17396bb04ec Mon Sep 17 00:00:00 2001 From: Kevin Longe <273747162+kvlonge@users.noreply.github.com> Date: Mon, 30 Nov 2026 13:11:22 +0000 Subject: [PATCH 2/2] ci: note the docs skill check in the docs-only classification comment --- .github/workflows/verify.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/verify.yml b/.github/workflows/verify.yml index 92b3169835..7e81af6966 100644 --- a/.github/workflows/verify.yml +++ b/.github/workflows/verify.yml @@ -168,7 +168,8 @@ jobs: changed=false # A change that only touches the website, root-level Markdown, the README demo GIFs or the # skill pages generated from the website docs skips the Python checks and test suites. - # The website builds in its own workflow. + # The website builds in its own workflow, and the Docs skill pages job still checks that + # the skill pages match the website docs. docs_only=true # A change that only touches the web UI (and documentation) runs the UI checks and the # wheels that embed its build, but not the Python and native checks it cannot affect.