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

ooni / probe-cli / 8552629877
72%

Build:
DEFAULT BRANCH: master
Ran 04 Apr 2024 09:53AM UTC
Jobs 1
Files 543
Run time 374min
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

04 Apr 2024 09:47AM UTC coverage: 82.295% (-0.02%) from 82.311%
8552629877

push

github

web-flow
refactor: move Saver, Submitter, and InputProcessor to oonirun (#1543)

My current objective is to cleanup and rationalize the engine package
such that it is more explicit how we're using probeservices APIs.

In performing this task, I noticed that Saver and InputProcessor are
only ever used by the oonirun package.

This happens because:

1. the Saver is just a tiny wrapper around SaveMeasurement that
constructs either a model.Saver or a fake one depending on the
configuration, which seems a pretty specific use case of oonirun given
the current API we're using;

2. we can same basically the same for the Submitter;

3. the InputProcessor, albeit nice, is probably not flexible enough to
be used elsewhere unless we hammer it a lot.

Additionally, in the future, ./cmd/ooniprobe should probably be based on
oonirun, and possibly also ./pkg/oonimkall.

Also, ./internal/cmd/miniooni is already based on oonirun.

To conclude, oonirun should be the focus of future work and changes,
while the functionality I'm moving here, could either be in engine or
oonirun. But my current goal is to focus on the engine, so it's fine to
move these types.

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

49 of 50 new or added lines in 5 files covered. (98.0%)

5 existing lines in 2 files now uncovered.

26076 of 31686 relevant lines covered (82.3%)

53.04 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 8552629877.1 04 Apr 2024 09:53AM UTC 0
82.3
GitHub Action Run
Source Files on build 8552629877
Detailed source file information is not available for this build.
  • Back to Repo
  • 75c36e64 on github
  • Prev Build on master (#8535445090)
  • Next Build on master (#8560260856)
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