Skip to content

[9.4](backport #7404) build(deps): bump github.com/oapi-codegen/runtime from 1.5.0 to 1.6.0 in /pkg/api#7431

Open
mergify[bot] wants to merge 2 commits into
9.4from
mergify/bp/9.4/pr-7404
Open

[9.4](backport #7404) build(deps): bump github.com/oapi-codegen/runtime from 1.5.0 to 1.6.0 in /pkg/api#7431
mergify[bot] wants to merge 2 commits into
9.4from
mergify/bp/9.4/pr-7404

Conversation

@mergify

@mergify mergify Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Bumps github.com/oapi-codegen/runtime from 1.5.0 to 1.6.0.

Release notes

Sourced from github.com/oapi-codegen/runtime's releases.

Allow customization of parameter encoding

This is a small release which adds a global encoding setting on the runtime, to allow users to customize how to handle spaces in query arguments. This is a new minor release, since we're adding new API, even though this is a very minor feature. I imagine that in the future, we will add more settings, rather than making behavior assumptions.

🚀 New features and improvements

📦 Dependency updates

  • chore(deps): update module github.com/golangci/golangci-lint to v2.12.2 (#112) @renovate[bot]

Sponsors

We would like to thank our sponsors for their support during this release.

Sponsors

We would like to thank our sponsors for their support during this release.

Commits
  • 01be2fa chore(deps): update module github.com/golangci/golangci-lint to v2.12.2 (#112)
  • 1463938 Allow customizing default query encoder (#145)
  • See full diff in compare view


This is an automatic backport of pull request #7404 done by [Mergify](https://mergify.com).

Bumps [github.com/oapi-codegen/runtime](https://github.com/oapi-codegen/runtime) from 1.5.0 to 1.6.0.
- [Release notes](https://github.com/oapi-codegen/runtime/releases)
- [Commits](oapi-codegen/runtime@v1.5.0...v1.6.0)

---
updated-dependencies:
- dependency-name: github.com/oapi-codegen/runtime
  dependency-version: 1.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
(cherry picked from commit eaab69a)
@github-actions

Copy link
Copy Markdown
Contributor

TL;DR

The E2E job never reached an E2E test: go test stopped because the module graph is inconsistent after pkg/api was bumped to github.com/oapi-codegen/runtime v1.6.0. The backport updates pkg/api/go.mod and pkg/api/go.sum, but testing/go.mod still pins the indirect runtime dependency to v1.5.0.

Remediation

  • Run cd testing && go mod tidy after the dependency bump and commit the resulting testing/go.mod/testing/go.sum changes (at minimum, update the indirect runtime entry to v1.6.0).
  • Re-run .buildkite/scripts/e2e_test.sh or the E2E Buildkite step.
Investigation details

Root Cause

The PR changes pkg/api/go.mod:5 from runtime v1.5.0 to v1.6.0 and replaces the corresponding checksums in pkg/api/go.sum. The testing module is built with replace github.com/elastic/fleet-server/pkg/api => ../pkg/api, but its testing/go.mod still declares github.com/oapi-codegen/runtime v1.5.0 // indirect. Go therefore reports updates to go.mod needed while resolving the replaced API module and exits before executing tests.

Evidence

  • Build: https://buildkite.com/elastic/fleet-server/builds/15621
  • Job/step: E2E Test
  • Key log excerpt: go: updates to go.mod needed; to update it: go mod tidy followed by Error: exit status 1
  • The log shows Kibana and APM starting successfully; the failure occurs during Go dependency downloads/module resolution.

Verification

No E2E tests ran because module resolution failed before test execution.


What is this? | From workflow: PR Buildkite Detective

Give us feedback! React with 🚀 if perfect, 👍 if helpful, 👎 if not.

@swiatekm
swiatekm enabled auto-merge (squash) July 22, 2026 10:58
swiatekm
swiatekm previously approved these changes Jul 22, 2026
The testing module uses pkg/api via a replace directive. After
pkg/api/go.mod was bumped to v1.6.0, testing/go.mod needs the
same indirect dependency update to keep the module graph consistent.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants