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

informatics-isi-edu / deriva-mcp-ui / 23942502074
89%

Build:
DEFAULT BRANCH: main
Ran 03 Apr 2026 10:03AM 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

03 Apr 2026 10:03AM UTC coverage: 84.737% (-8.5%) from 93.254%
23942502074

push

github

mikedarcy
  Schema priming, guide injection, and conversation history persistence

  Inject catalog schema, MCP guide prompts, and ERMrest syntax documentation
  into the system prompt on the first turn of default-catalog conversations.
  Priming uses get_catalog_info + get_schema (skipping the "public" system
  schema) instead of rag_search, which returned fragmentary JSON blobs that
  were less useful as LLM context. Primed content is cached on the session
  and reused on subsequent turns without re-fetching.

  Add open_session() to mcp_client for batching multiple MCP calls on a
  single connection, eliminating per-call ListToolsRequest overhead during
  priming. Add get_prompt() for fetching MCP prompt resources.

  Persist conversation history across session expiry via a long-lived
  history:{user_id} store key (default 7-day TTL). Both authenticated and
  anonymous sessions restore history on re-authentication. Add GET /history
  and DELETE /history endpoints; the browser loads prior conversation on
  page load and offers a clear-history button.

  Harden the system prompt with five MANDATORY RULES (schema context usage,
  multi-table join guidance, zero-result acceptance, full-column display,
  operational rules) that work reliably with both Haiku and Sonnet. Raise
  _TOOL_RESULT_TO_CLAUDE from 6000 to 10000 chars. Add status SSE event
  type for priming progress indicators.

  Default model: claude-haiku-4-5-latest (sufficient after prompt hardening).

149 of 240 new or added lines in 10 files covered. (62.08%)

6 existing lines in 3 files now uncovered.

805 of 950 relevant lines covered (84.74%)

0.85 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
87.76
-1.61% src/deriva_mcp_ui/storage/sqlite.py
9
75.56
3.03% src/deriva_mcp_ui/server.py
19
71.91
-21.74% src/deriva_mcp_ui/mcp_client.py
62
71.91
-21.26% src/deriva_mcp_ui/chat.py

Uncovered Existing Lines

Lines Coverage ∆ File
2
71.91
-21.26% src/deriva_mcp_ui/chat.py
2
71.91
-21.74% src/deriva_mcp_ui/mcp_client.py
2
75.56
3.03% src/deriva_mcp_ui/server.py
Jobs
ID Job ID Ran Files Coverage
1 23942502074.1 03 Apr 2026 10:03AM UTC 14
84.74
GitHub Action Run
Source Files on build 23942502074
  • Tree
  • List 14
  • Changed 7
  • Source Changed 0
  • Coverage Changed 7
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 19a0f4c5 on github
  • Prev Build on main (#23933260653)
  • Next Build on main (#23942979431)
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