Skip to content

Studio MCP: keep one [code] tag on audio errors - #14175

Merged
danielhanchen merged 2 commits into
mainfrom
fix-mcp-audio-tag-merge
Oct 19, 2026
Merged

danielhanchen merged 2 commits into
mainfrom
fix-mcp-audio-tag-merge

Conversation

@danielhanchen

Copy link
Copy Markdown
Member

#14080 and #14081 landed together and their error tagging now overlaps: tool_error (from #14081) leads every route error with its [code] tag, while an audio.cpp failure whose message already starts with [out_of_memory] got the tag a second time ([out_of_memory] [out_of_memory] Out of memory.). Five tests in tests/test_mcp_audio_hints.py fail on main because of it.

  • studio_mcp/errors.py: tool_error leaves a message that already starts with its own [code] tag as it is.
  • tests/test_mcp_audio_hints.py: the gpu_busy case expects the [gpu_busy retry_after=5] tag Studio: MCP errors, cancels and chat controls agents can act on #14081 adds (still no audio tag), and the "other errors" cases check that the audio path returns exactly what the generic route error returns instead of asserting no tag at all.

python -m pytest tests/test_mcp_*.py: 2038 passed, 5 skipped (main: 5 failed in test_mcp_audio_hints.py).

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 19, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-10-19T01:44:59.458812Z 5af074e PR opened
🔒 Security Review ⚠️ Failed 2026-10-19T01:45:01.286441Z 5af074e PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@danielhanchen
danielhanchen merged commit d7b628b into main Oct 19, 2026
@danielhanchen
danielhanchen deleted the fix-mcp-audio-tag-merge branch October 19, 2026 01:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant