Skip to content

fix(cli): import BIOLM_PUBLIC_CLIENT_ID for biolm login - #9

Merged
andrewcstewart merged 5 commits into
mainfrom
fix/biolm-login-client-id-import
Jul 8, 2026
Merged

fix(cli): import BIOLM_PUBLIC_CLIENT_ID for biolm login#9
andrewcstewart merged 5 commits into
mainfrom
fix/biolm-login-client-id-import

Conversation

@andrewcstewart

Copy link
Copy Markdown
Member

Summary

  • Fix biolm login crashing with NameError: name 'BIOLM_PUBLIC_CLIENT_ID' is not defined
  • Add missing import from biolm.core.const so OAuth login can start

Test plan

  • biolm login starts OAuth flow (browser opens, authorize URL printed)
  • Complete browser authorization and confirm biolm status shows valid credentials at ~/.biolm/credentials

Made with Cursor

andrewcstewart and others added 5 commits July 8, 2026 10:19
Without this import, `biolm login` crashed with NameError before OAuth could start.

Co-authored-by: Cursor <cursoragent@cursor.com>
Invoke the login command via CliRunner so a missing BIOLM_PUBLIC_CLIENT_ID
import fails in CI instead of at user runtime.

Co-authored-by: Cursor <cursoragent@cursor.com>
Schema lookups now always hit the hosted platform API without credentials,
so hub gateways and CI API tokens no longer break batch-size discovery.
Also update the live schema test to assert maxItems instead of removed
throttle_rate metadata.

Co-authored-by: Cursor <cursoragent@cursor.com>
Split tests into smoke/unit/integration/live tiers so PR CI runs fast offline
checks on Python 3.11 only, while live API and full-matrix runs move to nightly
and main-branch compat jobs. Add path-based integration selection and gate live
tests behind --run-live to avoid accidental network calls when tokens are set.
Provide a dummy BIOLM_TOKEN for smoke/unit/integration runs and add PyYAML
to dev requirements so integration test selection can load test-areas.yml.

Co-authored-by: Cursor <cursoragent@cursor.com>
@andrewcstewart
andrewcstewart merged commit 3149c3f into main Jul 8, 2026
8 checks passed
@andrewcstewart
andrewcstewart deleted the fix/biolm-login-client-id-import branch July 8, 2026 19:58
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