Skip to content

feat: Add OpaClient to wrap auth checks#1541

Draft
tpoliaw wants to merge 5 commits into
depends-userfrom
opa-client
Draft

feat: Add OpaClient to wrap auth checks#1541
tpoliaw wants to merge 5 commits into
depends-userfrom
opa-client

Conversation

@tpoliaw
Copy link
Copy Markdown
Contributor

@tpoliaw tpoliaw commented May 15, 2026

Proof of concept opa client with dependency injection and example check

@tpoliaw tpoliaw changed the title feat: Add OpaClient to wrap auth checks" feat: Add OpaClient to wrap auth checks May 15, 2026
Comment thread src/blueapi/service/main.py Fixed
@tpoliaw tpoliaw force-pushed the opa-client branch 2 times, most recently from e8ddc77 to db3325b Compare May 15, 2026 15:31
@codecov
Copy link
Copy Markdown

codecov Bot commented May 19, 2026

Codecov Report

❌ Patch coverage is 74.46809% with 12 lines in your changes missing coverage. Please review.
✅ Project coverage is 95.35%. Comparing base (e6ca161) to head (5c3dba8).

Files with missing lines Patch % Lines
src/blueapi/service/authorization.py 79.48% 8 Missing ⚠️
src/blueapi/service/main.py 20.00% 4 Missing ⚠️
Additional details and impacted files
@@               Coverage Diff                @@
##           depends-user    #1541      +/-   ##
================================================
- Coverage         95.63%   95.35%   -0.28%     
================================================
  Files                43       44       +1     
  Lines              3228     3274      +46     
================================================
+ Hits               3087     3122      +35     
- Misses              141      152      +11     

☔ 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.

@tpoliaw tpoliaw changed the base branch from main to depends-user May 29, 2026 10:50
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.

1 participant