• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

block / mysql / 34064570862
85%
master: 85%

Build:
Build:
LAST BUILD BRANCH: feat/always-reject-read-only
DEFAULT BRANCH: master
Ran 06 Sep 2026 10:39PM UTC
Jobs 5
Files 21
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

06 Sep 2026 10:37PM UTC coverage: 84.575% (+0.2%) from 84.391%
34064570862

Pull #4

github

morgo
rds: exclude GovCloud, clone the pool, match case-insensitively

Three fixes from review, each with a test that fails without it:

GovCloud RDS endpoints are ordinary <name>.<hash>.us-gov-<region>.rds.
amazonaws.com names, so the suffix check accepted them — but the embedded
bundle has 121 commercial roots and zero GovCloud ones. Auto-TLS would have
turned a GovCloud connection that works today in plaintext into a failing
handshake with an x509 error naming none of this: the same confusing failure
the leading dot in rdsAddr exists to avoid, reached from the other direction.
Excluded, with RDSTLSConfig as the documented path.

RDSTLSConfig's doc invites callers to modify the returned config, but every
call shared one *x509.CertPool, which has no copy-on-write. One caller
following that advice widened trust for every RDS connection in the process,
and raced with in-flight handshakes reading the pool. Clone it — a shallow
index copy, cheap next to a handshake.

DNS is case-insensitive and nothing normalizes cfg.Addr, so a hostname
uppercased by a config file or a console copy-paste got no auto-TLS at all:
the silent-plaintext omission this file exists to prevent.

Also document that auto-TLS is a property of the address, not the DSN string,
so FormatDSN output carries no tls= and only reproduces the behaviour when
reopened with block-mysql.
Pull Request #4: Enable TLS automatically for Amazon RDS endpoints

37 of 37 new or added lines in 2 files covered. (100.0%)

3575 of 4227 relevant lines covered (84.58%)

331445.44 hits per line

Jobs
ID Job ID Ran Files Coverage
1 Linux-Go-1.27-DB-8.4 - 34064570862.1 06 Sep 2026 10:39PM UTC 21
81.72
GitHub Action Run
2 Linux-Go-1.27-DB-8.0 - 34064570862.2 06 Sep 2026 10:39PM UTC 21
81.75
GitHub Action Run
3 Linux-Go-1.27-DB-9.7 - 34064570862.3 06 Sep 2026 10:39PM UTC 21
81.72
GitHub Action Run
4 Linux-Go-1.26-DB-9.7 - 34064570862.4 06 Sep 2026 10:39PM UTC 21
82.92
GitHub Action Run
5 Linux-Go-1.25-DB-9.7 - 34064570862.5 06 Sep 2026 10:39PM UTC 21
82.78
GitHub Action Run
Source Files on build 34064570862
  • Tree
  • List 21
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #4
  • PR Base - master (#34057418200)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc