Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for temporal cloud #79

Merged
merged 37 commits into from
Aug 1, 2024
Merged

Add support for temporal cloud #79

merged 37 commits into from
Aug 1, 2024

Conversation

hellais
Copy link
Member

@hellais hellais commented Jul 30, 2024

Changes:

  • Major changes to how the CLI works where instead of mk* commands we have schedule and backfill commands
  • Simplify logic for processing tls handshakes by transaction ID.

This fixes:

As part of this I am doing also a bit of refactoring of the temporal related code to make this easier.

Copy link

codecov bot commented Jul 30, 2024

Codecov Report

Attention: Patch coverage is 75.45045% with 109 lines in your changes missing coverage. Please review.

Project coverage is 82.08%. Comparing base (85652ec) to head (e14cb97).

Files Patch % Lines
...ine/src/oonipipeline/temporal/client_operations.py 63.93% 66 Missing ⚠️
...onipipeline/src/oonipipeline/temporal/workflows.py 66.17% 23 Missing ⚠️
oonipipeline/src/oonipipeline/cli/commands.py 90.10% 9 Missing ⚠️
...ine/src/oonipipeline/temporal/activities/common.py 75.86% 7 Missing ⚠️
oonipipeline/src/oonipipeline/db/create_tables.py 60.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #79      +/-   ##
==========================================
+ Coverage   77.41%   82.08%   +4.66%     
==========================================
  Files          32       75      +43     
  Lines        1913     6295    +4382     
==========================================
+ Hits         1481     5167    +3686     
- Misses        432     1128     +696     
Flag Coverage Δ
oonidata 77.41% <ø> (ø)
oonipipeline 84.11% <75.45%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@DecFox DecFox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@hellais
Copy link
Member Author

hellais commented Aug 1, 2024

The tests are green and I am already running this on the data.ooni.org host. I am going to proceed with merging it.

(the red is only the codecov complaining, but the pieces of impacted code are really hard to test, so I am tabling this for the moment)

@hellais hellais merged commit 26db0be into main Aug 1, 2024
8 of 9 checks passed
@hellais hellais deleted the temporal-cloud branch August 1, 2024 15:38
hellais added a commit that referenced this pull request Aug 30, 2024
* v5.0.0-rc.0:
  Add simple redirector
  Tidy up the layout of the analysis viewer
  Add an observations viewer
  Get rid of all the dataviz that isn't the analysis visualizer
  Release/5.0.0 alpha3 (#81)
  Offset analysis schedule by 6 hours
  Add support for temporal cloud (#79)
  fix: support for sorting network_events using transaction_id (#51)
  Optimize performance of table writers and refactor table model (#74)
  Improvements related to deployment (#69)
  Add .codecov file
  Update jsonl sync example
  Setup workflow to publish ooni data docs (#73)
  OONI Pipeline v5 alpha (#64)
  Fix codecov (#62)
  Temporal workflows (#61)
  OONI Data, OONI Pipeline split (#60)
  Add support for caching netinfodb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants