jdaugherty opened a new pull request, #15945: URL: https://github.com/apache/grails-core/pull/15945
Backports 82946a2ca8 (already on 8.0.x) to 7.0.x. The `publish` job wraps `./gradlew publish ... --no-build-cache --rerun-tasks` in `nick-fields/retry` with a per-attempt `timeout_seconds: 1200` (20 min). That command does a full from-scratch recompile plus groovydoc/javadoc for 60+ modules and uploads to Apache Nexus, which legitimately runs ~14–20+ min. On a cold build or with slow Nexus uploads, attempt 1 is killed on a pure timeout while making healthy progress, and the retry then succeeds only because attempt 1 already warmed the compile — so nearly every 7.0.x snapshot publish burns a wasted 20-minute attempt. Example: run [28983551993 / job 86011906888](https://github.com/apache/grails-core/actions/runs/28983551993/job/86011906888) — `Attempt 1 failed. Reason: Timeout of 1200000ms hit`, attempt 2 succeeded (`Command completed after 2 attempt(s).`). Raises `timeout_seconds` to 1800 (30 min), matching 8.0.x, keeping `max_attempts: 3` / `retry_wait_seconds: 180` for genuine transient Nexus read-timeouts. This will no-op when merged forward to 8.0.x. 🤖 Generated with [Claude Code](https://claude.com/claude-code) -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
