Skip to content

chore: bump nats.go to v1.53.1 in common-lib and services - #411

Merged
prakash100198 merged 1 commit into
developfrom
nats-version-upgrade
Nov 13, 2026
Merged

prakash100198 merged 1 commit into
developfrom
nats-version-upgrade

Conversation

@prakash100198

@prakash100198 prakash100198 commented Nov 4, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fixes: https://github.com/devtron-labs/sprint-tasks/issues/2993

Bumps nats.go v1.42.0/v1.43.0 → v1.53.1 in common-lib and in every service that uses NATS: ci-runner, git-sensor, image-scanner, kubelink, kubewatch and lens. Each module is re-vendored. nkeys moves to v0.4.15 and klauspost/compress to v1.18.5. No code changes.

This is part of the NATS server upgrade from 2.9.3 to 2.14.9 (chart PRs below). NATS says existing clients keep working with newer servers, so this PR keeps the clients current rather than unblocking the server.

  • v1.53.1 is the newest release on Go 1.25, so no go directive or Dockerfile change is needed. v1.54 and later need Go 1.26.
  • Each service bumps nats.go directly, so it does not need a new common-lib pseudo-version. When a service next picks up common-lib, common-lib already requires v1.53.1.

How Has This Been Tested?

  • pubsub-lib, vendored nats.go and every package that uses them compile in all 7 modules (for kubewatch: pkg/pubsub plus the shared NATS code)
  • pubsub-lib tests compile
  • E2E (details in the chart PR): pubsub-lib on v1.53.1 against nats-server 2.14.9 handles a store upgraded from 2.9.3 and a publish/subscribe roundtrip, and UpdateStream/UpdateConsumer pass under strict mode; 24/24 checks pass

Checklist:

  • The title of the PR states what changed and the related issues number (used for the release note).
  • Does this PR requires documentation updates?
  • I've updated documentation as required by this PR.
  • I have performed a self-review of my own code.
  • I have commented my code, particularly in hard-to-understand areas.
  • I have tested it for all user roles.
  • I have added all the required unit/api test cases.

Does this PR introduce a user-facing change?

Related PRs

🤖 Generated with Claude Code

Bumps nats.go (v1.42.0/v1.43.0 -> v1.53.1) in common-lib, ci-runner,
git-sensor, image-scanner, kubelink, kubewatch and lens, re-vendored.
Also moves nkeys to v0.4.15 and klauspost/compress to v1.18.5.
v1.53.1 is the newest release that still targets Go 1.25.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@prakash100198
prakash100198 merged commit 4a0f7ce into develop Nov 13, 2026
4 of 5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants