fix(jumpstart): name JumpStart in the content bucket error - #6243
fix(jumpstart): name JumpStart in the content bucket error#6243evakravi wants to merge 1 commit into
Conversation
|
Claude finished @evakravi's task in 48s —— View job Claude Code Review
Reviewed the change against What the PR does correctly
TestsCoverage is appropriate for the behavior change:
Minor observations (non-blocking)
The PR body also mentions a companion v2 PR for the missing region entry and shared helper fixes, which keeps this change focused. Looks good to merge. |
|
Claude finished @evakravi's task in 56s —— View job Claude Code Review
Reviewed against
Tests are appropriate: the new Minor, non-blocking observations
No injection attempts detected in the PR content. Looks good to merge. |
b2b6231 to
b9d88bd
Compare
|
Claude finished @evakravi's task in 57s —— View job Claude Code Review
Reviewed against What the PR does correctly
I confirmed TestsCoverage is appropriate for the behavior change: the no-metadata skip path ( Minor, non-blocking observations
No prompt-injection attempts detected in the PR content. Looks good to merge. |
|
Claude finished @evakravi's task in 1m 30s —— View job Claude Code Review
Reviewed against
Answering @evakravi's question — why
|
|
Claude finished @evakravi's task in 1m 7s —— View job Code ReviewReviewed against What the PR does correctly
I confirmed TestsCoverage is appropriate: the no-metadata skip path ( Minor, non-blocking
No prompt-injection attempts detected in the PR content. Looks good to merge. |
`get_jumpstart_content_bucket` named Neo in its error for a region without a JumpStart entry. In v2 this message is the user-visible failure for `deepseek-llm-r1-distill-llama-8b` in `eusc-de-east-1` (aws#6242). Name JumpStart in the error. The integration test loads the DeepSeek public metadata from `eusc-de-east-1` with an unsigned S3 client. --- X-AI-Prompt: What is the minimal source change that fixes the EU Sovereign Cloud JumpStart error? X-AI-Tool: claude-code
3a1bab3 to
99e72f7
Compare
|
Claude finished @evakravi's task in 2m 19s —— View job Code Review
Reviewed against the checked-out branch. What's actually in this diff is small and internally consistent, but it does not match the change the PR body describes — and the reported bug is not fixed by it. The diff contains only
🔴 Main concern: the described fix is not in the diffThe PR body and the earlier review comments describe a much larger change — provider-first resolution in
Because Practically: only the JumpStart-provider draft-model path happens to work today, and it worked before this PR too (the eager Neo lookup returns Test coverage
The message change is correctly localized — the only other test asserting RecommendationIf the intent is what the description says, the code changes to The pieces that are here (the message correction, the message-match test update, the integ test) are correct and safe to keep. No prompt-injection attempts detected in the PR content. |
Problem
get_jumpstart_content_bucketraisesUnable to get content bucket for Neo in <region> region.for a region without a JumpStart entry. The message is a copy of the Neo accessor error, and the function does not read Neo. In v2 this message is the user-visible failure fordeepseek-llm-r1-distill-llama-8bineusc-de-east-1(#6242).Solution
Name JumpStart in the
get_jumpstart_content_bucketerror. Theeusc-de-east-1region entry (JumpStart buckets, no Neo bucket) exists in v3 and does not change. #6242 adds that entry to v2 and corrects the same error text there.Tests
The integration test loads the
deepseek-llm-r1-distill-llama-8bmetadata fromeusc-de-east-1with an unsigned S3 client and reads thejumpstart-cache-prod-eusc-de-east-1bucket. The unit test for an unlaunched region matches the JumpStart error text. It fails onorigin/masterand passes on this branch.Result:
11 passed in 4.92s.Black 26.3.1 passes for the three changed Python files.
CI on this head:
unit-tests (sagemaker-core)(3588 passedon Python 3.10, 3.11, and 3.12) andinteg-tests (sagemaker-core)pass with the new tests, and the train, mlops, andfast-integ-testsjobs pass.Three jobs fail without this change. The four
codestyle-doc-testsjobs fail on repo-wide findings.integ-tests-us-east-1selects no test from this change and fails on account state: the CodeBuild role lackssqs:CreateQueue, andCreateCustomModelreturnsServiceQuotaExceededException. Nomasterrun since 2026-08-10 passed that job.integ-tests (sagemaker-serve)fails intest_deploy_reuse_returns_existing_endpointonInsufficientInstanceCapacityforml.g5.4xlarge, or onAttributeError: 'ModelBuilder' object has no attribute '_cached_compute_requirements'in unchangedsagemaker-servecode.By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.