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

hyperledger-labs / fabric-smart-client / 36710996062
91%

Build:
DEFAULT BRANCH: main
Ran 30 Sep 2026 11:52AM UTC
Jobs 22
Files 501
Run time 2min
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

30 Sep 2026 11:50AM UTC coverage: 89.836% (+0.07%) from 89.77%
36710996062

push

github

web-flow
refactor(config, web)!: bound request bodies, report websocket read errors, simplify decode hooks (#1970)

web/server:
- limit HTTP request bodies to maxMessageSize (10 MiB, the websocket
  message limit) with http.MaxBytesReader and answer 413 "request too
  large" when exceeded
- answer 500 "invalid status code from backend" when a RequestHandler
  returns a status code outside 100-999, which made WriteHeader panic
- WSStream.Read returns the ReadMessage error instead of nil, so Recv and
  ReadInput report a closed connection rather than a JSON decode error
- replace negotiateContentType with acceptsJSON, which parses each Accept
  entry with mime.ParseMediaType; values such as "application/jsonx" are
  rejected, parameters such as "; charset=utf-8" or "q=0.8" are accepted
- remove the unused Config type

config:
- compile the byte size regexp once and read both groups with a single
  FindStringSubmatch
- customDecodeHook decodes "[]" to an empty slice instead of [""]
- drop the unreachable reflect.String branches from the file hooks and
  flatten them
- pemBlocksFromFileDecodeHook reports an empty File value as empty, not nil
- fix the customDecodeHook and initConfigPaths comments

pkg/utils/errors:
- HasType returned true for every non-nil error, because errors.As with a
  *error target matches any error; it now delegates to the type check of
  cockroachdb/errors

BREAKING CHANGE: server.Config is removed; it had no users.

Fixes #1967

Signed-off-by: Marcus Brandenburger <bur@zurich.ibm.com>

93 of 95 new or added lines in 4 files covered. (97.89%)

4 existing lines in 3 files now uncovered.

28849 of 32113 relevant lines covered (89.84%)

2339.5 hits per line

Uncovered Changes

Lines Coverage ∆ File
1
98.53
1.31% platform/view/services/config/config_util.go
1
96.0
-1.01% platform/view/services/web/server/handler.go

Coverage Regressions

Lines Coverage ∆ File
2
91.95
-1.34% platform/view/services/metrics/prometheus/provider.go
1
92.08
-0.33% platform/view/services/comm/p2p.go
1
98.53
1.31% platform/view/services/config/config_util.go
Jobs
ID Job ID Ran Files Coverage
1 utest-extensions - 36710996062.1 30 Sep 2026 11:53AM UTC 8
52.57
GitHub Action Run
2 itest-fabricx-iou - 36710996062.2 30 Sep 2026 11:53AM UTC 479
29.3
GitHub Action Run
3 itest-fabric-iou-libp2p - 36710996062.3 30 Sep 2026 11:55AM UTC 457
36.51
GitHub Action Run
4 itest-fabric-iouhsm - 36710996062.4 30 Sep 2026 11:55AM UTC 457
39.71
GitHub Action Run
5 itest-fabric-twonets - 36710996062.5 30 Sep 2026 11:54AM UTC 447
29.22
GitHub Action Run
6 itest-fabric-atsa - 36710996062.6 30 Sep 2026 11:56AM UTC 447
43.78
GitHub Action Run
7 itest-fsc-stoprestart - 36710996062.7 30 Sep 2026 11:54AM UTC 242
33.27
GitHub Action Run
8 itest-fabric-atsachaincode - 36710996062.8 30 Sep 2026 11:54AM UTC 452
30.9
GitHub Action Run
9 itest-fabric-stoprestart - 36710996062.9 30 Sep 2026 11:55AM UTC 447
31.22
GitHub Action Run
10 itest-fabric-iou - 36710996062.10 30 Sep 2026 11:57AM UTC 457
40.44
GitHub Action Run
11 itest-fabricx-configupdate - 36710996062.11 30 Sep 2026 11:54AM UTC 479
28.39
GitHub Action Run
12 itest-fabric-events - 36710996062.12 30 Sep 2026 11:55AM UTC 452
29.01
GitHub Action Run
13 itest-fsc-signedpingpong - 36710996062.13 30 Sep 2026 11:53AM UTC 241
31.36
GitHub Action Run
14 itest-fabric-runtimeconfig - 36710996062.14 30 Sep 2026 11:55AM UTC 457
38.82
GitHub Action Run
15 itest-fabric-configupdate - 36710996062.15 30 Sep 2026 11:54AM UTC 457
38.76
GitHub Action Run
16 utest-root - 36710996062.16 30 Sep 2026 11:56AM UTC 492
87.58
GitHub Action Run
17 utest-postgres - 36710996062.17 30 Sep 2026 11:54AM UTC 492
9.78
GitHub Action Run
18 itest-fabricx-multiendorsement - 36710996062.18 30 Sep 2026 11:52AM UTC 479
28.44
GitHub Action Run
19 itest-fabricx-atsa - 36710996062.19 30 Sep 2026 11:53AM UTC 479
30.6
GitHub Action Run
20 itest-fabricx-simple - 36710996062.20 30 Sep 2026 11:53AM UTC 479
27.81
GitHub Action Run
21 itest-fsc-pingpong - 36710996062.21 30 Sep 2026 11:55AM UTC 246
34.41
GitHub Action Run
22 itest-fabricx-deployment - 36710996062.22 30 Sep 2026 11:53AM UTC 479
28.45
GitHub Action Run
Source Files on build 36710996062
  • Tree
  • List 501
  • Changed 44
  • Source Changed 5
  • Coverage Changed 42
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #36710996062
  • 81a4e60d on github
  • Prev Build on main (#36706872050)
  • Next Build on main (#36714024032)
  • Delete
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