Skip to content

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

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

[9.5](backport #7404) build(deps): bump github.com/oapi-codegen/runtime from 1.5.0 to 1.6.0 in /pkg/api#7430
mergify[bot] wants to merge 2 commits into
9.5from
mergify/bp/9.5/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

Buildkite fails in check:ci because Go module tidying detects an uncommitted update after the pkg/api runtime bump. The PR updates the nested pkg/api module to github.com/oapi-codegen/runtime v1.6.0, but testing/go.mod still records that dependency indirectly as v1.5.0.

Remediation

  • Run go mod tidy in the affected modules (at minimum testing/) and commit the resulting go.mod/go.sum changes; the testing module should resolve the replaced local pkg/api at v1.6.0.
  • Re-run .buildkite/scripts/check_ci.sh (or mage check:ci) and confirm the tidy step leaves the worktree clean.
Investigation details

Root Cause

The PR diff changes only pkg/api/go.mod and pkg/api/go.sum from runtime v1.5.0 to v1.6.0. In the PR head, testing/go.mod still contains github.com/oapi-codegen/runtime v1.5.0 // indirect while its replace directive points github.com/elastic/fleet-server/pkg/api at ../pkg/api, whose direct requirement is now v1.6.0. Tidying the testing module therefore requires a module-file update, which CI rejects.

Evidence

  • Build: https://buildkite.com/elastic/fleet-server/builds/15620
  • Job/step: Run check-ci
  • Key log excerpt: go: updates to go.mod needed; to update it: go mod tidy (repeated; exit status 1)
  • PR files: pkg/api/go.mod and pkg/api/go.sum only; testing/go.mod retains the v1.5.0 indirect requirement.

Verification

  • Not run against the PR checkout; the diagnosis is based on the failed Buildkite log and the PR head module files.

What is this? | From workflow: PR Buildkite Detective

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

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.

1 participant