Skip to content

Get us off of pinned versions of old packages#1815

Draft
djeebus wants to merge 2 commits intomainfrom
fix-loki
Draft

Get us off of pinned versions of old packages#1815
djeebus wants to merge 2 commits intomainfrom
fix-loki

Conversation

@djeebus
Copy link
Contributor

@djeebus djeebus commented Jan 29, 2026

Note

Medium Risk
Large Go dependency refresh (notably loki major-version path changes plus k8s/prometheus/opentelemetry upgrades) may introduce build/runtime incompatibilities despite minimal direct code changes.

Overview
Updates the packages/api module to drop several pinned/excluded dependency overrides and instead perform a broad dependency upgrade across logging/metrics (github.com/grafana/loki to loki/v3, Prometheus, OpenTelemetry), k8s libs, and various infra/SDK packages, with corresponding go.sum refresh.

Adjusts code to the new Loki import path in resources_local.go, and makes the Makefile tidy target run the dependency integrity script quietly (prefixed with @).

Written by Cursor Bugbot for commit 46827c8. This will update automatically on new commits. Configure here.

@ValentaTomas
Copy link
Member

I think the pin was originally there to fix some dependency collision/incompatiblity—it stopped being a problem? :D

@dobrac
Copy link
Contributor

dobrac commented Jan 29, 2026

I think the pin was originally there to fix some dependency collision/incompatiblity—it stopped being a problem? :D

We're using Loki v2 and afaik, the Go client v3 is not compatible with it.

@djeebus djeebus mentioned this pull request Jan 30, 2026
@ValentaTomas
Copy link
Member

Note that Loki 3.0 defaults to using the v13 schema. All of the latest features are built against TSDB and the v13 Schema. This version of the schema is compatible with both Loki 2.9.x and Loki 3.0. The main change is to add support for Structured Metadata which is used by the new OTLP native endpoint and is enabled by default.

I see, so we are waiting for this switch of schema too?

@jakubno jakubno marked this pull request as draft January 31, 2026 06:00
@jakubno
Copy link
Member

jakubno commented Jan 31, 2026

Converting to draft until Loki v3 is merged

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.

5 participants