Skip to content

ci: skip the sanitizer lane on docs-only changes - #2878

Merged
MarcusSorealheis merged 1 commit into
TraceMachina:mainfrom
b7r6:ci/docs-paths-ignore
Oct 3, 2026
Merged

MarcusSorealheis merged 1 commit into
TraceMachina:mainfrom
b7r6:ci/docs-paths-ignore

Conversation

@b7r6

@b7r6 b7r6 commented Oct 3, 2026 •

Copy link
Copy Markdown
Contributor

What and why

Docs-only pull requests currently trigger the full sanitizer (asan) matrix (~12 min) because the workflow ignores only .github/styles/** and web/**, not Markdown. Add **/*.md to paths-ignore so a pure-documentation change no longer spins up a build/test lane it cannot affect. asan stays on the per-PR path for every PR that touches code — this only skips it for docs-only changes.

How was this verified?

YAML-validated. paths-ignore only skips a run when every changed file matches an ignored pattern, so a PR that touches code and docs together still runs asan; only pure-docs PRs skip. The pattern was added to both the push and pull_request triggers.

Risk

Very low. The change only affects which events trigger the sanitizer lane; a docs-only PR skipping asan cannot regress something asan would have caught, since nothing it builds changed. Mixed PRs are unaffected. No source, config, or wire-format changes.

AI assistance

An agent (Claude Code) drafted this change and description; I reviewed every line and validated the YAML myself.

@vercel

vercel Bot commented Oct 3, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
nativelink Ready Ready Preview Oct 3, 2026 9:40pm UTC
nativelink-aidm Ready Ready Preview Oct 3, 2026 9:40pm UTC

Request Review

@MarcusSorealheis MarcusSorealheis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Add '**/*.md' to paths-ignore on sanitizers so a pure-documentation PR no
longer triggers the asan matrix (~12 min). paths-ignore only skips when
every changed file matches, so mixed code+docs PRs still run asan.
@MarcusSorealheis
MarcusSorealheis merged commit 59d8ede into TraceMachina:main Oct 3, 2026
38 checks passed
b7r6 pushed a commit to b7r6/nativelink that referenced this pull request Oct 4, 2026
Combines TraceMachina#2877 + TraceMachina#2878 + TraceMachina#2880 on one branch so a single CI run shows the
true end-state per-PR wall clock. Not for merge: the individual PRs are the
review units; this exists to measure their net effect.
b7r6 pushed a commit to b7r6/nativelink that referenced this pull request Oct 4, 2026
Combines TraceMachina#2877 + TraceMachina#2878 + TraceMachina#2880 on one branch so a single CI run shows the
true end-state per-PR wall clock. Not for merge: the individual PRs are the
review units; this exists to measure their net effect.
b7r6 added a commit to b7r6/nativelink that referenced this pull request Oct 21, 2026
Bazel, Nix, LRE, coverage and the integration lane do not read
markdown, so a docs-only change running them buys no coverage. TraceMachina#2878
already did this for the sanitizer lane; extend the same '**/*.md'
paths-ignore to the other workflows that still carry a path filter
(lre and nix on pull_request and push, coverage and main on push).
Workflows that upstream left without a path filter (Bazel Native, the
OCI image) or that only run on a schedule (Cargo Native) are left as
they are. No '*.mdx' entry: every .mdx file lives under web/, which is
already ignored.

The one markdown file a build reads is nativelink-config/README.md,
which is compile_data of the nativelink-config crate, but no source
include_str!()s it, so it cannot change a build or test result.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>

This branch was successfully deployed

2 active deployments
Preview – nativelink — 177a6ad6 Deployed Oct 3, 2026 by vercel[bot]
Preview – nativelink-aidm — 177a6ad6 Deployed Oct 3, 2026 by vercel[bot]
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.

2 participants