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

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

Build:
DEFAULT BRANCH: main
Ran 24 Apr 2026 05:27AM 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:26AM UTC coverage: 90.865% (+0.3%) from 90.589%
24873832899

push

github

mikedarcy
Add per-turn chat_turn audit events with diagnostic mode

  Emit a turn_summary internal SSE event at the end of every chat turn
  (both LLM and RAG-only paths) that server.py intercepts and converts
  into a structured chat_turn audit log entry.

  Always-on fields: session_id, turn, user_id, tools_invoked, rag_triggered,
  rag_document_count, rag_documents, rag_scores, model, response_latency_ms,
  cost_usd. Error key is omitted on success to avoid log-shipper ERROR
  misclassification.

  Diagnostic mode (audit_diagnostic=True) adds: user_query, response_text,
  response_compressed (gzip+base64), tool_inputs, tool_outputs,
  lifetime_cost_usd.

  Add session_id (stable UUID per conversation) and turn_count to Session.
  Surface turn_count in /session-info. Gate response chunk accumulation on
  audit_diagnostic to avoid per-chunk list appends in normal operation.

  Add audit_diagnostic, audit_diagnostic_response_max_chars,
  audit_diagnostic_tool_output_max_chars, and audit_use_syslog config vars.
  Use audit_use_syslog (not app_use_syslog) to initialize the audit logger
  so audit events get a dedicated syslog ident in Docker.

55 of 69 new or added lines in 4 files covered. (79.71%)

1482 of 1631 relevant lines covered (90.86%)

0.91 hits per line

Uncovered Changes

Lines Coverage ∆ File
14
86.36
-1.2% src/deriva_mcp_ui/chat.py
Jobs
ID Job ID Ran Files Coverage
1 24873832899.1 24 Apr 2026 05:27AM UTC 14
90.86
GitHub Action Run
Source Files on build 24873832899
  • Tree
  • List 14
  • Changed 4
  • Source Changed 0
  • Coverage Changed 4
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 8a2fc473 on github
  • Prev Build on main (#24818787764)
  • Next Build on main (#24903691322)
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