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

hyperledger / fabric-x-common / 32851836683
82%

Build:
DEFAULT BRANCH: main
Ran 25 Aug 2026 01:13PM UTC
Jobs 1
Files 197
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

25 Aug 2026 01:11PM UTC coverage: 81.592% (-0.8%) from 82.388%
32851836683

push

github

web-flow
Upgrade to Go 1.27.0 (#162)

#### Type of change

- Dependency update
- Improvement (improvement to code, performance, etc)

#### Description

- Bump the `go` directive to 1.27.0 and apply `go fix ./...`:
`reflect.Pointer`,
`reflect.TypeFor[T]()`, `reflect.Type.Fields()`, `strings.SplitSeq`,
`slices.Contains` /
`slices.Backward`, `maps.Copy`, `atomic.Int32` fields,
`sync.WaitGroup.Go`, range-over-int,
`any` over `interface{}`, and promoted embedded fields in composite
literals.
- Move golangci-lint to v2.13.1 and replace the deprecated gofumpt
`extra-rules` option with
  `extra.group-params`.
- Migrate mockery to v3.7.4: the seven `//go:generate mockery`
directives in
`core/policy/application.go` collapse into one bare directive plus a new
`.mockery.yml`, and
  `core/policy/mocks/` is regenerated with v3's testify template.
- `golang.org/x/crypto` becomes indirect — its only use was `sha3`, now
stdlib `crypto/sha3`.
- Restructure `computeGroupUpdate` in
`tools/configtxlator/update/update.go` to assign the
read/write sets before returning them, so that `gofmt` and `goimports`
agree on the file.
- Address the pre-existing lint findings the rewritten lines surfaced:
one checked
`mspId.(*identity)` assertion in `msp/identities.go` in place of four
unchecked ones, blanked
unused parameters, two doc comments, and two scoped `//nolint:gocognit`
on ported `viperutil`
  functions.
- Drop `protolator`'s `stringInSlice` helper for `slices.Contains` at
its nine call sites.
- Update `AGENTS.md` and the `development` / `tests` skills for Go 1.27
and the mockery change.

#### Additional details (Optional)

`go fix` is not idempotent under 1.27 — each pass can unlock further
rewrites — so it was run to
convergence.

Verified: `make lint` (asn1 + proto + golangci + license) reports 0
issues, `go test -race ./...`
passes 72 packages, `make tools` builds all three CLIs, and `make proto`
/ `make mocks` produce no
drift.

#### Related issues

- resolves #161

Signed-off-b... (continued)

164 of 171 new or added lines in 19 files covered. (95.91%)

4 existing lines in 4 files now uncovered.

13284 of 16281 relevant lines covered (81.59%)

0.82 hits per line

Uncovered Changes

Lines Coverage ∆ File
3
80.4
-0.49% common/viperutil/config_util.go
2
76.6
0.41% common/channelconfig/msp.go
2
76.55
-3.23% msp/identities.go

Coverage Regressions

Lines Coverage ∆ File
1
82.93
-3.39% cmd/common/cli.go
1
86.67
-1.09% common/channelconfig/bundle.go
1
83.33
-1.95% common/policies/policy.go
1
77.85
-2.35% msp/mspimplsetup.go
Jobs
ID Job ID Ran Files Coverage
1 32851836683.1 25 Aug 2026 01:13PM UTC 197
81.59
GitHub Action Run
Source Files on build 32851836683
  • Tree
  • List 197
  • Changed 197
  • Source Changed 0
  • Coverage Changed 197
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • bb299848 on github
  • Prev Build on main (#32851744832)
  • Next Build on main (#32970969571)
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