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

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

Build:
DEFAULT BRANCH: main
Ran 24 Apr 2026 05:47PM 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

24 Apr 2026 05:46PM UTC coverage: 89.903% (-1.0%) from 90.865%
24903691322

push

github

mikedarcy
Fix session expiry UX, audit event cleanup, and MCP 401 handling

  Session expiry detection: expose session_id in /session-info; client
  echoes it on every chat POST; server returns 401 session_expired when
  the ID mismatches (stale session silently replaced by anonymous one).
  visibilitychange listener detects expiry when user returns to a
  backgrounded tab. Authenticated users now get a "session expired / log
  in / refresh" banner instead of showLoggedOutState() on any 401; input
  area is never hidden.

  MCP 401 via ExceptionGroup: streamablehttp_client uses asyncio.TaskGroup
  so HTTP 401s surface as BaseExceptionGroup wrapping HTTPStatusError
  rather than bare MCPAuthError. Fix in both _connect() (mcp_client.py)
  and _event_stream (server.py) to unwrap and classify correctly.

  Audit event cleanup: drop chat_request and chat_complete (redundant with
  chat_turn); rename llm_usage -> llm_api_call; add session_id and turn
  to llm_api_call for correlation; add prompt/completion/cache token
  deltas to chat_turn; add session_id and turn to chat_cancelled.

  Access logging: remove rotating file handler; fall back to stderr (Docker
  / AWS log drivers) when syslog is unavailable; remove access_logfile_path
  config var.

9 of 28 new or added lines in 2 files covered. (32.14%)

1 existing line in 1 file now uncovered.

1487 of 1654 relevant lines covered (89.9%)

0.9 hits per line

Uncovered Changes

Lines Coverage ∆ File
11
90.05
-4.1% src/deriva_mcp_ui/server.py
8
64.71
-5.51% src/deriva_mcp_ui/mcp_client.py

Coverage Regressions

Lines Coverage ∆ File
1
90.05
-4.1% src/deriva_mcp_ui/server.py
Jobs
ID Job ID Ran Files Coverage
1 24903691322.1 24 Apr 2026 05:47PM UTC 14
89.9
GitHub Action Run
Source Files on build 24903691322
  • Tree
  • List 14
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • d20d6cc4 on github
  • Prev Build on main (#24873832899)
  • Next Build on main (#24907988041)
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