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

kubeflow / mcp-server / 38209765201
87%

Build:
DEFAULT BRANCH: main
Ran 12 Oct 2026 05:52AM 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

12 Oct 2026 05:51AM UTC coverage: 83.021% (+0.05%) from 82.967%
38209765201

push

github

web-flow
fix(core): reject a malformed namespace before any Kubernetes request (#344)

The trainer tools check a caller-supplied namespace with
check_namespace_allowed(), which only applies the namespace policy. With no
allowlist configured it accepts any string, so a value such as "Bad_NS!"
reached the Kubernetes API and the agent was told the job was not found. For
delete_training_job and update_training_job a DELETE or PATCH was sent for a
namespace that cannot exist. A malformed name was already rejected up front.

check_namespace_allowed() now format-checks a non-None namespace with the
existing validate_namespace() before the policy check. Putting the check in
the shared helper covers every tool that takes a namespace, including the
three submission tools, and any tool added later.

An empty string is rejected as well. The SDK only falls back to the default
namespace for None, so "" was sent to the API as an empty namespace before.

No tool schema changes.

Fixes #343

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

2572 of 3098 relevant lines covered (83.02%)

2.49 hits per line

Coverage Regressions

Lines Coverage ∆ File
2
98.76
0.03% core/security.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.10 - 38209765201.1 12 Oct 2026 05:52AM UTC 38
83.02
GitHub Action Run
2 python-3.11 - 38209765201.2 12 Oct 2026 05:52AM UTC 38
83.02
GitHub Action Run
3 python-3.12 - 38209765201.3 12 Oct 2026 05:52AM UTC 38
83.02
GitHub Action Run
Source Files on build 38209765201
  • 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 #38209765201
  • c6d5b801 on github
  • Prev Build on main (#38205199541)
  • Next Build on main (#38210160331)
  • 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