Repository navigation
fix(core): describe transform jobs through the session client in logs_for_transform_job - #6411
Open
AkshayShah03 wants to merge 1 commit into
Open
AkshayShah03 wants to merge 1 commit into
AkshayShah03 wants to merge 1 commit into
Conversation
AkshayShah03
had a problem deploying
to
manual-approval
October 9, 2026 23:59 — with
GitHub Actions
Failure
AkshayShah03
had a problem deploying
to
manual-approval
October 9, 2026 23:59 — with
GitHub Actions
Failure
AkshayShah03
had a problem deploying
to
manual-approval
October 9, 2026 23:59 — with
GitHub Actions
Failure
…_for_transform_job
logs_for_transform_job described the job with
TransformJob.get(transform_job_name=..., session=sagemaker_session).__dict__.
TransformJob.get expects a boto3 Session, so passing the SageMaker Session
failed pydantic validation ('Input should be an instance of Session'), and the
resource's snake_case __dict__ does not have the PascalCase keys
(TransformResources, TransformJobStatus) that _logs_init and
_check_job_status read.
Describe the job through sagemaker_session.sagemaker_client, as
logs_for_processing_job does (aws#6369). aws#6509 already fixed the session used
by transform()/wait()/stop()/attach(); this covers the log tailing path.
AkshayShah03
force-pushed
the
fix/transformer-session-region
branch
from
November 9, 2026 03:44
e3e56da to
d6b7dad
Compare
AkshayShah03
requested a deployment
to
manual-approval
November 9, 2026 03:44 — with
GitHub Actions
Waiting
AkshayShah03
requested a deployment
to
manual-approval
November 9, 2026 03:44 — with
GitHub Actions
Waiting
AkshayShah03
requested a deployment
to
manual-approval
November 9, 2026 03:44 — with
GitHub Actions
Waiting
This branch is waiting to be deployed
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.
Issue #, if available: Relates to #6503
Description of changes:
Narrowed after #6509, which fixed the session used by
transform(),wait(),stop()andattach(). One path was still broken:logs_for_transform_jobdescribed the job with:TransformJob.getexpects a boto3Session, so passing the SageMakerSessionfails pydantic validation (Input should be an instance of Session).__dict__doesn't have the PascalCase keys (TransformResources,TransformJobStatus) that_logs_initand_check_job_statusread.This change describes the job through
sagemaker_session.sagemaker_client.describe_transform_job, aslogs_for_processing_jobdoes (#6369).Testing:
test_logs_for_transform_job_describes_with_session_client. It fails on master.test_transformer.pyandtest_transformer_session_propagation.py: 44 passed.By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.