• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

informatics-isi-edu / deriva-mcp-ui / 23918235458
90%

Build:
DEFAULT BRANCH: main
Ran 02 Apr 2026 07:31PM UTC
Jobs 1
Files 14
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Apr 2026 07:30PM UTC coverage: 93.071% (+0.5%) from 92.619%
23918235458

push

github

mikedarcy
Add anonymous / zero-auth mode

  When DERIVA_CHATBOT_CREDENZA_URL is not set, the UI operates without login.
  Sessions are browser-scoped using a random opaque cookie (deriva_chatbot_anon).

  - auth_enabled property (config.py): bool(credenza_url) -- auto-detected,
    no explicit mode flag; validate_for_http() branches on it so Credenza fields
    are only required when auth is enabled
  - Session.bearer_token: str | None = None (storage/base.py); mcp_client.py
    omits Authorization header when token is None
  - _get_or_create_anonymous_session() (auth.py): creates or resumes a
    uid:anonymous/{anon_id} session; require_session() branches on auth_enabled;
    /login redirects to / in anonymous mode; /logout clears cookie and returns
  - _anon_cookie_middleware (server.py): FastAPI does not merge cookies set on
    an injected Response dependency into JSONResponse; workaround stores cookie
    info in request.state.new_anon_id and attaches Set-Cookie in middleware
  - session_info returns "Anonymous" display name when auth is disabled

52 of 52 new or added lines in 5 files covered. (100.0%)

685 of 736 relevant lines covered (93.07%)

0.93 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23918235458.1 02 Apr 2026 07:31PM UTC 14
93.07
GitHub Action Run
Source Files on build 23918235458
  • Tree
  • List 14
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 51f9a428 on github
  • Prev Build on main (#23876778226)
  • Next Build on main (#23933260653)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc