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

kubeflow / mcp-server / 37052639536
83%

Build:
DEFAULT BRANCH: main
Ran 02 Oct 2026 07:14PM UTC
Jobs 3
Files 38
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 Oct 2026 07:12PM UTC coverage: 81.905% (+0.2%) from 81.663%
37052639536

push

github

web-flow
feat(trainer): add since_line cursor for incremental log polling (#294)

* feat(trainer): add since_line cursor for incremental log polling

Add since_line and max_lines parameters to get_training_logs to
support incremental polling without token waste or 1000-line tail blind
spots.

- Use plain list collection in cursor mode so lines past 1000 are reachable
- Bound response with MAX_LINE_CHARS (2000) and MAX_CURSOR_CHARS (9000) budget
- Guard against crash log fallback in cursor mode
- Extract failure hint on most recent 1000 lines only
- Add TestGetTrainingLogsCursor covering reachability past 1000, pagination, reset, and budget
- Update tool schema snapshot

Fixes #293

Signed-off-by: Aditya Raut <rautaditya2606@gmail.com>

* fix(trainer): clamp max_lines and enforce character budget boundary

- Stop appending lines in cursor mode before exceeding MAX_CURSOR_CHARS
  to guarantee the page response strictly respects the 9,000-char cap
  without mid-line data loss.
- Clamp max_lines to [1, 1000] to match the advertised docstring/issue
  contract instead of returning a validation error.
- Add test_long_line_crosses_budget_boundary_not_appended to verify
  boundary enforcement.
- Add test_max_lines_clamping and test_tail_mode_max_lines_clamping to
  cover clamping across cursor and tail modes.

Signed-off-by: Aditya Raut <rautaditya2606@gmail.com>

---------

Signed-off-by: Aditya Raut <rautaditya2606@gmail.com>

2485 of 3034 relevant lines covered (81.91%)

2.46 hits per line

Coverage Regressions

Lines Coverage ∆ File
1
99.39
0.2% trainer/api/monitoring.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 37052639536.1 02 Oct 2026 07:14PM UTC 38
81.91
GitHub Action Run
2 python-3.11 - 37052639536.2 02 Oct 2026 07:14PM UTC 38
81.91
GitHub Action Run
3 python-3.12 - 37052639536.3 02 Oct 2026 07:14PM UTC 38
81.91
GitHub Action Run
Source Files on build 37052639536
  • Tree
  • List 38
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37052639536
  • 0255571d on github
  • Prev Build on main (#37048848947)
  • Next Build on main (#37053472487)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc