Skip to content

Self validate against known_user_agents#97

Open
be-smith wants to merge 2 commits into
mainfrom
bes/self_validate_known_user_agent
Open

Self validate against known_user_agents#97
be-smith wants to merge 2 commits into
mainfrom
bes/self_validate_known_user_agent

Conversation

@be-smith

@be-smith be-smith commented Jun 2, 2026

Copy link
Copy Markdown
Member

Checks that the api is contained in KNOWN_USER_AGENTS on the datalab server. Raises a warning if not. Requires datalab-org/datalab#1806 to work

@be-smith be-smith requested a review from ml-evs as a code owner June 2, 2026 14:53
@codecov

codecov Bot commented Jun 2, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 66.66667% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 44.82%. Comparing base (3c1521a) to head (fc31047).

Files with missing lines Patch % Lines
src/datalab_api/_base.py 66.66% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #97      +/-   ##
==========================================
+ Coverage   44.55%   44.82%   +0.27%     
==========================================
  Files           4        4              
  Lines         514      522       +8     
==========================================
+ Hits          229      234       +5     
- Misses        285      288       +3     

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

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