Skip to content

chore(deps): update elastic (main) - #7603

Open
elastic-renovate-prod[bot] wants to merge 7 commits into
mainfrom
renovate/main-golang/elastic
Open

chore(deps): update elastic (main)#7603
elastic-renovate-prod[bot] wants to merge 7 commits into
mainfrom
renovate/main-golang/elastic

Conversation

@elastic-renovate-prod

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/elastic/elastic-agent-libs require patch v0.46.2v0.46.3
github.com/elastic/fleet-server/v7 require minor v7.0.0-00010101000000-000000000000v7.17.29
github.com/elastic/go-elasticsearch/v8 require patch v8.19.6v8.19.7
github.com/elastic/go-json-schema-generate indirect digest ec19b88c708d18
go.elastic.co/go-licence-detector indirect minor v0.7.0v0.10.0

Release Notes

elastic/elastic-agent-libs (github.com/elastic/elastic-agent-libs)

v0.46.3

Compare Source

What's Changed

Full Changelog: elastic/elastic-agent-libs@v0.46.2...v0.46.3

elastic/fleet-server (github.com/elastic/fleet-server/v7)

v7.17.29

Compare Source

v7.17.28

Compare Source

v7.17.27

Compare Source

v7.17.26

Compare Source

v7.17.25

Compare Source

v7.17.24

Compare Source

v7.17.23

Compare Source

v7.17.22

Compare Source

v7.17.21

Compare Source

v7.17.20

Compare Source

v7.17.19

Compare Source

v7.17.18

Compare Source

v7.17.17

Compare Source

v7.17.16

Compare Source

v7.17.15

Compare Source

v7.17.14

Compare Source

v7.17.13

Compare Source

v7.17.12

Compare Source

v7.17.11

Compare Source

v7.17.10

Compare Source

v7.17.9

Compare Source

v7.17.8

Compare Source

v7.17.7

Compare Source

v7.17.6

Compare Source

v7.17.5

Compare Source

v7.17.4

Compare Source

v7.17.3

Compare Source

v7.17.2

Compare Source

v7.17.1

Compare Source

v7.17.0

Compare Source

v7.16.3

Compare Source

v7.16.2

Compare Source

v7.16.1

Compare Source

v7.16.0

Compare Source

v7.15.2

Compare Source

v7.15.1

Compare Source

v7.15.0

Compare Source

v7.14.2

Compare Source

v7.14.1

Compare Source

v7.14.0

Compare Source

v7.13.4

Compare Source

v7.13.3

Compare Source

v7.13.2

Compare Source

v7.13.1

Compare Source

v7.13.0

Compare Source

v7.12.1

Compare Source

elastic/go-elasticsearch (github.com/elastic/go-elasticsearch/v8)

v8.19.7

Compare Source

Features
elastic/go-licence-detector (go.elastic.co/go-licence-detector)

v0.10.0

Compare Source

v0.9.1

Compare Source

v0.9.0

Compare Source

v0.8.0

Compare Source


Configuration

📅 Schedule: Branch creation - "on monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • If you want to rebase/retry this PR, check this box

This PR has been generated by Renovate Bot.

@elastic-renovate-prod elastic-renovate-prod Bot added automation backport-skip Skip notification from the automated backport with mergify dependency skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Aug 10, 2026
@elastic-renovate-prod
elastic-renovate-prod Bot requested a review from a team as a code owner August 10, 2026 01:37
@elastic-renovate-prod

Copy link
Copy Markdown
Contributor Author

ℹ️ Artifact update notice

File name: dev-tools/go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 6 additional dependencies were updated

Details:

Package Change
github.com/cyphar/filepath-securejoin v0.2.5 -> v0.4.1
github.com/google/licenseclassifier v0.0.0-20200402202327-879cb1424de0 -> v0.0.0-20250213175939-b5d1a3369749
github.com/sergi/go-diff v1.1.0 -> v1.4.0
golang.org/x/mod v0.24.0 -> v0.29.0
golang.org/x/sync v0.14.0 -> v0.17.0
golang.org/x/tools v0.33.0 -> v0.37.0

@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@elastic-renovate-prod

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

@swiatekm

Copy link
Copy Markdown
Member

@ycombinator I think we might want to ignore this:

github.com/elastic/fleet-server/v7 v7.0.0-00010101000000-000000000000 → v7.17.29

swiatekm and others added 3 commits August 13, 2026 13:04
…update

Renovate was updating github.com/elastic/fleet-server/v7 in testing/go.mod
from v7.0.0-00010101000000-000000000000 to v7.17.29, but this is a
self-referential dependency that is already replaced via a replace directive
pointing to the local repo root. Add an ignoreDeps entry to renovate.json
so this never gets picked up again.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
go fix in Go 1.26 converts string JSON fields with time semantics to
time.Time. Update all code that was assigning strings to these fields
or comparing them against empty strings.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
After go fix converted model time fields from string to time.Time,
update TestEventToActionResult to compare time.Time values directly,
and guard CreatedAt formatting in convertActions to emit empty string
for zero-value timestamps (preserving existing API contract).

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@github-actions

This comment has been minimized.

@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

TL;DR

Buildkite E2E failed due to a 30-minute timeout while waiting for Fleet to report online in TestAgentContainerSuite/TestDockerAgent, not a compile/regression error. Immediate action is to retry the failed Buildkite job and treat this as flaky infra/test behavior unless it reproduces consistently.

Remediation

Investigation details

Root Cause

This failure is a test timeout / infrastructure-flaky pattern in E2E. The failing stack is blocked in:

  • testing/e2e/scaffold/scaffold.go:294-297 (NewFleetIsOnline waiting until context done)
  • testing/e2e/agent_container_test.go:99 (FleetIsHealthy)
  • testing/e2e/agent_container_test.go:357 (TestDockerAgent)

The package then exits at exactly 1800s (FAIL ... testing/e2e 1800.058s), matching Go test timeout behavior rather than deterministic assertion/compile failure.

Evidence

github.com/elastic/fleet-server/testing/e2e/scaffold.(*Scaffold).NewFleetIsOnline
.../testing/e2e/scaffold/scaffold.go:294
.../testing/e2e/agent_container_test.go:99
.../testing/e2e/agent_container_test.go:357
FAIL github.com/elastic/fleet-server/testing/e2e 1800.058s

Verification

  • Not run locally in this workflow (analysis from Buildkite failure artifacts and PR diff/comments).

Follow-up

  • There is an existing open flaky-test tracker for this exact test: TestAgentContainerSuite/TestDockerAgent #5627 (TestAgentContainerSuite/TestDockerAgent).
  • Recent detective comments on this PR covered prior check-ci compile failures; this build failure is a different mode (E2E timeout).

What is this? | From workflow: PR Buildkite Detective

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

Fix all 58 golangci-lint issues introduced by the elastic dependency
update, spanning errcheck (type assertions in testify mocks and monitor
options), staticcheck (De Morgan's law, fmt.Fprintf, embedded field
selectors, tagged switch), gosec (G101/G115/G117/G602 false positives),
noctx (net.Dial/Listen/httptest.NewRequest without context), prealloc,
misspell, nolintlint (stale directives), and gocheckcompilerdirectives
(go:fix inline is a valid Go 1.26 directive).

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

Labels

automation backport-skip Skip notification from the automated backport with mergify dependency skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant