Skip to content

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

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

[9.3](backport #7404) build(deps): bump github.com/oapi-codegen/runtime from 1.5.0 to 1.6.0 in /pkg/api#7432
mergify[bot] wants to merge 2 commits into
9.3from
mergify/bp/9.3/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 did not reach any tests. It failed while go test was resolving modules because this PR updates the replaced pkg/api module to require github.com/oapi-codegen/runtime v1.6.0, but the testing module still records v1.5.0. The Go command therefore required a module-file update and exited with status 1.

Remediation

  • Run go mod tidy in the affected modules and commit the resulting dependency metadata, or otherwise update the root and testing module requirements/sums so they consistently resolve github.com/oapi-codegen/runtime v1.6.0.
  • Re-run .buildkite/scripts/e2e_test.sh; a retry alone will not fix this deterministic module-graph mismatch.
Investigation details

Root Cause

The PR changes pkg/api/go.mod to require github.com/oapi-codegen/runtime v1.6.0 (the only source diff is pkg/api/go.mod and pkg/api/go.sum). The E2E command runs mage test:e2e, which executes go test from the testing/ directory. On this PR head, testing/go.mod still lists github.com/oapi-codegen/runtime v1.5.0 // indirect, while its local replacement points github.com/elastic/fleet-server/pkg/api at ../pkg/api. That replacement exposes the new v1.6.0 requirement without updating the testing module’s recorded graph.

Evidence

  • Build: https://buildkite.com/elastic/fleet-server/builds/15622
  • Job/step: E2E Test (.buildkite/scripts/e2e_test.sh)
  • Key log excerpt: go: updates to go.mod needed; to update it: go mod tidy followed by Error: exit status 1 (build log lines 127-131).
  • PR diff: pkg/api/go.mod changes runtime v1.5.0 to v1.6.0; testing/go.mod remains at runtime v1.5.0 indirect.

Verification

No tests ran because module resolution failed before the E2E test binary was built.

Follow-up

This is a dependency metadata/configuration failure, not the known flaky E2E cases; no flaky-test issue applies to this build.


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