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

hyperledger / fabric-x-committer / 30748296571
91%
main: 91%

Build:
Build:
LAST BUILD BRANCH: fix/696-integration-port-reservation
DEFAULT BRANCH: main
Ran 02 Aug 2026 12:44PM UTC
Jobs 3
Files 131
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

02 Aug 2026 12:39PM UTC coverage: 91.142% (-0.06%) from 91.201%
30748296571

Pull #726

github

liran-funaro
[utils] Correct the comments on writing to an optional channel output

#### Type of change

- Documentation update

#### Description

- `deliver` and `deliverorderer` treat a nil output channel as an output the caller does not want.
  Their comments claimed the write "will be no-op if the output buffer is nil", which is wrong
  twice over: a send on a nil channel blocks forever rather than doing nothing, and
  `channel.Write` in fact reports such a write as failed. Both call sites ignore the result, so the
  behavior was always correct — only the comments were not.
- Document the same contract on `channel.NewWriter`, where it belongs, so it is not re-derived at
  each call site.

#### Additional details (Optional)

No behavior change: comments only.

#722 also proposed an explicit discarding writer, so that an intentionally skipped write could be
told apart from a failed one. Dropped: no caller reads the result of a write to an optional output,
so there is nothing to disambiguate, and a nil output already reports the conservative answer.

#### Related issues

- resolves #722

Signed-off-by: Liran Funaro <liran.funaro@gmail.com>
Pull Request #726: [utils] Correct the comments on writing to an optional channel output

4 of 4 new or added lines in 2 files covered. (100.0%)

25 existing lines in 10 files now uncovered.

10546 of 11571 relevant lines covered (91.14%)

33554.42 hits per line

Coverage Regressions

Lines Coverage ∆ File
6
91.94
-2.84% service/coordinator/signature_verifier_manager.go
4
87.8
-2.44% service/vc/committer.go
3
91.15
-1.33% service/vc/validator_committer_service.go
2
81.9
-1.9% service/query/query.go
2
92.35
-0.53% mock/orderer.go
2
97.83
-2.17% service/verifier/verifier_server.go
2
94.82
-0.8% service/coordinator/coordinator.go
2
85.26
-0.58% service/vc/database.go
1
94.95
-1.01% loadgen/adapters/common.go
1
80.33
-1.64% utils/utils.go
Jobs
ID Job ID Ran Files Coverage
1 core-db-test - 30748296571.1 02 Aug 2026 12:44PM UTC 100
46.55
GitHub Action Run
2 db-test - 30748296571.2 02 Aug 2026 12:45PM UTC 131
78.96
GitHub Action Run
3 unit-test - 30748296571.3 02 Aug 2026 12:45PM UTC 95
84.55
GitHub Action Run
Source Files on build 30748296571
  • Tree
  • List 131
  • Changed 21
  • Source Changed 0
  • Coverage Changed 21
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Pull Request #726
  • PR Base - main (#30541649421)
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