This is an automated email from the ASF dual-hosted git repository.
jamesfredley pushed a commit to branch grails8-groovy6-canary
in repository https://gitbox.apache.org/repos/asf/grails-core.git
The following commit(s) were added to refs/heads/grails8-groovy6-canary by this
push:
new 4b6ae43c7d ci: run indy=true functional tests as the proven shard-0
cell
4b6ae43c7d is described below
commit 4b6ae43c7d6ad59c2344c4f754319286fb72b613
Author: James Fredley <[email protected]>
AuthorDate: Mon Aug 17 19:01:54 2026 -0400
ci: run indy=true functional tests as the proven shard-0 cell
Unsharding that job put the hanging shard-1 tests back on it, and it timed
out at 150 minutes. Restore the shard-0-only config that already passed in
about 56 minutes. Keep shard 1 omitted: it hangs in Gradle worker teardown
after tests finish. Cap the functional job at 90 minutes.
Assisted-by: claude-code:claude-opus-5
---
.github/workflows/gradle.yml | 18 +++++++++---------
1 file changed, 9 insertions(+), 9 deletions(-)
diff --git a/.github/workflows/gradle.yml b/.github/workflows/gradle.yml
index b627985d6b..a958bbb008 100644
--- a/.github/workflows/gradle.yml
+++ b/.github/workflows/gradle.yml
@@ -375,10 +375,9 @@ jobs:
functional:
name: "Functional Tests (${{ matrix.job_name }})"
if: ${{ !contains(github.event.head_commit.message, '[skip tests]') }}
- # Sharded cells finish in ~30-60 min. The unsharded Java 21 indy=true cell
- # runs the full functional suite and needs more headroom (it timed out at
75).
- # Still far below the 360-minute GitHub default so a teardown hang fails
fast.
- timeout-minutes: 150
+ # Sharded cells finish in ~30-60 min. Without a cap, a Gradle
worker-teardown
+ # hang burns a runner to the 360-minute GitHub default and cancels publish.
+ timeout-minutes: 90
strategy:
fail-fast: false
matrix:
@@ -401,12 +400,13 @@ jobs:
indy: true
job_name: Java 21, indy=true
gradle_task: 'bootJar check'
- artifact_suffix: java21-indytrue
+ artifact_suffix: java21-indytrue-shard0
cache_writer: false
- # Unsharded: the paired shard-1 cell hung in Gradle worker
teardown after
- # tests finished (MessageHub.stop). Running the full suite here
keeps
- # indy=true coverage without that hang. See #15558.
- shard_arguments: ''
+ # Shard 0 only. The paired shard-1 cell hung twice in Gradle worker
+ # teardown after tests finished (MessageHub.stop). Unsharding this
+ # cell put those tests back on this job and it timed out at 150
min.
+ # This shard-0 config already passed in ~56 min. See #15558.
+ shard_arguments: '-PtestShardCount=2 -PtestShardIndex=0'
- java: 25
indy: false
job_name: Java 25, indy=false