Skip to content

build(deps): bump github.com/microsoft/wmi from 0.38.3 to 0.42.0 in the windows group across 1 directory#50161

Open
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/main/windows-d86c4de300
Open

build(deps): bump github.com/microsoft/wmi from 0.38.3 to 0.42.0 in the windows group across 1 directory#50161
dependabot[bot] wants to merge 1 commit intomainfrom
dependabot/go_modules/main/windows-d86c4de300

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github Apr 16, 2026

Bumps the windows group with 1 update in the / directory: github.com/microsoft/wmi.

Updates github.com/microsoft/wmi from 0.38.3 to 0.42.0

Commits
  • 2b4d93b Merge pull request #190 from microsoft/madhanm/go-1.26
  • e294b52 chore: update Go to 1.26.0
  • 71c4d5c Merge pull request #189 from microsoft/fix/instancemanager-nil-session-guard
  • a13d3b8 fix: prevent WMI panics from nil cache poisoning, nil properties, and unsafe ...
  • c33bbdd Merge pull request #188 from microsoft/copilot/ensure-green-status-checks
  • f0e2be0 Add GitHub Copilot instructions for PR status checks
  • eea25b8 Initial plan
  • ff19dce Merge pull request #187 from microsoft/copilot/update-go-version-1-25
  • 2bfb1a0 Revert go.sum removal - retain go.sum in repository
  • 46037b7 Optimize Makefile to avoid redundant vendor runs
  • Additional commits viewable in compare view

@dependabot dependabot Bot added automation dependabot GitHub Dependabot Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team labels Apr 16, 2026
@dependabot dependabot Bot requested a review from a team as a code owner April 16, 2026 14:00
@dependabot dependabot Bot added automation Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team dependabot GitHub Dependabot labels Apr 16, 2026
@github-actions
Copy link
Copy Markdown
Contributor

🤖 GitHub comments

Just comment with:

  • run docs-build : Re-trigger the docs validation. (use unformatted text in the comment!)

@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 16, 2026

