Skip to content

deps: bump github.com/nats-io/nats.go from 1.51.0 to 1.52.0 in the go-deps group - #128

Closed
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go-deps-cf0fe96a81
Closed

deps: bump github.com/nats-io/nats.go from 1.51.0 to 1.52.0 in the go-deps group#128
dependabot[bot] wants to merge 1 commit into
mainfrom
dependabot/go_modules/go-deps-cf0fe96a81

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github May 13, 2026

Copy link
Copy Markdown
Contributor

Bumps the go-deps group with 1 update: github.com/nats-io/nats.go.

Updates github.com/nats-io/nats.go from 1.51.0 to 1.52.0

Release notes

Sourced from github.com/nats-io/nats.go's releases.

Release v1.52.0

Changelog

This release focuses on 2.14 nats-server features support.

ADDED

  • JetStream:
    • Added fast batch stream config field (#2052)
    • Added message scheduling headers and publish opts (#2051)
    • Updated StreamConfig with Consumer field and added AckFlowControlPolicy (#2070)
    • Added reset consumer API (#2069)

FIXED

  • Core NATS:
    • Fix Subscription.StatusChanged channel closure on Closed Subscription. Thanks @​nithimani38-prog for the contribution (#2034)

IMPROVED

  • Fixed Flaky JS cluster tests (#2062)

Complete Changes

nats-io/nats.go@v1.51.0...v1.52.0

Commits
  • e9f2a36 Release v1.52.0 (#2074)
  • 609274f [FIXED] Subscription.StatusChanged channel closure on Closed Subscription (#2...
  • f7cde74 [IMPROVED] Use latest release build for badge in README (#2064)
  • c7476ea [IMPROVED] Reject empty consumer info in CONSUMER.RESET response (#2072)
  • 8fde36f [ADDED] ResetConsumer JetStream API (#2069)
  • dcfd0fc [ADDED] StreamSource.Consumer config field and AckFlowControlPolicy (#2070)
  • 7a28503 [ADDED] Publish options and consts for message scheduling (#2051)
  • 6c91a51 [ADDED] AllowBatchPublish stream config field (#2052)
  • a614d0b [FIXED] Flaky JS cluster tests due to race in setupJSClusterWithSize (#2062)
  • See full diff in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore <dependency name> major version will close this group update PR and stop Dependabot creating any more for the specific dependency's major version (unless you unignore this specific dependency's major version or upgrade to it yourself)
  • @dependabot ignore <dependency name> minor version will close this group update PR and stop Dependabot creating any more for the specific dependency's minor version (unless you unignore this specific dependency's minor version or upgrade to it yourself)
  • @dependabot ignore <dependency name> will close this group update PR and stop Dependabot creating any more for the specific dependency (unless you unignore this specific dependency or upgrade to it yourself)
  • @dependabot unignore <dependency name> will remove all of the ignore conditions of the specified dependency
  • @dependabot unignore <dependency name> <ignore condition> will remove the ignore condition of the specified dependency and ignore conditions

Bumps the go-deps group with 1 update: [github.com/nats-io/nats.go](https://github.com/nats-io/nats.go).


Updates `github.com/nats-io/nats.go` from 1.51.0 to 1.52.0
- [Release notes](https://github.com/nats-io/nats.go/releases)
- [Commits](nats-io/nats.go@v1.51.0...v1.52.0)

---
updated-dependencies:
- dependency-name: github.com/nats-io/nats.go
  dependency-version: 1.52.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-deps
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels May 13, 2026
@github-actions github-actions Bot added area/infra CI, build, deploy, Docker, release and removed go Pull requests that update go code labels May 13, 2026
@github-actions

github-actions Bot commented May 13, 2026

Copy link
Copy Markdown

PR title doesn't match the required format

Got: deps: bump github.com/nats-io/nats.go from 1.51.0 to 1.52.0 in the go-deps group (length: 80)

Expected format: <type>(optional-scope)(optional-!): <lowercase subject, no trailing period> (max 72 chars — the title becomes the squash-merge commit subject)

Allowed types: feat, fix, docs, refactor, test, chore, ci, deps, build, perf, revert, style.

The optional ! before the colon marks a breaking change per Conventional Commits 1.0.0. The lowercase-first-letter rule is house style for log readability, not part of the spec.

Examples:

  • feat: add dedupe cache
  • fix(ingest): drop duplicate events
  • feat(api)!: remove deprecated endpoint
  • chore(deps): bump clickhouse-go to v2.30

This check is required by the main branch protection ruleset — merge is blocked until the title matches. Edit the PR title to trigger a re-check automatically. I'll clean up this comment once the title is valid.

@github-actions github-actions Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Auto-approved by dependabot-automerge workflow (version-update:semver-minor).

@github-actions
github-actions Bot enabled auto-merge (squash) May 13, 2026 11:08
@github-project-automation github-project-automation Bot moved this from Backlog to Ready in WaveHouse Task Board May 13, 2026
@dependabot @github

dependabot Bot commented on behalf of github May 13, 2026

Copy link
Copy Markdown
Contributor Author

Looks like github.com/nats-io/nats.go is updatable in another way, so this is no longer needed.

@dependabot dependabot Bot closed this May 13, 2026
auto-merge was automatically disabled May 13, 2026 15:19

Pull request was closed

@github-project-automation github-project-automation Bot moved this from Ready to Done in WaveHouse Task Board May 13, 2026
@dependabot
dependabot Bot deleted the dependabot/go_modules/go-deps-cf0fe96a81 branch May 13, 2026 15:19
EricAndrechek added a commit that referenced this pull request May 13, 2026
## Summary

Closes #130 (the title-length and admin-bypass halves; the go-mod-tidy
half is intentionally deferred — manual `make tidy && go mod tidy` after
a failing CI run is the accepted workflow).

`admin-approval.yml` previously short-circuited to `success` for **all**
Dependabot PRs, on the assumption that "no bot approves itself + no
auto-merge enabled = major bumps will sit." That assumption broke once
CodeRabbit started auto-approving Dependabot PRs after autofixes. PR
#127 (major-bump: TypeScript 5→6, Astro 5→6, etc.) reached
`mergeStateStatus: CLEAN, reviewDecision: APPROVED` — one click from
main — with no admin review:

- CodeRabbit's `APPROVED` review satisfied the ruleset's
`required_approving_review_count: 1`
- The unconditional bypass posted `Admin approval: success`
- CI was green

## Changes

### `admin-approval.yml`

- New `Fetch Dependabot metadata` step at the top, gated on Dependabot
author (`continue-on-error: true` so a metadata fetch failure on a
Dependabot PR fail-safes to "no bypass" rather than erroring the
workflow).
- Bypass logic now only fires when `update-type` is
`version-update:semver-patch` or `version-update:semver-minor`. Majors,
unknown types, and empty `UPDATE_TYPE` (metadata fetch failed) fall
through to the same admin-review evaluation as human PRs.
- Updated header comment + inline comments to explain the new model and
reference #130 / #127 as the trigger.

### `housekeeping.yml`

- PR title length check (72-char cap) now exempts Dependabot. Format
regex is still enforced; Dependabot's grouped-update titles already use
lowercase `deps:` / `ci:` / `docs:` prefixes, so they pass naturally.
Fixes the half of #130 about title-length blocking grouped bumps (e.g.,
#128's 80-char title).

### `AGENTS.md`

- Three passages updated to reflect "Dependabot patch/minor PRs bypass;
majors require admin review same as human PRs."
- New note in the Dependabot section explaining that
`required_approving_review_count: 0` in the ruleset is intentional — the
`Admin approval` status check is the single admin-review gate, so any
bot's `APPROVED` review is no longer load-bearing.

## Ruleset change (manual, after merge)

The workflow changes alone close the security hole (majors now post
`Admin approval: pending`, blocking merge). The ruleset count-rule
change is **defense-in-depth** — without it, CodeRabbit's approval can
still satisfy `count: 1` on a major bump even though the `Admin
approval` status is now correctly pending.

Easiest path is the GitHub UI: **Settings → Rules → main branch
protection (ruleset 15353356) → Require a pull request before merging →
set "Required approving reviews" to 0**. All other rule params should
stay unchanged — especially `dismiss_stale_reviews_on_push: true`,
`strict_required_status_checks_policy: true`, the required status checks
list, and the admin bypass actor.

(`gh api` works too but requires fetching the current ruleset, modifying
the `required_approving_review_count` field inside the `pull_request`
rule, and PUT-ing the full payload back. The UI is one click.)

## Behavior matrix after this PR (workflow only, before ruleset change)

| PR type | Title cap | Admin approval status | Count rule | Merges? |
|---|---|---|---|---|
| Dependabot patch | exempt | success (bypassed) | bot self-approval |
yes, auto |
| Dependabot minor | exempt | success (bypassed) | bot self-approval |
yes, auto |
| Dependabot major (no admin) | exempt | **pending** | CodeRabbit may
satisfy | **blocked** by status |
| Dependabot major (admin approved) | exempt | success | yes | yes,
manual |
| Human PR (no admin) | 72-char | pending | — | blocked |
| Human PR (admin approved) | 72-char | success | yes | yes, manual |

After the ruleset change (count → 0), the third row stays blocked
regardless of CodeRabbit's approval state, closing the defense-in-depth
gap.

## Test plan

- [ ] Once merged, next Monday's Dependabot patch/minor bumps auto-merge
as before (no regression on the auto-merge path).
- [ ] Open a draft test PR with an 80-char title to verify the title-cap
exemption only applies to Dependabot (i.e., human long-title still
fails).
- [ ] On the next major-version Dependabot PR: confirm `Admin approval`
status posts `pending` and the PR is blocked until an admin approves.
- [ ] Apply ruleset change (`count: 0`) and verify the same major PR
remains blocked even if CodeRabbit's review is `APPROVED`.

## Notes

- I considered also touching `housekeeping.yml`'s reviewer-assign
skip-for-Dependabot logic, but it's still correct:
`dependabot-automerge.yml` already assigns both admins on majors, so
housekeeping's skip avoids a double-request. Left as-is.
- The CodeRabbit dashboard switch (from `APPROVED` to `COMMENTED`) is
intentionally NOT part of this PR — it's a separate dashboard setting,
not a repo change.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->

## Summary by CodeRabbit

* **Chores**
* Refined automated dependency update workflows with improved approval
handling for different update types.
* Enhanced pull request validation to better support automated
dependency changes while maintaining code quality standards.
* Updated development governance documentation with clearer guidelines
and more explicit rules for approval processes and automation.

<!-- review_stack_entry_start -->

[![Review Change
Stack](https://storage.googleapis.com/coderabbit_public_assets/review-stack-in-coderabbit-ui.svg)](https://app.coderabbit.ai/change-stack/Wave-RF/WaveHouse/pull/134)

<!-- review_stack_entry_end -->

<!-- end of auto-generated comment: release notes by coderabbit.ai -->

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/infra CI, build, deploy, Docker, release dependencies Pull requests that update a dependency file

Projects

Archived in project

Development

Successfully merging this pull request may close these issues.

0 participants