Skip to content

build(deps): bump the go-dependencies group across 1 directory with 5 updates - #1879

Merged
rdimitrov merged 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-b7018296a7
Nov 21, 2026
Merged

rdimitrov merged 1 commit into
mainfrom
dependabot/go_modules/go-dependencies-b7018296a7

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Nov 20, 2026

Copy link
Copy Markdown
Contributor

Bumps the go-dependencies group with 5 updates in the / directory:

Package From To
cloud.google.com/go/auth 0.24.1-0.20261001053825-dbc26066f70a 0.24.4
cloud.google.com/go/kms 1.36.1 1.37.0
github.com/jackc/pgx/v5 5.12.0 5.13.0
golang.org/x/mod 0.42.0 0.43.0
golang.org/x/text 0.43.0 0.44.0

Updates cloud.google.com/go/auth from 0.24.1-0.20261001053825-dbc26066f70a to 0.24.4

Release notes

Sourced from cloud.google.com/go/auth's releases.

auth: v0.24.4

0.24.4 (2026-11-09)

Bug Fixes

  • auth/grpctransport: Use TLS for DirectPath over Interconnect channels (#20771) (39436d1)
  • auth: Use JWT exp claim for ID token expiry (#20859) (726bdb3), refs #20839

auth: v0.24.3

0.24.3 (2026-11-05)

Bug Fixes

  • auth: Strip -fips suffix from AWS service name in SigV4 signer (#20805) (7a1474c)
Commits

Updates cloud.google.com/go/kms from 1.36.1 to 1.37.0

Release notes

Sourced from cloud.google.com/go/kms's releases.

cloudbuild: v1.37.0

1.37.0 (2026-11-05)

Features

discoveryengine: v1.37.0

1.37.0 (2026-11-05)

Features

kms: v1.37.0

1.37.0 (2026-11-09)

Features

Changelog

Sourced from cloud.google.com/go/kms's changelog.

1.37.0 (2025-04-30)

Features

  • documentai: Add image block and blob asset in Document proto (a95a0bf)
  • documentai: Added a field for enabling returning images and bounding boxes from layout parser processor (a95a0bf)
  • documentai: Added config options to enable image annotation (0fe3b60)
  • documentai: Added config options to enable table annotation and image extraction (#12070) (a6c85f6)
Commits
  • 8fe9ce5 chore: release main (#20861)
  • 9461af9 chore: bump gapic-generator-go version (#20876)
  • eab6a56 fix(bigtable): fix PreparedStatement plan refresh concurrency, locking, and e...
  • 3ded070 feat: update API sources and regenerate (#20873)
  • eb0053a fix(bigtable): return codes.Internal for ExecuteQuery validation errors and e...
  • f0eb1a4 chore(shopping): stop generating discontinued merchant v1beta APIs (#20838)
  • 7bae70f chore: update librarian version to v0.52.0 (#20872)
  • 1ddfb07 fix(storage): apply read stall timeout to initial stream open in MultiRangeDo...
  • 9e83e4c feat(storage): align metric names, units, and base labels (#20796)
  • 69a9ad3 feat(storage): add default buffer pool for gRPC parallel uploads (#20719)
  • Additional commits viewable in compare view

Updates github.com/jackc/pgx/v5 from 5.12.0 to 5.13.0

Changelog

Sourced from github.com/jackc/pgx/v5's changelog.

5.13.0 (November 11, 2026)

This release adds automatic client certificate reloading and temporal precision metadata for database/sql. It also fixes a panic on malformed server responses, unsafe retries after connection failures, and range encoding. See Changes for client certificate configuration behavior that may affect existing applications.

Security Fixes

  • Panic in Rows.Values on malformed server responses (GHSA-w9rp-vfrh-q8vv). A server response containing fewer row values than declared fields could cause an index-out-of-range panic in Rows.Values. It now returns an error and closes the rows when the counts differ, including when there are extra values, matching Rows.Scan validation.

Features

  • pgconn: reload client certificates and keys configured through sslcert and sslkey for each TLS certificate request, allowing new connections to pick up rotated credentials without recreating the configuration or restarting the application. Files are still validated during configuration parsing. Relative paths retain their parse-time directory, and reloads follow symlinks (Erin Shepherd)
  • stdlib: expose fractional seconds precision for timestamp, timestamptz, time, timetz, and interval through ColumnTypePrecisionScale and database/sql.ColumnType.DecimalSize. These return precision 0, the fractional seconds precision as scale, and ok=true. The scale defaults to 6 when no fractional seconds precision is declared; precision 0 means numeric precision is not applicable (Danny Xu)

Changes

  • pgconn: file-backed client certificates are no longer stored in the parsed TLSConfig.Certificates slice. Setting TLSConfig.Certificates (including a non-nil empty slice) or TLSConfig.GetClientCertificate overrides automatic reloading. Replacing TLSConfig, including with a direct TLSConfig.Clone, discards the file-backed certificate settings; use pgconn.Config.Copy to preserve them when copying a configuration. Certificate and key files must remain readable for subsequent TLS certificate requests. Encrypted keys reuse the password resolved during configuration parsing; GetSSLPassword is not called again on reload.

Bug Fixes

  • pgconn: do not mark a connection-closed error encountered while receiving a response as safe to retry, since the request may already have reached the server. This prevents database/sql from automatically repeating a statement that may already have executed. The error still supports errors.Is(err, pgconn.ErrConnClosed) (Aayush Shah)
  • pgconn: skip sending a cancel request when a connection fails during startup, avoiding an unnecessary second connection attempt (felipe stival)
  • pgconn: accept unencrypted combined certificate/key PEM files with the certificate before the key, as well as key-first files (Erin Shepherd)
  • pgtype: encode Range[any] values returned by RangeCodec.DecodeValue and Rows.Values in both binary and text formats, allowing decoded ranges and multiranges to be reused as query arguments or in CopyFrom (waw666waw666)
  • stdlib: report ok=false for the precision and scale of unconstrained numeric columns instead of bogus values (Danny Xu)
  • stdlib: report math.MaxInt64 for the lengths of unconstrained varchar, bpchar, and varbit columns instead of negative lengths (PerryLink)

... (truncated)

Commits
  • 1e38d71 Update changelog for v5.13.0
  • e2bb010 Fix Rows.Values panic on mismatched field counts
  • 5b0fd94 Merge pull request #2709 from waw666waw666/fix-range-any-encode
  • 427f50d Merge pull request #2715 from v0idpwn/pgconn-no-cancel-on-failed-connect
  • 86b4411 Merge pull request #2713 from ksamirdev/fix-append-rows-by-name-bench
  • a3b88dc Merge pull request #2714 from PerryLink/stdlib-column-type-length-unbounded
  • 2f429e5 Merge pull request #2710 from dajiaohuang/codex/2705-pingtimeout-docs
  • 85c3e62 stdlib: close rows in precision and scale test
  • 4f41feb stdlib: clarify zero precision for temporal types
  • 22ccfd1 stdlib: document temporal precision and scale metadata
  • Additional commits viewable in compare view

Updates golang.org/x/mod from 0.42.0 to 0.43.0

Commits

Updates golang.org/x/text from 0.43.0 to 0.44.0

Commits
  • 6070ac3 go.mod: update golang.org/x dependencies
  • 972f268 language: count '_' alongside '-' in ParseAcceptLanguage guard
  • 367ce9e internal/export/idna: avoid excessive work in Punycode encoding
  • See full diff in compare view

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

… updates

Bumps the go-dependencies group with 5 updates in the / directory:

| Package | From | To |
| --- | --- | --- |
| [cloud.google.com/go/auth](https://github.com/googleapis/google-cloud-go) | `0.24.1-0.20261001053825-dbc26066f70a` | `0.24.4` |
| [cloud.google.com/go/kms](https://github.com/googleapis/google-cloud-go) | `1.36.1` | `1.37.0` |
| [github.com/jackc/pgx/v5](https://github.com/jackc/pgx) | `5.12.0` | `5.13.0` |
| [golang.org/x/mod](https://github.com/golang/mod) | `0.42.0` | `0.43.0` |
| [golang.org/x/text](https://github.com/golang/text) | `0.43.0` | `0.44.0` |



Updates `cloud.google.com/go/auth` from 0.24.1-0.20261001053825-dbc26066f70a to 0.24.4
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/CHANGES.md)
- [Commits](https://github.com/googleapis/google-cloud-go/commits/auth/v0.24.4)

Updates `cloud.google.com/go/kms` from 1.36.1 to 1.37.0
- [Release notes](https://github.com/googleapis/google-cloud-go/releases)
- [Changelog](https://github.com/googleapis/google-cloud-go/blob/main/documentai/CHANGES.md)
- [Commits](googleapis/google-cloud-go@dlp/v1.36.1...kms/v1.37.0)

Updates `github.com/jackc/pgx/v5` from 5.12.0 to 5.13.0
- [Release notes](https://github.com/jackc/pgx/releases)
- [Changelog](https://github.com/jackc/pgx/blob/master/CHANGELOG.md)
- [Commits](jackc/pgx@v5.12.0...v5.13.0)

Updates `golang.org/x/mod` from 0.42.0 to 0.43.0
- [Commits](golang/mod@v0.42.0...v0.43.0)

Updates `golang.org/x/text` from 0.43.0 to 0.44.0
- [Release notes](https://github.com/golang/text/releases)
- [Commits](golang/text@v0.43.0...v0.44.0)

---
updated-dependencies:
- dependency-name: cloud.google.com/go/auth
  dependency-version: 0.24.4
  dependency-type: direct:production
  update-type: version-update:semver-patch
  dependency-group: go-dependencies
- dependency-name: cloud.google.com/go/kms
  dependency-version: 1.37.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: github.com/jackc/pgx/v5
  dependency-version: 5.13.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: golang.org/x/mod
  dependency-version: 0.43.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
- dependency-name: golang.org/x/text
  dependency-version: 0.44.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
  dependency-group: go-dependencies
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file go Pull requests that update go code labels Nov 20, 2026
@rdimitrov
rdimitrov merged commit 2d4889e into main Nov 21, 2026
5 checks passed
@rdimitrov
rdimitrov deleted the dependabot/go_modules/go-dependencies-b7018296a7 branch November 21, 2026 22:50
rdimitrov added a commit that referenced this pull request Nov 22, 2026
#1891)

## What

Three lines in `deploy/Pulumi.gcpProd.yaml`:

- `imageTag` 1.8.11 → 1.8.12, and `registryRolloutCommit` to that
release's commit.
- `mcp-registry:malwareSweep: "true"`.

**Merging this deploys to production.**

## What the deploy will do

1. **Roll the registry to 1.8.12.** Beyond 1.8.11 the registry image
carries two changes:
- #1889: the publish-time malware check and the refusal of npm dist-tags
as package versions.
   - #1879: a bump of five Go dependencies.
2. **Move the usage collector to its 1.8.12 image.** It follows
`imageTag`. Its code is unchanged since 1.8.11; it is rebuilt with the
same dependency bump.
3. **Create one CronJob, `registry-malware-sweep`, in `default`.** It
runs the registry's own image with `-malware-sweep` daily at 03:40 UTC.
It has no Secret, database role or service account. It reads the listing
from the `mcp-registry` Service and sends package names and versions to
`api.osv.dev`.

The infrastructure code in between was already applied to production by
hand at cb2710c, so nothing else is pending.

## What changes for publishers

- **Malware matches are logged, not refused.**
`mcp-registry:malwareCheckMode` is not set, so the check runs in report
mode. A publish or edit that names a package OSV lists as malware goes
through, and is logged as `REGISTRY_MALWARE_PUBLISH_MATCH
action=allowed`.
- **npm dist-tags are refused from this deploy on.** A publish whose npm
package `version` is a tag such as `next` gets a `400` naming the
version to use. `latest` was already refused, and no production entry
names any other tag.
- **A publish with an npm, PyPI, NuGet or Cargo package takes about 0.3
seconds longer**, 2 seconds at most, for the OSV call. If OSV does not
answer, the publish goes ahead.

## What the sweep does

It only reports. It never changes an entry. A match is written to its
log as `REGISTRY_MALWARE_SWEEP_HIT`; taking the entry down stays a
maintainer's decision.

## Evidence from staging

Staging has run this build since 02:04 UTC on 2026-11-22.

- **Registry:** no warnings or errors in its log. Its pod was replaced
once, at 06:02 UTC, by the weekly staging database restore.
- **Sweep, twice:** by hand at 02:06 UTC and on schedule at 03:40 UTC.
Each read 255,401 server versions in about 3 minutes, using about 100
MiB. Both reported the one entry in staging's data that pointed at a
known-malware release, which production had already taken down.
- **Load during the scheduled sweep:** the registry pod averaged at most
0.18 CPU in any minute, and Postgres 0.14 CPU, for about two minutes.
Production's two registry pods were at 40% of their CPU request against
a 60% autoscaling target when last read.
- **Publish check in the cluster:** a publish naming the known-malware
release was logged as allowed, and a re-publish of an existing clean
version passed validation. Neither stored anything.

## Not checked

- **No preview of this change.** The production workflow previews `main`
only. What the deploy will do is read from the code and from staging's
deploy of the same code.
- **No organic publish traffic in staging.** Real publishes meet the
check for the first time in production, in report mode.
- **The 1.8.12 release image has not run anywhere.** Staging runs the
`main` build of the same commit.

## After the deploy

1. Create the alerts first. They go to an email address through Cloud
Monitoring and never to Discord. Until they exist, matches are only in
the logs:
   ```bash
   python3 tools/admin/configure-malware-alerts.py \
--project mcp-registry-prod --cluster mcp-registry-prod --email
YOUR_EMAIL --dry-run
   # Review, then rerun without --dry-run.
   ```
2. Then run the sweep once and read its log. It should end with
`REGISTRY_MALWARE_SWEEP_SUCCESS`:
   ```bash
kubectl -n default create job --from=cronjob/registry-malware-sweep
registry-malware-sweep-manual
kubectl -n default logs -l job-name=registry-malware-sweep-manual
--tail=-1 --prefix
   ```
The alerts come first because the "sweep missing" alert counts only
sweeps that finish after it was created. It may fire once in the minutes
between the two steps and close when the sweep finishes.
3. Fired alerts can be read without email:
   ```bash
curl -s -H "Authorization: Bearer $(gcloud auth print-access-token)" \

"https://monitoring.googleapis.com/v3/projects/mcp-registry-prod/alerts?pageSize=50"
\
| jq -r '.alerts[]? | select(.policy.displayName | test("malware"; "i"))
| "\(.openTime) \(.state) \(.policy.displayName)"'
   ```
4. `deploy/README.md` still says the sweep is not on in production and
has not been timed in a cluster. That needs a follow-up.

## To undo

- Sweep: remove `mcp-registry:malwareSweep`. The CronJob is deleted.
- Publish check: set `mcp-registry:malwareCheckMode: off`.
- Everything: set `imageTag` back to 1.8.11.

Co-authored-by: Copilot App <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file go Pull requests that update go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant