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

clear-street / reinforcer
59%

Build:
DEFAULT BRANCH: develop
Repo Added 30 Jun 2023 07:26PM UTC
Token f8RyHXJqXbLJhysCz5MX054sXK9IBacDd regen
Build 35 Last
Files 25
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

LAST BUILD ON BRANCH develop
branch: develop
CHANGE BRANCH
x
Reset
Sync Branches
  • develop
  • annafry/fix-alias-setting
  • bundle-constants-with-proxy-code
  • generics
  • mcrenshaw/migrate-packagestest
  • sgtsquiggs-patch-1
  • srivabhi-update-dependencies
  • tshabtay/add-actionname-to-ctx
  • update-tools-versions
  • update-workflows
  • upgrade-go-tools

08 Jul 2026 09:06PM UTC coverage: 59.098% (+8.5%) from 50.561%
28975728178

push

github

web-flow
Migrate off deprecated packagestest, modernize for Go 1.26 (#14)

* Migrate off golang.org/x/tools/go/packages/packagestest

packagestest moved to an internal-only package as of x/tools v0.35.0
(golang/go#70229), so any future dependency bump would break the build.
Replace it with a small test helper that writes a real go.mod + fixture
files under t.TempDir() and drives packages.Load in module mode instead
of packagestest's GOPATH exporter.

Bump golang.org/x/tools to v0.47.0 to prove the migration holds against
the version where packagestest actually disappeared from the public API.

* Modernize codebase with go fix, narrow CI matrix to 1.25.x/1.26.x

Run go fix under a Go 1.26 toolchain to pick up automatic modernizations
gated by the module's go 1.25 floor: any -> interface{} replacement,
range-over-int, and the new go/types iterator methods (TypeParams,
Methods, Variables) in place of manual index loops. Also drop the
now-redundant loop-variable shadow copies go fix left behind, since
Go 1.22+ scopes loop variables per iteration.

Update the CI test matrix to match the go.mod floor raised by the
x/tools bump (dropping 1.21.x-1.23.x, adding 1.26.x for forward coverage).

* Regenerate stale example output

example/client/reinforced/*.go had drifted from its own source of truth:
still emitting interface{} instead of any (client.go already switched to
any in a prior commit), missing the context.WithValue call generateCommon
has added since, and missing the per-type Methods constant structs the
generator now inlines instead of writing to a shared file. Re-ran the
package's documented go:generate directive to bring it back in sync, and
removed reinforcer_constants.go, the now-obsolete shared file the current
generator no longer produces.

* Finish host-side loop modernization in method.go and retryable.go

These loops build jen.Code at generation time and never touch emitted
output, but they were the same C-style index-loop shape as the ones
converted i... (continued)

11 of 36 new or added lines in 8 files covered. (30.56%)

799 of 1352 relevant lines covered (59.1%)

6.06 hits per line

Relevant lines Covered
Build:
Build:
1352 RELEVANT LINES 799 COVERED LINES
6.06 HITS PER LINE
Source Files on develop
  • Tree
  • List 25
  • Changed 24
  • Source Changed 24
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
28975728178 develop Migrate off deprecated packagestest, modernize for Go 1.26 (#14) * Migrate off golang.org/x/tools/go/packages/packagestest packagestest moved to an internal-only package as of x/tools v0.35.0 (golang/go#70229), so any future dependency bump woul... push 08 Jul 2026 09:06PM UTC web-flow github
59.1
14385137822 develop fix for aliased type (#13) push 10 Apr 2025 04:06PM UTC web-flow github
50.56
14381265006 develop upgrade dependencies for reinforcer for golang 1.24 - mockery and tools (#12) * upgrade dependencies for reinforecer - mockery and tools * fix tests and lint push 10 Apr 2025 01:09PM UTC web-flow github
50.67
12637427206 develop Add action name to context (#10) * add action name to context * extract the const to the public package * add a key type push 06 Jan 2025 05:40PM UTC web-flow github
77.43
8195287141 develop Update release.yml (#9) Again trying to get release WF to upload release artifacts push 07 Mar 2024 09:53PM UTC web-flow github
77.41
8192771084 develop Update release.yml (#8) Adds contents:write permission push 07 Mar 2024 06:08PM UTC web-flow github
77.41
7836414045 develop move constants into proxy code file where they are used to prevent accidental overwriting (#6) * move constants into proxy code to avoid overwriting * update goreleaser config and release workflow * remove unused array * remove unused ty... push 08 Feb 2024 09:51PM UTC web-flow github
77.41
7836147829 develop update reinforcer dependencies (#7) push 08 Feb 2024 09:23PM UTC web-flow github
77.36
7731498877 develop Update workflows (#5) * update workflows * checkout before installing go push 31 Jan 2024 07:42PM UTC web-flow github
77.36
7730523457 develop Generics support (#4) * generics support * bump golangci-lint to 1.54 * address comments * ok i see why ElementsMatch push 31 Jan 2024 06:13PM UTC web-flow github
77.36
See All Builds (33)

Badge your Repo: reinforcer

We detected this repo isn’t badged! Grab the embed code to the right, add it to your repo to show off your code coverage, and when the badge is live hit the refresh button to remove this message.

Could not find badge in README.

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

Refresh
  • Settings
  • Repo on GitHub
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