This pull request does not have a backport label.
If this is a bug or security fix, could you label this PR @dependabot[bot]? 🙏.
For such, you'll need to label your PR with:

  • The upcoming major version of the Elastic Stack
  • The upcoming minor version of the Elastic Stack (if you're not pushing a breaking change)

To fixup this pull request, you need to add the backport labels for the needed
branches, such as:

  • backport-8./d is the label to automatically backport to the 8./d branch. /d is the digit
  • backport-active-all is the label that automatically backports to all active branches.
  • backport-active-8 is the label that automatically backports to all active minor branches for the 8 major.
  • backport-active-9 is the label that automatically backports to all active minor branches for the 9 major.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 16, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: f0eeecb7-3374-42b6-b8da-3fd5f466b260

📥 Commits

Reviewing files that changed from the base of the PR and between 5049135 and dd98644.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod
✅ Files skipped from review due to trivial changes (1)
  • go.mod

📝 Walkthrough

Walkthrough

This pull request updates the Go toolchain directive in go.mod from 1.25.8 to 1.26 and upgrades the github.com/microsoft/wmi module requirement from v0.38.3 to v0.40.0. No exported or public Go API declarations were changed; only dependency and toolchain version entries were modified.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/go_modules/main/windows-d86c4de300
  • 🛠️ Update Documentation: Commit on current branch
  • 🛠️ Update Documentation: Create PR

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@go.mod`:
- Line 3: The repo's go.mod now requires "go 1.26" which mismatches the CI's Go
1.25.8 runtime; update the CI configuration to install/use Go 1.26 (or set
GOTOOLCHAIN=go1.26) so the pipeline runtime matches the go.mod requirement,
e.g., change the CI workflow/runner setup to use Go 1.26 or export
GOTOOLCHAIN=go1.26 before build steps to ensure the "go 1.26" constraint in
go.mod is satisfied.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 33c0bfdd-c8f2-478f-a65f-506e2e4797c8

📥 Commits

Reviewing files that changed from the base of the PR and between 1b1113d and 5049135.

⛔ Files ignored due to path filters (1)
  • go.sum is excluded by !**/*.sum
📒 Files selected for processing (1)
  • go.mod

Comment thread go.mod
module github.com/elastic/beats/v7

go 1.25.8
go 1.26
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

CI environment requires Go 1.26 update.

The pipeline fails because the CI runs Go 1.25.8 but go.mod now requires 1.26. Update the CI configuration to use Go 1.26 or adjust GOTOOLCHAIN settings.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@go.mod` at line 3, The repo's go.mod now requires "go 1.26" which mismatches
the CI's Go 1.25.8 runtime; update the CI configuration to install/use Go 1.26
(or set GOTOOLCHAIN=go1.26) so the pipeline runtime matches the go.mod
requirement, e.g., change the CI workflow/runner setup to use Go 1.26 or export
GOTOOLCHAIN=go1.26 before build steps to ensure the "go 1.26" constraint in
go.mod is satisfied.

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@dependabot dependabot Bot changed the title build(deps): bump github.com/microsoft/wmi from 0.38.3 to 0.40.0 in the windows group build(deps): bump github.com/microsoft/wmi from 0.38.3 to 0.40.0 in the windows group across 1 directory Apr 17, 2026
@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch from 5049135 to dd98644 Compare April 17, 2026 10:25
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 20, 2026

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b dependabot/go_modules/main/windows-d86c4de300 upstream/dependabot/go_modules/main/windows-d86c4de300
git merge upstream/main
git push upstream dependabot/go_modules/main/windows-d86c4de300

@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch from dd98644 to 6e87a4e Compare April 20, 2026 05:25
@github-actions

This comment has been minimized.

@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch from 6e87a4e to 70bcf98 Compare April 20, 2026 11:58
@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch from 70bcf98 to a0e399a Compare April 21, 2026 10:25
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented Apr 21, 2026

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b dependabot/go_modules/main/windows-d86c4de300 upstream/dependabot/go_modules/main/windows-d86c4de300
git merge upstream/main
git push upstream dependabot/go_modules/main/windows-d86c4de300

@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch 2 times, most recently from 608c511 to 5cf6aae Compare April 22, 2026 10:25
@github-actions

This comment has been minimized.

@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch from 5cf6aae to 6772391 Compare April 22, 2026 19:25
@github-actions

This comment has been minimized.

@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch from 6772391 to 372ea64 Compare April 23, 2026 10:25
@github-actions

This comment has been minimized.

@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch from 372ea64 to 9f8b4d3 Compare April 24, 2026 10:25
@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch from 9f8b4d3 to 232710c Compare April 27, 2026 12:14
@github-actions

This comment has been minimized.

@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch 2 times, most recently from 6332f5c to 2637e9e Compare April 30, 2026 10:24
@dependabot dependabot Bot changed the title build(deps): bump github.com/microsoft/wmi from 0.38.3 to 0.40.0 in the windows group across 1 directory build(deps): bump github.com/microsoft/wmi from 0.38.3 to 0.41.0 in the windows group across 1 directory May 1, 2026
@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch 4 times, most recently from 7ca92c6 to 6f3d86f Compare May 6, 2026 10:27
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 6, 2026

TL;DR

Buildkite https://buildkite.com/elastic/beats/builds/45450 is failing for the same deterministic blockers seen in prior runs: Go toolchain mismatch (go 1.26 requirement vs many jobs running go1.25.9) plus three code-level regressions surfaced by Go 1.26 checks. This run also has separate Windows checkout infrastructure failures (Permission denied (publickey)), which look transient and should be retried after the code/toolchain issues are addressed.

Remediation

  • Resolve the toolchain mismatch first: either keep this PR on a 1.25-compatible dependency set, or run all relevant Buildkite jobs with Go 1.26 (not GOTOOLCHAIN=local on 1.25.9).
  • Fix the three deterministic code issues already present in this run:
    • libbeat/reader/readfile/fs_metafields_other.go:52 and :60 (%q used with uint64; use %d or convert to string first).
    • heartbeat/monitors/active/http/task_test.go:123 (%q used with uint16; use %d).
    • x-pack/filebeat/input/http_endpoint/input.go:482 redirects with 301, but tests now expect http.ServeMux parity (307) for path cleaning.
    • metricbeat/module/mongodb/mongodb.go:113 (url.Parse(host)) still fails multi-host Mongo URIs used by tests.
  • Re-run failed Windows jobs after code/toolchain fixes; their checkout failures are infra-side (publickey during clone).
Investigation details

Root Cause

  1. Configuration/toolchain mismatch (primary)

    • PR diff sets go.mod:3 to go 1.26 (from this PR’s changed files), but many Buildkite jobs are still on Go 1.25.9.
    • Logs repeatedly show:
      • go: ../go.mod requires go >= 1.26 (running go 1.25.9; GOTOOLCHAIN=local)
      • compile: version "go1.26.0" does not match go tool version "go1.25.9"
  2. Code-level regressions (deterministic in this run)

    • libbeat/reader/readfile/fs_metafields_other.go:52return fmt.Errorf("failed to lookup uid %q: %w", osstate.UID, err)
    • libbeat/reader/readfile/fs_metafields_other.go:60return fmt.Errorf("failed to lookup gid %q: %w", osstate.GID, err)
    • heartbeat/monitors/active/http/task_test.go:123t.Errorf("Unexpected port for %#v: expected %q, got %q", request, test.expectedPort, port)
    • x-pack/filebeat/input/http_endpoint/input.go:482http.Redirect(w, r, url.String(), http.StatusMovedPermanently)
    • metricbeat/module/mongodb/mongodb.go:113u, err := url.Parse(host)
  3. Infrastructure (separate, likely transient)

    • Multiple Windows jobs fail at checkout/cleanup before tests run.

Evidence

  • Build: https://buildkite.com/elastic/beats/builds/45450
  • Toolchain mismatch:
    • /tmp/gh-aw/buildkite-logs/beats-metricbeat-ubuntu-metricbeat-go-integration-tests-module.txt:1go: ../go.mod requires go >= 1.26 (running go 1.25.9; GOTOOLCHAIN=local)
    • /tmp/gh-aw/buildkite-logs/auditbeat-ubuntu-auditbeat-ubuntu-x86_64-unit-tests.txt:4compile: version "go1.26.0" does not match go tool version "go1.25.9"
  • Vet/type formatting failures:
    • /tmp/gh-aw/buildkite-logs/beats-libbeat-libbeat-run-checkupdate.txt:137
    • /tmp/gh-aw/buildkite-logs/beats-libbeat-libbeat-run-checkupdate.txt:139
    • /tmp/gh-aw/buildkite-logs/heartbeat-heartbeat-run-checkupdate.txt:139
  • x-pack/filebeat mux conformance failure:
    • /tmp/gh-aw/buildkite-logs/beats-xpack-filebeat-ubuntu-x-packfilebeat-ubuntu-x86_64-unit-tests.txt:87path "/a//b": status mux=301, http.ServeMux=307
  • Mongo URL parser failure:
    • /tmp/gh-aw/buildkite-logs/beats-metricbeat-ubuntu-metricbeat-ubuntu-x86_64-unit-tests.txt:113
    • /tmp/gh-aw/buildkite-logs/beats-metricbeat-ubuntu-metricbeat-ubuntu-x86_64-unit-tests.txt:115
  • Windows infra checkout failures:
    • /tmp/gh-aw/buildkite-logs/filebeat-windows-filebeat-win-2016-unit-tests.txt:41git@github.com: Permission denied (publickey).

Verification

  • Not run locally in this workflow; analysis is based on /tmp/gh-aw/buildkite-failures.txt and referenced Buildkite logs.

Follow-up

  • Once Go version alignment is complete, re-run CI to distinguish remaining code failures from prior toolchain fallout; then handle any residual Windows checkout incidents as infra retries/escalation.

What is this? | From workflow: PR Buildkite Detective

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

@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch from 6f3d86f to a09f4e6 Compare May 6, 2026 15:23
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented May 6, 2026

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b dependabot/go_modules/main/windows-d86c4de300 upstream/dependabot/go_modules/main/windows-d86c4de300
git merge upstream/main
git push upstream dependabot/go_modules/main/windows-d86c4de300

@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch from a09f4e6 to dd6f88a Compare May 7, 2026 10:28
@dependabot dependabot Bot changed the title build(deps): bump github.com/microsoft/wmi from 0.38.3 to 0.41.0 in the windows group across 1 directory build(deps): bump github.com/microsoft/wmi from 0.38.3 to 0.42.0 in the windows group across 1 directory May 8, 2026
@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch from dd6f88a to 47da6e6 Compare May 8, 2026 10:27
@mergify
Copy link
Copy Markdown
Contributor

mergify Bot commented May 8, 2026

This pull request is now in conflicts. Could you fix it? 🙏
To fixup this pull request, you can check out it locally. See documentation: https://help.github.com/articles/checking-out-pull-requests-locally/

git fetch upstream
git checkout -b dependabot/go_modules/main/windows-d86c4de300 upstream/dependabot/go_modules/main/windows-d86c4de300
git merge upstream/main
git push upstream dependabot/go_modules/main/windows-d86c4de300

Bumps the windows group with 1 update in the / directory: [github.com/microsoft/wmi](https://github.com/microsoft/wmi).


Updates `github.com/microsoft/wmi` from 0.38.3 to 0.42.0
- [Release notes](https://github.com/microsoft/wmi/releases)
- [Commits](microsoft/wmi@v0.38.3...v0.42.0)

---
updated-dependencies:
- dependency-name: github.com/microsoft/wmi
  dependency-version: 0.40.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: windows
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot force-pushed the dependabot/go_modules/main/windows-d86c4de300 branch from 47da6e6 to 7bbee20 Compare May 8, 2026 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automation dependabot GitHub Dependabot Team:Obs-InfraObs Label for the Observability Infrastructure Monitoring team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants