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

ooni / probe-cli / 9399938815
72%

Build:
DEFAULT BRANCH: master
Ran 06 Jun 2024 11:23AM UTC
Jobs 1
Files 559
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

06 Jun 2024 11:17AM UTC coverage: 83.282% (-0.003%) from 83.285%
9399938815

push

github

web-flow
refactor: move engine.InputLoader to targetloading (#1616)

This commit moves the engine.InputLoader type to a new package called
inputloading and adapts the naming to avoid stuttering. We therefore
have engine.InputLoaderSession => targetloading.Session and other
similar renames.

The reason for moving InputLoader is that the engine package depends on
registry, and, per the plan described by the first richer input PR,
https://github.com/ooni/probe-cli/pull/1615, we want to move target
loading directly inside the registry. To this end, we need to move the
target loading feature outside of engine to avoid creating import loops,
which prevent the code from compiling because Go does not support them.

While there, name the package targetloading rather than inputloading
since richer input is all about targets, where a target is defined by
the (input, options) tuple. Also, try to consistently rename types to
mention targets.

We keep an integration test inside the engine package because it seems
such an integration test was checking both engine and the Loader
together. We may further refactor this test in the future.

Part of https://github.com/ooni/probe-cli/pull/1612

---------

Co-authored-by: DecFox <33030671+DecFox@users.noreply.github.com>

33 of 43 new or added lines in 9 files covered. (76.74%)

7 existing lines in 2 files now uncovered.

27443 of 32952 relevant lines covered (83.28%)

51.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 0 - 9399938815.1 06 Jun 2024 11:23AM UTC 0
83.28
GitHub Action Run
Source Files on build 9399938815
Detailed source file information is not available for this build.
  • Back to Repo
  • f6a20512 on github
  • Prev Build on master (#9398667008)
  • Next Build on master (#9405185857)
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