Conversation
Mirror test_ug_configure_claude_anthropic_mps for an amazon_bedrock MPS: the ug configure picker selects the Bedrock MPS, then a real Claude Code session completes a file task. Adds --claude-bedrock-provider (run_integration.py, default main.ucode.bedrock_e2e) plus the claude_bedrock_provider fixture. Closes the live gap for Claude-on-Bedrock, which had unit coverage but nothing exercising a real Bedrock MPS end-to-end (region-slug pinning and launch-model resolution against a live service). Co-authored-by: Isaac <no-reply@databricks.com>
masonc08
force-pushed
the
masonc08/claude-bedrock-mps-integration
branch
from
September 21, 2026 14:06
1181155 to
6598ba4
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Adds
test_ug_configure_claude_bedrock_mps(tests/integration/test_ug_configure_claude.py), mirroringtest_ug_configure_claude_anthropic_mps:ug configure's picker selects an AWS Bedrock (amazon_bedrock) MPS, then a real Claude Code session completes a file-reading task on it. Adds--claude-bedrock-provider(run_integration.py, defaultmain.ucode.bedrock_e2e) and theclaude_bedrock_providerfixture.Why
Claude-on-Bedrock had solid unit coverage (region-slug pinning, provider-type allowlist, family resolution) but nothing exercised a real Bedrock MPS end-to-end. This is the live check that the real
ug+ Claude Code binary resolve a region-prefixed Bedrock slug (us.anthropic.claude-...) into a working launch — including the opus-less tier fallback, since the CI MPS has Sonnet + Haiku but no Opus (launch tier preference sonnet > opus > haiku picks Sonnet).No allowlist dependency:
amazon_bedrockis already in Claude's provider-type allowlist on main, so this stands alone.Test
Backed by
main.ucode.bedrock_e2eon the CI workspace (Sonnet + Haiku).ruff+py_compileclean. Gateway routing verified live against the MPS (Haiku/v1/messages→ 200); the full session launch runs in the integration CI container.This pull request and its description were written by Isaac.