github-actions[bot] commented on PR #41401:
URL: https://github.com/apache/beam/pull/41401#issuecomment-6922805721

   <!-- beam-ci-failure-summary -->
   ## 🔍 CI Failure Summary
   
   ❌ **1 failed check(s)** (out of 4 total) on 
[`7f1e547`](https://github.com/apache/beam/commit/7f1e5477a33d72bb009b50567ee4dcbcccb7d16d)
 — grouped into **1 root-cause group(s)**. *(1 check(s) still running)*
   
   > **TL;DR:** `beam_Playground_PreCommit` failed during `./gradlew 
playground:backend:precommit` because bumping `go.opentelemetry.io/otel/trace` 
to `v1.47.0` updates `playground/backend/go.mod` to `go 1.26.0`, which 
conflicts with the Go toolchain/linter (`golangci-lint` v2.9.0 / runner Go 
version) configured in `beam_Playground_Precommit.yml`.
   
   ### 1. Playground Backend PreCommit Failure Due to `go 1.26.0` Directive 
Bump in `playground/backend/go.mod` (1 check(s))
   - **Classification:** `🔴 Likely related to PR changes`
   - **Root Cause:** Dependabot bumped `go.opentelemetry.io/otel/trace` (and 
`otel`, `otel/metric`, `otel/log`) from `1.44.0` to `1.47.0`, which in turn 
bumped the Go directive in `playground/backend/go.mod` from `go 1.25.0` to `go 
1.26.0`. In `.github/workflows/beam_Playground_Precommit.yml`, 
`setup-environment-action` is invoked without `go-version` (using the default 
runner Go toolchain) and `playground/backend/env_setup.sh` installs 
`golangci-lint` v2.9.0 (built prior to Go 1.26 support), causing `./gradlew 
playground:backend:precommit` (`runLint` / `test`) to fail with exit code 1 
when evaluating a module targeting `go 1.26.0`.
   - **Suggested Action:** Either keep `go 1.25.0` in 
`playground/backend/go.mod` if compatible, or update 
`.github/workflows/beam_Playground_Precommit.yml` to pass `go-version: 
'default'` (1.26) to `setup-environment-action` and bump `GO_LINTER_VERSION` in 
`playground/backend/env_setup.sh` to a `golangci-lint` release built with Go 
1.26. Reproduce locally with `./gradlew playground:backend:precommit`.
   
   <details>
   <summary>Representative log & affected check links</summary>
   
   - 
[beam_Playground_PreCommit](https://github.com/apache/beam/actions/runs/43908952460/job/133445299050)
   ```text
   Step: Run PreCommit (./gradlew playground:backend:precommit)
   Task :playground:backend:runLint / :playground:backend:precommit FAILED
   
   --- a/playground/backend/go.mod
   +++ b/playground/backend/go.mod
   @@ -15,7 +15,7 @@
    module beam.apache.org/playground/backend
   -go 1.25.0
   +go 1.26.0
   
   Error: Process completed with exit code 1.
   ```
   </details>
   
   ---
   *💡 Comment `/summarize-failures` to refresh this summary after new commits 
or re-runs.*


-- 
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]

Reply via email to