Skip to content

chore(deps): update github.com/elastic/go-json-schema-generate digest to c708d18 (main) - #7684

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

chore(deps): update github.com/elastic/go-json-schema-generate digest to c708d18 (main)#7684
elastic-renovate-prod[bot] wants to merge 1 commit 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/go-json-schema-generate indirect digest ec19b88c708d18

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.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • 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.

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