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

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

Build:
Build:
LAST BUILD BRANCH: fix/696-integration-port-reservation
DEFAULT BRANCH: main
Ran 02 Aug 2026 12:45PM UTC
Files 95
Run time 2s
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: 84.553% (-0.06%) from 84.612%
30748296571.3

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

6815 of 8060 relevant lines covered (84.55%)

1217.03 hits per line

Source Files on job unit-test - 30748296571.3
  • Tree
  • List 95
  • Changed 5
  • Source Changed 0
  • Coverage Changed 5
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 30748296571
  • 4108ff9a on github
  • Prev Job for on utils-channel-optional-writer (#30541649421.2)
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