This is an automated email from the ASF dual-hosted git repository. jdaugherty pushed a commit to branch 8.0.x in repository https://gitbox.apache.org/repos/asf/grails-core.git
commit a2c44f376f4e4b709cf540fa3182152b784b281c Merge: 1435057571 cd63206df8 Author: James Daugherty <[email protected]> AuthorDate: Thu Oct 15 02:27:28 2026 +0100 Merge branch '7.2.x' into 8.0.x # Conflicts: # .github/workflows/groovy-joint-workflow.yml AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --cc AGENTS.md index c275beb436,606d38120d..48727f5967 --- a/AGENTS.md +++ b/AGENTS.md @@@ -304,10 -251,9 +304,10 @@@ Rules GitHub keeps about 10 GB of Actions cache per repository and evicts the least recently used entries. A run can restore entries only from its own branch and the default branch, and a pull request also from its base branch. The workflows are arranged around those two limits: - The Gradle User Home is cached only by `gradle/actions/setup-gradle`, with its default provider. Do not add an `actions/cache` step for `~/.gradle`, `cache-disabled`, or `cache-provider: basic`; release verification is the one job left uncached on purpose. - - Every `setup-gradle` step is preceded by the local action `.github/actions/gradle-cache-policy` and takes `cache-read-only` from its `read-only` output. Do not write `true` or `false` there: the policy lives in that action, so changing it means editing one file on the oldest release branch and merging up. + - Every `setup-gradle` step is preceded by the local action `.github/actions/gradle-cache-policy` and takes `cache-read-only` from its `read-only` output. A job that fetches this repository with a sparse checkout must list `.github/actions` in it, or the action is not there to run. Do not write `true` or `false` there: the policy lives in that action, so changing it means editing one file on the oldest release branch and merging up. - Only the core build job (`build` in `gradle.yml`) passes `cache-writer`, from the one matrix entry per OS flagged `cache_writer: true`. A new job or workflow never passes it. - The action lets a writer save only on a push or dispatch, only on a branch whose major version is at least the default branch's, and, for Windows and macOS, only on that major's first branch (`x.0.x`). With 8.0.x as the default branch, 7.x never writes, Linux writes on every 8.x and 9.x branch, and Windows and macOS write on 8.0.x and 9.0.x. The rule follows the default branch: when a new one is promoted, older majors stop writing without an edit. +- A cache whose content is the same on every branch, such as the mongod download the embedded MongoDB tests run, is restored everywhere but saved only by a push to the default branch, whose entries every branch can read. Use separate `actions/cache/restore` and `actions/cache/save` steps for it, never the combined `actions/cache` step, which saves on every branch and pull request. Why it is this way:
