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

ooni / probe-cli / 8939502213
72%

Build:
DEFAULT BRANCH: master
Ran 03 May 2024 01:14PM UTC
Jobs 1
Files 557
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

03 May 2024 01:08PM UTC coverage: 83.301% (-0.01%) from 83.315%
8939502213

push

github

web-flow
multierror: implement BuildErrorString and mark as legacy (#1587)

This diff implements BuildErrorString, which we need in
https://github.com/ooni/probe-cli/pull/1560 to construct `multierror`
compatible error strings inside the `httpclientx` package.

While there, recognize that `multierror` should now be considered legacy
(i.e., minor changes and only bugfixes) because its implementation has
`Unwrap() error` while not it would be better to use `Unwrap() []errors`
but, if we were switching to the new callback, error wrapping would find
syscall errors and use them as the result.

Therefore, an error like:

```
httpapi: all endpoints failed: [ connection_reset; connection_reset; connection_reset; connection_reset;]
```

would be reduced to:

```
connection_reset
```

Because this behavior is subtle, I think it's best to move multierror
inside `./internal/legacy` and document this.

Part of https://github.com/ooni/probe/issues/2729.

5 of 5 new or added lines in 1 file covered. (100.0%)

5 existing lines in 2 files now uncovered.

27102 of 32535 relevant lines covered (83.3%)

51.75 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 8939502213.1 03 May 2024 01:14PM UTC 0
83.3
GitHub Action Run
Source Files on build 8939502213
Detailed source file information is not available for this build.
  • Back to Repo
  • 0232df5e on github
  • Prev Build on master (#8937416836)
  • Next Build on master (#8939903048)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc