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

kubeflow / mcp-server / 39130584736
87%

Build:
DEFAULT BRANCH: main
Ran 18 Oct 2026 01: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

18 Oct 2026 01:13PM UTC coverage: 83.697% (+0.03%) from 83.672%
39130584736

push

github

web-flow
fix: validate the persona the same way from every source (#411)

* fix(cli): validate the persona the same way from every source

serve() only validated the persona when it came from --persona, and only
against the four built-in personas. A persona from KUBEFLOW_MCP_PERSONA or
the config file was not checked until create_server(), so a typo ended in a
ValueError traceback, while a valid custom persona from the policy file was
rejected by the flag's click.Choice.

The persona is now resolved once with get_allowed_tools() right after the
sources are merged, and a failure becomes the same usage error the flag gave
before (exit code 2). --persona takes any string, so custom personas work
from the flag as well.

Fixes #410

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

* fix(cli): test the real persona env path and document custom personas

Add a test that sets KUBEFLOW_MCP_PERSONA and goes through the real
load_config(), with no config or policy file, instead of a mocked config.

The README now says that a custom persona from the policy file works from
--persona, KUBEFLOW_MCP_PERSONA and the config file, and that an unknown
persona stops serve with an error.

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

---------

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

2644 of 3159 relevant lines covered (83.7%)

2.51 hits per line

Coverage Regressions

Lines Coverage ∆ File
14
83.96
0.79% cli.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.12 - 39130584736.1 18 Oct 2026 01:14PM UTC 38
83.7
GitHub Action Run
2 python-3.10 - 39130584736.2 18 Oct 2026 01:14PM UTC 38
83.7
GitHub Action Run
3 python-3.11 - 39130584736.3 18 Oct 2026 01:14PM UTC 38
83.7
GitHub Action Run
Source Files on build 39130584736
  • Tree
  • List 38
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #39130584736
  • 5adf282a on github
  • Prev Build on main (#39129440229)
  • Next Build on main (#39131327513)
  • 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