ci: optimize pull request checks - #47
Draft
bladehan1 wants to merge 1 commit into
Draft
Conversation
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
bladehan1
force-pushed
the
feature/ci_refactor
branch
2 times, most recently
from
August 6, 2026 09:32
201fbff to
a669ba9
Compare
enable task-output caching for x86 build and coverage jobs align PR title validation and reviewer routing with contributing rules remove empty Java placeholder files
bladehan1
force-pushed
the
feature/ci_refactor
branch
from
August 6, 2026 09:35
a669ba9 to
97a3250
Compare
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 does this PR do?
--no-build-cacheflags from Debian and Coverage Base builds and RocksDB tests.type(scope): descriptionwhile tolerating the common omission of its single space; multiple spaces and other whitespace remain invalid.ci: descriptiontitle to the existingcireviewer scope; explicit scopes still take precedence and other bare types retain default reviewers.chainbase.Why are these changes required?
The repository already enables Gradle Build Cache. However, four x86 Gradle invocations disable task-output cache reads and writes globally. Removing those flags enables reuse for eligible compile, package, Checkstyle, and test tasks.
CONTRIBUTING.mdpermits both scoped and bare PR titles. Sinceciis also an existing reviewer scope, a barecitype can be mapped without inventing mappings for unrelated types.This PR has been tested by:
.github/workflows/pr-build.yml,.github/workflows/pr-check.yml, and.github/workflows/pr-reviewer.ymlci, and other bare types--no-build-cachegit diff --check./gradlew -g /private/tmp/java-tron-gradle-home :framework:checkstyleMain :framework:checkstyleTest :plugins:checkstyleMain --no-daemon --no-build-cache:framework:testWithRocksDbclean/restore validation: stable task key and successfulFROM-CACHErestorationFollow up
FROM-CACHE.--rerunif a future test contract requires real execution for every CI run.Extra details
cleanremoves projectbuild/output but does not remove$GRADLE_USER_HOME/caches/build-cache-1; eligible outputs can therefore be restored afterclean.