Repository navigation
ci: warm SCA preparation caches - #27132
Merged
Merged
Conversation
Qodo reviews are paused for this user.Troubleshooting steps vary by plan Learn more → On a Teams plan? Using GitHub Enterprise Server, GitLab Self-Managed, or Bitbucket Data Center? |
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
## What type of PR is this? - [ ] API-change - [ ] BUG - [x] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#27076 ## What this PR does / why we need it: Extends the trusted main-branch SCA cache producer introduced by matrixorigin#27128. - warms exact-key native prerequisites (`thirdparties/install`, CPU `cgo` objects, `libmo`) for the SCA platform and compiler - warms the three static-check binaries with an exact Go/tool-recipe key - pins `molint` instead of resolving `@latest`, making the tool cache deterministic - verifies every cached artifact before publishing it - retains the existing Go module cache producer The corresponding reusable workflow remains restore-only, so `pull_request_target` runs cannot save or poison shared caches. Native artifacts intentionally have no restore prefix: a PR changing C/native inputs gets a cache miss and rebuilds from source. No static analysis is skipped. The expected saving is in the current 6–8 minute `Prepare ENV` phase. The cached payload is about 170 MB before compression (about 88 MB tools and 80 MB native artifacts). Companion consumer: matrixorigin/CI#423 ## Validation - workflow YAML parsed successfully - actionlint passed for the warm-cache workflow - producer/consumer cache keys and paths match mechanically - `make install-static-check-tools` completed successfully with the pinned `molint` - `make -n install-static-check-tools` shows all three expected fixed tool versions - `git diff --check` passed --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
## What type of PR is this? - [ ] API-change - [ ] BUG - [x] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#27076 ## What this PR does / why we need it: Extends the trusted main-branch SCA cache producer introduced by matrixorigin#27128. - warms exact-key native prerequisites (`thirdparties/install`, CPU `cgo` objects, `libmo`) for the SCA platform and compiler - warms the three static-check binaries with an exact Go/tool-recipe key - pins `molint` instead of resolving `@latest`, making the tool cache deterministic - verifies every cached artifact before publishing it - retains the existing Go module cache producer The corresponding reusable workflow remains restore-only, so `pull_request_target` runs cannot save or poison shared caches. Native artifacts intentionally have no restore prefix: a PR changing C/native inputs gets a cache miss and rebuilds from source. No static analysis is skipped. The expected saving is in the current 6–8 minute `Prepare ENV` phase. The cached payload is about 170 MB before compression (about 88 MB tools and 80 MB native artifacts). Companion consumer: matrixorigin/CI#423 ## Validation - workflow YAML parsed successfully - actionlint passed for the warm-cache workflow - producer/consumer cache keys and paths match mechanically - `make install-static-check-tools` completed successfully with the pinned `molint` - `make -n install-static-check-tools` shows all three expected fixed tool versions - `git diff --check` passed --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
VioletQwQ-0
pushed a commit
to VioletQwQ-0/matrixone
that referenced
this pull request
Sep 17, 2026
## What type of PR is this? - [ ] API-change - [ ] BUG - [x] Improvement - [ ] Documentation - [ ] Feature - [x] Test and CI - [ ] Code Refactoring ## Which issue(s) this PR fixes: issue matrixorigin#27076 ## What this PR does / why we need it: Extends the trusted main-branch SCA cache producer introduced by matrixorigin#27128. - warms exact-key native prerequisites (`thirdparties/install`, CPU `cgo` objects, `libmo`) for the SCA platform and compiler - warms the three static-check binaries with an exact Go/tool-recipe key - pins `molint` instead of resolving `@latest`, making the tool cache deterministic - verifies every cached artifact before publishing it - retains the existing Go module cache producer The corresponding reusable workflow remains restore-only, so `pull_request_target` runs cannot save or poison shared caches. Native artifacts intentionally have no restore prefix: a PR changing C/native inputs gets a cache miss and rebuilds from source. No static analysis is skipped. The expected saving is in the current 6–8 minute `Prepare ENV` phase. The cached payload is about 170 MB before compression (about 88 MB tools and 80 MB native artifacts). Companion consumer: matrixorigin/CI#423 ## Validation - workflow YAML parsed successfully - actionlint passed for the warm-cache workflow - producer/consumer cache keys and paths match mechanically - `make install-static-check-tools` completed successfully with the pinned `molint` - `make -n install-static-check-tools` shows all three expected fixed tool versions - `git diff --check` passed --------- Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This branch was previously deployed
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.
What type of PR is this?
Which issue(s) this PR fixes:
issue #27076
What this PR does / why we need it:
Extends the trusted main-branch SCA cache producer introduced by #27128.
thirdparties/install, CPUcgoobjects,libmo) for the SCA platform and compilermolintinstead of resolving@latest, making the tool cache deterministicThe corresponding reusable workflow remains restore-only, so
pull_request_targetruns cannot save or poison shared caches. Native artifacts intentionally have no restore prefix: a PR changing C/native inputs gets a cache miss and rebuilds from source.No static analysis is skipped. The expected saving is in the current 6–8 minute
Prepare ENVphase. The cached payload is about 170 MB before compression (about 88 MB tools and 80 MB native artifacts).Companion consumer: matrixorigin/CI#423
Validation
make install-static-check-toolscompleted successfully with the pinnedmolintmake -n install-static-check-toolsshows all three expected fixed tool versionsgit diff --checkpassed