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

kubeflow / mcp-server / 43160912826
95%

Build:
DEFAULT BRANCH: main
Ran 12 Nov 2026 05:23AM UTC
Jobs 3
Files 52
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

12 Nov 2026 05:22AM UTC coverage: 90.024% (+0.6%) from 89.38%
43160912826

push

github

web-flow
fix(trainer): report a missing pip and read the full package list (#404)

* fix(trainer): report a missing pip and read the full package list

Two problems in _fetch_packages_via_pod, behind get_runtime(include_packages=True).

When the runtime image has no pip, the pod command prints "pip not found" and
exits 0. The parser split that line into a package named "pip" with version
"not" and returned total 1. It now returns a packages_error instead.

The pod log was read with tail_lines=500. An image with more than 498 packages
lost the header and its first packages, and total came back as 500 with no sign
that anything was cut. The log is now read from the start, bounded by
limit_bytes (1 MiB) so the read stays bounded.

Fixes #371
Fixes #372

Signed-off-by: Abhishek <abhikokadwar2@gmail.com>

* fix(trainer): detect a missing pip anywhere in the pod log

Match the fallback text with `in` rather than an exact match, as suggested in
review. If both pip calls fail after printing part of a list, the log holds
that partial output followed by the fallback line, and the exact match missed
it and parsed the partial list. Package rows cannot contain spaces, so a real
pip list never contains the fallback text.

Signed-off-by: Abhishek <abhikokadwar2@gmail.com>

* fix(trainer): match the missing-pip sentinel at the end of the log

Check that the log ends with the fallback text instead of containing it, as
suggested in review. The fallback is always the last line the pod command
prints, so this is the precise form, and it still catches the case where
both pip calls print part of a list before failing. Also shortens the comment
on the log read.

Signed-off-by: Abhishek <abhikokadwar2@gmail.com>

---------

Signed-off-by: Abhishek <abhikokadwar2@gmail.com>

4115 of 4571 relevant lines covered (90.02%)

2.7 hits per line

Coverage Regressions

Lines Coverage ∆ File
8
93.97
12.83% trainer/api/discovery.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 43160912826.1 12 Nov 2026 05:23AM UTC 52
90.02
GitHub Action Run
2 python-3.12 - 43160912826.2 12 Nov 2026 05:23AM UTC 52
90.02
GitHub Action Run
3 python-3.11 - 43160912826.3 12 Nov 2026 05:23AM UTC 52
90.02
GitHub Action Run
Source Files on build 43160912826
  • Tree
  • List 52
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #43160912826
  • 176a500f on github
  • Prev Build on main (#42987238269)
  • Next Build on main (#43361624149)
  • 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