Skip to content

Probe for docs-only CI with a broken error-code table (do not merge) - #713

Closed
bburda wants to merge 3 commits into
mainfrom
ci/docs-only-gate-probe2
Closed

bburda wants to merge 3 commits into
mainfrom
ci/docs-only-gate-probe2

Conversation

@bburda

@bburda bburda commented Oct 5, 2026

Copy link
Copy Markdown
Collaborator

Temporary draft. It runs the docs-only path from branch ci/skip-heavy-jobs-on-docs-only-prs with one error code removed from docs/api/rest.rst, which format-lint must reject. Workflow and script changes count as documentation here so that the path runs. It will be closed without merging.

bburda added 3 commits October 5, 2026 20:31
A pull request that changes only files under docs/, or .md and .rst files,
now skips the build, test, lint and sanitizer jobs in CI and Quality.
scripts/ci_code_changed.sh decides from the merge commit diff. Renames count
on both sides, so moving a source file under docs/ still runs everything.
Pushes to main always run everything.

ci-ok and quality-ok always run. They fail when a job they depend on failed
or was cancelled, and on a code change also when one was skipped. They are
the checks branch rules should require. A matrix job skipped by its `if`
reports one check with the matrix expression unexpanded, so a required
check named after a matrix job would never report. postgres and clang-tidy
stay outside the gates, as they are not required today.

Also pass the clang-tidy file list through an array and split the
TSAN_OPTIONS exports from their assignment, which actionlint flagged.
gateway_error_codes_documented reads docs/api/rest.rst and
gateway_doc_test_citations reads docs/api and the gateway design docs.
Both are linter tests, and only format-lint runs those, so it now runs on
every pull request. A docs-only pull request still skips the build, test,
clang-tidy and sanitizer jobs.

The classifier now reads paths with core.quotePath=false. A non-ASCII
name under docs/ was quoted and counted as code.
@bburda bburda closed this Oct 5, 2026
@bburda
bburda deleted the ci/docs-only-gate-probe2 branch October 5, 2026 18:55
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