Repository navigation
Conversation
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.
Part of #3829
Closes #3830
Motivation
Every pull request currently triggers 35+ uncached heavy CI jobs (~97–148 minutes end-to-end) and runs full-repo
clang-tidy(~38 minutes). In addition,.github/workflows/kvrocks.yamland.github/workflows/compatibility.ymlmust handlemerge_groupevents before GitHub Merge Queue can be enabled in.asf.yaml(#3832).Changes
.github/scripts/ci_plan.py+test_ci_plan.py):Preconditionfilter to supportpull_request,merge_group, andpushevents while keepingRequiredas the sole branch-protection status check.pull_requestdefault): Runs 8 orthogonal build jobs covering GCC, Clang, AppleClang,x86_64+arm64,ENABLE_OPENSSL,ENABLE_LUAJIT=OFF,ENABLE_NEW_ENCODING=FALSE,DISABLE_JEMALLOC,Clang ASan+LSan+UBSan,Clang TSan, and SonarCloud coverage.Ubuntu 24 GCCkeeps nativeUnix Makefiles+ GNUldto guard real source-release builds and static library link order, while PR feature/sanitizer jobs use--ninjaand-fuse-ld=lld.Alpine 3 (musl)+ dual-archcheck-dockerwhen build/Docker/CI files change, runs boundary compatibility versions (v2.3.0,v2.15.0) when storage/types/build files change, and escalates to full Tier 2 whenci/fulllabel is applied or when targeting non-unstablerelease branches.merge_group,push, orci/full): Runs the full canonicalUnix Makefileshost matrix (dropping the duplicateDarwin Clang arm64 without Jemallocjob sinceCMakeLists.txtalready setsDISABLE_JEMALLOC=ONon Apple hosts), all 6 Linux distro containers, dual-archcheck-docker, fullclang-tidy, and all 6 compatibility versions (skippingSonarCloudon syntheticmerge_grouprefs).ccacheviaapt/brew+ officialactions/cache@v6(-DCMAKE_C_COMPILER_LAUNCHER=ccache -DCMAKE_CXX_COMPILER_LAUNCHER=ccache).cache: true+cache-dependency-path: tests/gocase/go.sum, plus-count=1incompatibility.yml).run-clang-tidy-18on modified C/C++ translation units in Tier 1 PRs.sleep 1m/sleep 10swaits incheck-dockerandkvrocks2redistests with readiness polling.