ci: use setup-v and cache-apt sanitizers profile in sanitized CI - #28040
Open
ulises-jeremias wants to merge 3 commits into
Open
ci: use setup-v and cache-apt sanitizers profile in sanitized CI#28040ulises-jeremias wants to merge 3 commits into
ulises-jeremias wants to merge 3 commits into
Conversation
Refactor the 7 Linux sanitizer jobs in sanitized_ci.yml into a single matrix job (sanitize-linux) with 7 include entries (undefined-clang/gcc, address-clang/gcc, memory-clang, memory-clang-compiler, address-clang-without-gc). Keep Windows sanitize-address-msvc separate. Preserve VFLAGS/ASAN/UBSAN/LSAN, timeouts (120/150/300), path gates, concurrency and env SANITIZER_*_PACKAGES from the factored lists (vlang#27863). No logic change, only deduplication. Refs vlang#27841
Use ${{ matrix.* }} in if conditions to match GitHub Actions
expression syntax (as used in tools_ci.yml). No logic change.
Refs vlang#27841
Replace ad-hoc make + symlink with reusable setup-v action and pin apt cache to sanitizers profile. No behavior change, dedup from vlang#27863. Refs vlang#27835.
ulises-jeremias
marked this pull request as ready for review
August 6, 2026 16:34
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #27841. Part of #27835.
Stacked on #28039 (
ci/sanitized-matrix) — merge #28039 first.What
make -j4 && ./v symlinkwith./.github/actions/setup-v(symlink: true) insanitize-linux../.github/actions/cache-apt-packages-actiontoprofile: sanitizers(vs defaultfull), reusing ci: factor sanitizer package lists #27863 profiles.Why
.agents/plans/2026-08-06-v27835-remaining-plan.md§1B: dedup setup, use OIDC/cache-friendly reusable actions, no behavior change. Resolves CI: refactor Sanitized CI matrix and timeout policy #27841 after ci: matrix sanitized Linux jobs #28039.Validation
ruby -ryamlYAML ok, singleruns-on: ubuntu-22.04matrix + windows job preserved.Install dependenciesapt list unchanged (base+graphics+clang).Risk
setup-vismake -j4+symlink(tested in ci: factor sanitizer package lists #27863); fallback is previous ad-hoc steps.Stack
ci/sanitized-matrix(ci: matrix sanitized Linux jobs #28039) → this PRci/sanitized-setup-v(ci: use setup-v and cache-apt sanitizers profile in sanitized CI #28040). Tracked viagh stack.