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

JeremyLoy / config / 38209625090
97%

Build:
DEFAULT BRANCH: master
Ran 12 Oct 2026 05:50AM UTC
Jobs 1
Files 4
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

12 Oct 2026 05:49AM UTC coverage: 97.143% (-0.3%) from 97.419%
38209625090

push

github

web-flow
feat: return a typed *config.Error with per-field causes (#17)

* feat: return a typed *config.Error with per-field causes

To and Sub now return *config.Error, which lists a *FieldError per failed
field or source, sorted by key. Error() is unchanged, so existing output and
string comparisons keep working.

- Error.Unwrap() []error and FieldError.Unwrap() expose causes to errors.Is
  and errors.AsType: fs.ErrNotExist / *fs.PathError for files,
  strconv.ErrSyntax / strconv.ErrRange for numbers and bools,
  ErrUnsupportedType for fields that cannot be configured, and
  ErrInvalidValue otherwise.
- Causes are sanitized so they never contain the configured value, keeping
  the existing guarantee that errors are safe to log.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NUxivLjodSESTkzRtdQ4CP

* chore: require Go 1.27 and modernize (#16)

* chore: require Go 1.26 and modernize

Go supports the two most recent releases (1.26 and 1.27), so raise the
go directive from 1.16 to 1.26.

- go fix: interface{} -> any, reflect.Ptr -> reflect.Pointer, maps.Copy,
  range-over-int, drop per-iteration `tt := tt` copies (1.22 semantics)
- strings.Cut in stringsToMap (resolves the 1.18 TODO)
- slices.Sort instead of sort.Strings
- reflect.TypeFor for the time.Duration and *url.URL checks instead of
  comparing PkgPath/Name strings
- reflect.Value.Fields iterator and StructField.IsExported in mapKeysToFields
- new(expr) replaces the func() interface{} { v := x; return &v }() test helpers
- t.Setenv / t.TempDir in Test_Api, which no longer clears the whole
  environment for later tests

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01NUxivLjodSESTkzRtdQ4CP

* chore: require Go 1.27

Raise the go directive to 1.27.0 so generic methods (Go 1.27) can be used.

CI: replace the oldstable/stable matrix with "minimum" (the version in
go.mod, via go-version-file) an... (continued)

37 of 40 new or added lines in 4 files covered. (92.5%)

1 existing line in 1 file now uncovered.

170 of 175 relevant lines covered (97.14%)

35.16 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
94.44
0.0% api.go
1
93.75
errors.go
1
98.02
0.1% util.go

Coverage Regressions

Lines Coverage ∆ File
1
94.44
0.0% api.go
Jobs
ID Job ID Ran Files Coverage
1 38209625090.1 12 Oct 2026 05:50AM UTC 4
97.14
GitHub Action Run
Source Files on build 38209625090
  • Tree
  • List 4
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 2310c04c on github
  • Prev Build on master (#38209053431)
  • Next Build on master (#38260157371)
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