Skip to content

Update Go and UI deps - #19276

Merged
machine424 merged 2 commits into
prometheus:mainfrom
machine424:p314
Jul 28, 2026
Merged

machine424 merged 2 commits into
prometheus:mainfrom
machine424:p314

Conversation

@machine424

@machine424 machine424 commented Jul 27, 2026 •

Copy link
Copy Markdown
Member

Preparing for the 3.14 rc.

See the commits messages.

Which issue(s) does the PR fix:

Release notes for end users (ALL commits must be considered).

Reviewers should verify clarity and quality.

NONE

Comment thread scripts/npm-deps.sh Resolved
@machine424 machine424 changed the title Update Go and UI deps WIP: Update Go and UI deps Jul 27, 2026
@machine424 machine424 changed the title WIP: Update Go and UI deps WIP: Update Go and UI deps + Discovery/Hetzner change Jul 27, 2026
Comment thread discovery/hetzner/hcloud.go Resolved
@machine424
machine424 force-pushed the p314 branch 2 times, most recently from 9e0c5a2 to ef27c3c Compare July 27, 2026 17:24
@machine424 machine424 changed the title WIP: Update Go and UI deps + Discovery/Hetzner change Update Go and UI deps + Discovery/Hetzner change Jul 27, 2026
@machine424 machine424 changed the title Update Go and UI deps + Discovery/Hetzner change Update Go and UI deps Jul 28, 2026

@Nexucis Nexucis left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice !

Deps that require go >= 1.26 (consul/api, k8s.io/*) were kept at
their previous versions to maintain the go 1.25 directive.

Signed-off-by: Ayoub Mrini <[email protected]>
ALSO

ui: add pnpm dedupe to npm-deps update script

The move to pnpm (prometheus#18797) introduced strict dependency isolation.
When npm-check-updates bumps deps independently per workspace, pnpm
can resolve duplicate versions of the same package. This happened
with @codemirror/state (6.7.0 and 6.7.1) after running
`make update-npm-deps`, causing TypeScript build failures:

  src/lint/hybrid.ts(23,33): error TS2345:
    'import(".../@codemirror[email protected]/...").EditorState'
    is not assignable to
    'import(".../@codemirror[email protected]/...").EditorState'.
    Types have separate declarations of a private property 'flags'.

npm avoided this by hoisting into a flat node_modules. Add
`pnpm dedupe` after `pnpm install` to collapse compatible duplicates.

Signed-off-by: Ayoub Mrini <[email protected]>
@machine424
machine424 enabled auto-merge (rebase) July 28, 2026 09:01
@machine424
machine424 merged commit 444ab00 into prometheus:main Jul 28, 2026
37 checks passed
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