Skip to content

Add testlists url management#1081

Open
aagbsn wants to merge 62 commits intomasterfrom
add_testlists_url_management
Open

Add testlists url management#1081
aagbsn wants to merge 62 commits intomasterfrom
add_testlists_url_management

Conversation

@aagbsn
Copy link
Contributor

@aagbsn aagbsn commented Feb 9, 2026

Adds test-lists.ooni.org backend; replaces #1057 (renames service to testlists)

aagbsn added 30 commits January 30, 2026 11:20
add test helpers from oonimeasurements: create_jwt, create_session_token, client_with_admin_role, client_with_user_role
FIXME: validation of session still fails, monkeypatch auth didn't seem to work
this is to preserve the keys in json response for backwards compatibility
update handler accepts either being None to differentiate behavior
api change in filelock 3.11.0 means that FileLock is not shared between threads by default
raises exception if lock was not held
@aagbsn aagbsn requested review from DecFox and LDiazN February 12, 2026 08:46


@app.get("/health")
async def health(
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there anything here related to the github-specific configs that we should be health-checking?

@aagbsn
Copy link
Contributor Author

aagbsn commented Feb 13, 2026

whoops moving those dependencies creates an additional library dependency in each service

@aagbsn aagbsn removed the request for review from DecFox February 13, 2026 12:17
@codecov
Copy link

codecov bot commented Feb 13, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 88.70%. Comparing base (8bc928c) to head (1b77c74).
⚠️ Report is 12 commits behind head on master.

❌ Your project check has failed because the head coverage (88.70%) is below the target coverage (95.00%). You can increase the head coverage or adjust the target coverage.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #1081      +/-   ##
==========================================
- Coverage   92.99%   88.70%   -4.29%     
==========================================
  Files          75       27      -48     
  Lines        6155     1842    -4313     
  Branches      394       84     -310     
==========================================
- Hits         5724     1634    -4090     
+ Misses        355      186     -169     
+ Partials       76       22      -54     
Flag Coverage Δ
ooniauth ?
oonifindings ?
oonimeasurements ?
ooniprobe 88.70% <ø> (-2.84%) ⬇️
oonirun ?

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.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@aagbsn aagbsn requested a review from LDiazN February 13, 2026 12:26
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