Skip to content

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

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

chore(deps): update elastic (main)#7603
elastic-renovate-prod[bot] wants to merge 2 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

Copy link
Copy Markdown
Contributor

TL;DR

check:ci fails at Check.Fix because internal/pkg/model/ext.go is compiled against a generated model where timestamp fields are time.Time, but ext.go still treats them as strings. This is introduced by the Renovate artifact bump in dev-tools/go.mod (not by the elastic-agent-libs/go-elasticsearch bumps themselves).

Remediation

  • Revert/pin github.com/elastic/go-json-schema-generate in dev-tools/go.mod from v0.0.0-20220519132038-c708d18d6ca2 back to v0.0.0-20220323152209-ec19b88f6b5e (and update dev-tools/go.sum accordingly), then rerun CI.
  • If you do want to keep the newer generator, regenerate and update internal/pkg/model/ext.go (and related tests) to use time.Time fields directly, then rerun mage check:ci.
Investigation details

Root Cause

mage check:ci runs generation before fix (magefile.go Check.Ci, lines 625-627), then runs go fix ./... across root and testing (magefile.go Check.Fix, lines 640-656).

In this PR, Renovate updated toolchain artifacts in dev-tools/go.mod, including:

  • github.com/elastic/go-json-schema-generate ec19b88 -> c708d18 (dev-tools/go.mod in PR diff)

The failing compile errors are in internal/pkg/model/ext.go where code assumes string timestamps (e.g. time.Parse(..., m.Timestamp) and m.Timestamp = t.Format(...)) and string RetiredAt values, but the compiled struct fields are time.Time.

Evidence

internal/pkg/model/ext.go:15:38: cannot use m.Timestamp (variable of struct type time.Time) as string value in argument to time.Parse
internal/pkg/model/ext.go:20:16: cannot use t.Format(time.RFC3339Nano) (value of type string) as time.Time value in assignment
internal/pkg/model/ext.go:57:15: cannot use "" (untyped string constant) as time.Time value in struct literal
Error: running "go fix ./..." failed with exit code 1

Verification

  • Not run locally in this workflow (read-only detective run).

Follow-up

A good long-term cleanup is to separate dev-tool dependency updates into their own PR so generator/version drift is isolated from runtime dependency bumps.


What is this? | From workflow: PR Buildkite Detective

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

@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

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