Python-Unit CI fails mcp_service tool tests on every pull request since #45452, while master post-merge runs stay green
Superset version
2.0.0 (master, 2026-11-10/11)
Unnecessary time spent
Two of our PRs have been blocked on this since the evening of 2026-11-10.
Description
Since 2026-11-10 ~21:59 UTC, every pull-request-triggered Python-Unit run we can find fails, exclusively in tests/unit_tests/mcp_service/**, while workflow_run-triggered runs on master succeed at the same times. We first hit it on our own PRs and verified it is not PR-specific before filing.
Failing runs (all different PRs, same signature):
| PR | Run | When (UTC) |
|---|---|---|
| #46040 | run family | 11-10 22:14 |
| #46114 | 42909284323 | 11-10 23:14 |
| SQL-denylist coverage PR | 42921126581 | 11-10 23:10 |
| Italian translation PR | 42921071167 | 11-10 23:10 |
| MCP semantic selection PR | 42910288907 | 11-10 21:59 |
| export-filters PR | 42911306381 | 11-10 22:05 |
| temporal-filter PR | 43052105266 | 11-11 15:49 (still failing today) |
Master post-merge runs in the same windows: 23:47 on 11-10 SUCCESS and 16:39 on 11-11 SUCCESS.
Signature (three different tool test files):
test_get_chart_info_permalink.py—AssertionError: Expected 'mock' to be called once. Called 0 times.,KeyError: 'viz_type', and wrong error types ('PermalinkAccessDenied' == 'InvalidPermalink')test_rls_tools.py—{'error': 'RLS filters are not available to embedded guests.', 'error_type': 'Forbidden'}where tool output was expectedtest_update_chart_rebind.py—assert not Trueon retained-param cases
The Forbidden-for-embedded-guests symptom points at the guest-token layer: #45452 ("fix(embedded): validate guest token identity fields", merged 11-10 15:11 UTC) touched superset/mcp_service/guest_token_verifier.py and updated test_guest_token_auth.py, but not the sibling tool-level test files whose fixtures now appear to fail the new validation. We found no passing PR-triggered Python-Unit run after that merge, and no issue tracking this yet — apologies if we missed one.
None of the affected PRs touch the failing files (ours modify superset/utils/date_parser.py, superset/jinja_context.py, translations and docs; the others touch security policy and i18n).
AI disclosure: this report was compiled with AI assistance from the run logs linked above; every fact in it is traceable to one of those runs.
Update with new evidence — the breakage is no longer reproducing on current merge commits:
- PR #46040's merge commit (
221b520, master merged in by @sadpandajoe):unit-tests (current)andunit-tests-requiredboth SUCCESS. - PR #46114's merge commit (
6ddb3f6, same treatment, same time): both unit-test jobs SUCCESS.
Notably, no commit has landed under superset/mcp_service/ since 2026-11-10, so whatever shifted (environmental, or a fix outside that path) was not a code change in the MCP layer itself. Both PRs were approved by @aminghadersohi yesterday with the failures explicitly attributed to these MCP tests.
If other PRs are no longer hitting it either, this can be closed as resolved-or-transient; happy to re-verify with fresh run links if it reappears.
As the breakage is no longer there, closing this issue off