Skip to content

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

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

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

Conversation

@elastic-renovate-prod

@elastic-renovate-prod elastic-renovate-prod Bot commented Aug 24, 2026

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Type Update Change
github.com/elastic/go-json-schema-generate indirect digest ec19b88c708d18
github.com/elastic/go-ucfg require patch v0.9.1v0.9.2

Release Notes

elastic/go-ucfg (github.com/elastic/go-ucfg)

v0.9.2

Compare Source

What's Changed

New Contributors

Full Changelog: elastic/go-ucfg@v0.9.1...v0.9.2


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 labels Aug 24, 2026
@elastic-renovate-prod
elastic-renovate-prod Bot requested a review from a team as a code owner August 24, 2026 21:41
@elastic-renovate-prod elastic-renovate-prod Bot added skip-changelog Team:Elastic-Agent-Control-Plane Label for the Agent Control Plane team labels Aug 24, 2026
@github-actions

This comment has been minimized.

@github-actions

Copy link
Copy Markdown
Contributor

TL;DR

check-ci fails at compile time after this Renovate bump because go generate (run by mage check:ci) uses dev-tools/go.mod and the newer go-json-schema-generate digest changes generated timestamp field types, which no longer match internal/pkg/model/ext.go.

Remediation

  • Update this PR to include the generator output and compatibility fixes in internal/pkg/model/ext.go (or pin github.com/elastic/go-json-schema-generate back to ec19b88 if that type change is not intended in this PR).
  • Re-run mage check:ci after the update.
Investigation details

Root Cause

mage check:ci runs Generate before Check.Fix (magefile.go:625-628), and generation is explicitly wired to dev-tools/go.mod (main.go:5).

This PR updates github.com/elastic/go-json-schema-generate in dev-tools/go.mod, so the generated model types differ from what internal/pkg/model/ext.go expects:

  • ext.go:15,25 call time.Parse(..., m.Timestamp) (expects string)
  • ext.go:20,30 assign t.Format(...) into m.Timestamp (expects string)
  • ext.go:57,70 assign RetiredAt: "" (expects string)

The Buildkite compile errors show those fields are generated as time.Time under this dependency version, producing type mismatches.

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; analysis is based on the provided Buildkite logs and PR diff.

Follow-up

No existing flaky-test issue matched this failure pattern (label:"flaky-test" + check-ci returned no hits), and this is not a flaky signature—it is a hard compile-time type mismatch.


What is this? | From workflow: PR Buildkite Detective

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

@elastic-renovate-prod
elastic-renovate-prod Bot force-pushed the renovate/main-golang/elastic branch from 579ec7e to 9cb261b Compare September 9, 2026 21:37
@elastic-renovate-prod elastic-renovate-prod Bot changed the title chore(deps): update github.com/elastic/go-json-schema-generate digest to c708d18 (main) chore(deps): update elastic (main) Sep 9, 2026
@github-actions github-actions Bot mentioned this pull request Sep 9, 2026
@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.

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.

0 participants