ooni-probe-cli/internal
Simone Basso f0927ea00c
ci: master only runs coverage and only with go1.17 (+ fix flaky test) (#452)
* fix: disable debianrepo build on master branch

This just mitigates https://github.com/ooni/probe/issues/1741 and does
not fully address it, but I'd rather avoid delving into this problem until
I open a release/v3.11.0 branch and have to really fix this issue.

* fix: only run coverage using go1.17

This is the version of Go with which we are going to bless v3.11.0
therefore it's the only version of Go that matters.

Reference issue: https://github.com/ooni/probe/issues/1738.

* fix(ptx/obfs4_test.go): avoid context-vs-normal-code race

We want to test whether we get the context failure if the error
generated inside normal code happens _after_ the context cancellation.

The best way to do that is to write code that is not racy. To this
end, we just need to pause normal code until we know that the context
has returned to the caller. We also need to ensure we do not leak
a goroutine, hence we use a WaitGroup to check that.

Fixes https://github.com/ooni/probe/issues/1750
2021-09-05 12:44:44 +02:00
..
atomicx doc: cleanup and improve for recently moved pkgs (#354) 2021-06-04 11:39:00 +02:00
bytecounter refactor: rename i/e/n/mockablex => i/netxmocks (#397) 2021-06-23 16:06:02 +02:00
cmd fix(oohelper): do not stop if DNS fails locally (#450) 2021-09-05 12:06:02 +02:00
engine fix: skip two integration tests in short mode (#451) 2021-09-05 11:58:02 +02:00
errorsx cli: upgrade to lucas-clemente/quic-go 0.23.0 (#449) 2021-08-23 16:49:22 +02:00
fsx fix(all): introduce and use iox.CopyContext (#380) 2021-06-15 13:44:28 +02:00
humanize fix(all): introduce and use iox.CopyContext (#380) 2021-06-15 13:44:28 +02:00
iox fix(all): introduce and use iox.CopyContext (#380) 2021-06-15 13:44:28 +02:00
kvstore doc: cleanup and improve for recently moved pkgs (#354) 2021-06-04 11:39:00 +02:00
mlablocate refactor(mlablocate*): move from i/e/internal to internal (#385) 2021-06-15 19:51:03 +02:00
mlablocatev2 refactor(mlablocate*): move from i/e/internal to internal (#385) 2021-06-15 19:51:03 +02:00
multierror doc: cleanup and improve for recently moved pkgs (#354) 2021-06-04 11:39:00 +02:00
netxlite cli: upgrade to lucas-clemente/quic-go 0.23.0 (#449) 2021-08-23 16:49:22 +02:00
netxmocks cli: upgrade to lucas-clemente/quic-go 0.23.0 (#449) 2021-08-23 16:49:22 +02:00
ooapi fix(all): introduce and use iox.ReadAllContext (#379) 2021-06-15 11:57:40 +02:00
platform fix(internal/platform): support freebsd (#445) 2021-08-20 14:00:06 +02:00
ptx ci: master only runs coverage and only with go1.17 (+ fix flaky test) (#452) 2021-09-05 12:44:44 +02:00
quicx cli: upgrade to lucas-clemente/quic-go 0.23.0 (#449) 2021-08-23 16:49:22 +02:00
randx doc: improve and reference existing bug in the code (#356) 2021-06-04 12:50:23 +02:00
runtimex refactor: flatten and separate (#353) 2021-06-04 10:34:18 +02:00
scrubber refactor: move scrubbingLogger to the scrubber pkg (#394) 2021-06-22 14:43:58 +02:00
shellx cleanup(shellx): do not directly depend on apex/log (#357) 2021-06-04 14:02:18 +02:00
tunnel cleanup(all): stop using deprecated ioutil functions (#381) 2021-06-15 14:01:45 +02:00
tutorial feat: tutorial on how to write the torsf experiment (#390) 2021-06-22 00:12:03 +02:00
version chore: we are now at 3.11.0-alpha (#361) 2021-06-08 10:08:13 +02:00
README.md doc: ensure all top dirs have an explanatory README (#214) 2021-02-03 16:54:00 +01:00

Directory github.com/ooni/probe-cli/internal

This directory contains private Go packages.