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

go-playground / validator / 40600899027
73%
v8: 100%

Build:
Build:
LAST BUILD BRANCH: fix/duration-translations
DEFAULT BRANCH: v8
Ran 27 Oct 2026 11:16PM UTC
Jobs 1
Files 36
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

27 Oct 2026 11:15PM UTC coverage: 72.569%. Remained the same
40600899027

push

github

web-flow
fix: reject ULIDs outside the 128-bit range (#1660)

## Reject out-of-range ULID strings

The `ulid` tag currently accepts 26-character Base32 strings starting
with `8` or a letter, although the [ULID
specification](https://github.com/ulid/spec#overflow-errors-when-parsing-base32-strings)
limits the largest value to `7ZZZZZZZZZZZZZZZZZZZZZZZZZ`. Restrict the
first character to `0`–`7` and retain the existing case-insensitive
Crockford alphabet for the remaining characters.

The regression exercises `Validate.Var` and `Validate.Struct` across the
first-character alphabet, minimum/maximum values, case variants, length
boundaries and excluded letters. It fails against the original
implementation and passes with the change. Full `go test -race -count=1
-cover ./...`, `go vet ./...`, golangci-lint v2.13.1, formatting and
diff checks passed locally on Go 1.26.4/macOS; other Go versions and
platforms were not run locally.

- [x] Tests exist or have been written that cover this particular
change.

AI-assisted contribution: investigation, implementation, tests and this
description were produced with OpenAI GPT-6.1-Sol through Hermes.

---------

Signed-off-by: sergioperezcheco <checo520@outlook.com>
Co-authored-by: OpenAI GPT-6.1-Sol <noreply@openai.com>

15013 of 20688 relevant lines covered (72.57%)

90.16 hits per line

Jobs
ID Job ID Ran Files Coverage
1 40600899027.1 27 Oct 2026 11:16PM UTC 36
72.57
GitHub Action Run
Source Files on build 40600899027
  • Tree
  • List 36
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 0f885d25 on github
  • Prev Build on master (#40376692636)
  • Next Build on master (#40776322458)
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