Skip to content

Backport Sobek update to v1.x - #6280

Merged
mstoykov merged 3 commits into
v1.xfrom
backport/sobek-v1.x
Aug 13, 2026
Merged

mstoykov merged 3 commits into
v1.xfrom
backport/sobek-v1.x

Conversation

@mstoykov

@mstoykov mstoykov commented Aug 12, 2026 •

Copy link
Copy Markdown
Contributor

What

Backport the Sobek dependency update from master to v1.x.

Changes

  • Update github.com/grafana/sobek to v0.0.0-20260727154728-7781506a890f.
  • Update transitive dependencies, including regexp2 v2 and semver v3.5.0.
  • Refresh go.sum and the vendored dependencies.
  • Update the invalid semver constraint test expectation to match semver v3.5.0.

Additional update required

Sobek now requires Masterminds/semver v3.5.0. That version quotes invalid constraint values in error messages, so the v1.x test expectation also needs to be updated from improper constraint: +1.4.0 to improper constraint: "+1.4.0". This matches the change already made on master in df94e5d.

Verification

  • go test -mod=vendor ./internal/js ./lib/netext/httpext
  • go test ./internal/cmd -run "^TestProcessUseDirectives$/constraint_bad_format$" -count=1

The previously failing constraint-format test now passes.

@mstoykov
mstoykov requested a review from a team as a code owner August 12, 2026 09:51
@mstoykov
mstoykov requested review from inancgumus and joanlopez and removed request for a team August 12, 2026 09:51
@mstoykov
mstoykov temporarily deployed to azure-trusted-signing August 12, 2026 09:57 — with GitHub Actions Inactive
@mstoykov
mstoykov temporarily deployed to azure-trusted-signing August 12, 2026 10:04 — with GitHub Actions Inactive
@mstoykov
mstoykov temporarily deployed to azure-trusted-signing August 12, 2026 10:05 — with GitHub Actions Inactive
Masterminds/semver v3.5.0 changed the error message for invalid
constraints to quote the constraint value (e.g. `"+1.4.0"` instead
of `+1.4.0`). Update the test to match the new format.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@mstoykov
mstoykov temporarily deployed to azure-trusted-signing August 12, 2026 12:54 — with GitHub Actions Inactive
@mstoykov
mstoykov temporarily deployed to azure-trusted-signing August 12, 2026 12:56 — with GitHub Actions Inactive
@mstoykov
mstoykov merged commit bee2bec into v1.x Aug 13, 2026
59 of 60 checks passed
@mstoykov
mstoykov deleted the backport/sobek-v1.x branch August 13, 2026 08:38

This branch was previously deployed

1 inactive deployment
azure-trusted-signing — ff20a101 Deployed Aug 12, 2026 by mstoykov via sign-packages #10328
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants