ooni-probe-cli/internal/engine/experiment/urlgetter
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Simone Basso 6212daa54a
fix(tracex): generate archival from single transaction-done event (#780)
Tracex contained some fragile code that assembled HTTP measurements
from scattered events, which worked because we were sure we were
performing a single measurement at any given time.

This diff restructures the code to emit a transaction-start and a
transaction-done events only. We have basically removed all the other
events (which we were not using). We kept the transaction-start
though, because it may be useful to see it when reading events. In
any case, what matters here is that we're now using the transaction-done
event aline to generate the archival HTTP measurement.

Hence, the original issue has been addressed. We will possibly
do more refactoring in the future, but for now this seems sufficient.

Part of https://github.com/ooni/probe/issues/2121
2022-06-01 19:27:47 +02:00
..
.gitignore chore: merge probe-engine into probe-cli (#201) 2021-02-02 12:05:47 +01:00
configurer.go refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
configurer_test.go refactor(tracex): start applying recent code conventions (#773) 2022-06-01 07:44:54 +02:00
getter.go refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
getter_integration_test.go fix(tracex): generate archival from single transaction-done event (#780) 2022-06-01 19:27:47 +02:00
getter_test.go feat: tutorial on how to write the torsf experiment (#390) 2021-06-22 00:12:03 +02:00
multi.go cleanup: use ErrorToStringOrOK func in other tests that returns nil (#701) 2022-03-08 11:59:44 +01:00
multi_test.go refactor: interfaces and data types into the model package (#642) 2022-01-03 13:53:23 +01:00
runner.go cleanup: merge httpheader and httpfailure into model (#758) 2022-05-25 09:54:50 +02:00
runner_test.go cleanup: merge httpheader and httpfailure into model (#758) 2022-05-25 09:54:50 +02:00
urlgetter.go refactor(netx): merge archival, trace, and the savers (#772) 2022-05-31 21:53:01 +02:00
urlgetter_test.go fix: ensure experiments return nil when we want to submit (#654) 2022-01-07 13:17:20 +01:00