• 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: SELECT
CHANGE BRANCH
x
Sync Branches
  • No branch selected
  • annafry/fix-alias-setting
  • bundle-constants-with-proxy-code
  • develop
  • 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
28968240162 mcrenshaw/migrate-packagestest Merge 1220a5e74 into 487d9e7cf Pull #14 08 Jul 2026 07:01PM UTC web-flow github
59.1
28963230673 mcrenshaw/migrate-packagestest Merge eb7c968ab into 487d9e7cf Pull #14 08 Jul 2026 05:40PM UTC web-flow github
49.85
28963034124 mcrenshaw/migrate-packagestest Merge 3a682e628 into 487d9e7cf Pull #14 08 Jul 2026 05:37PM UTC web-flow github
49.85
14385137822 develop fix for aliased type (#13) push 10 Apr 2025 04:06PM UTC web-flow github
50.56
14384793748 annafry/fix-alias-setting Merge cdf71517f into c33afc22a Pull #13 10 Apr 2025 03:49PM 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
14368045602 srivabhi-update-dependencies Merge 109004808 into 93c7784ce Pull #12 09 Apr 2025 10:20PM UTC web-flow github
50.67
14367957180 srivabhi-update-dependencies Merge cc7f6c7ef into 93c7784ce Pull #12 09 Apr 2025 10:14PM 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
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