Skip to content

Test reconnect on_kill and document SageMaker durable execution - #76964

Merged
amoghrajesh merged 3 commits into
apache:mainfrom
astronomer:sagemaker-durable-followups
Nov 18, 2026
Merged

amoghrajesh merged 3 commits into
apache:mainfrom
astronomer:sagemaker-durable-followups

Conversation

@amoghrajesh

Copy link
Copy Markdown
Contributor

Was generative AI tooling used to co-author this PR?
  • Yes (please specify the tool below)

Follow-up from #76036

  1. A retry that reconnects to a running training job never calls submit_job, so on_kill can only stop that job if poll_until_complete records its name. No test caught losing that.
  2. The docs had no durable execution section for SageMaker, unlike Glue and Redshift Data. Users need it because a Stopping job gets a new submit here, while Glue reconnects to it.
  3. The cast in execute() was not needed: every path through execute_resumable sets serialized_training_data.

  • Read the Pull Request Guidelines for more information. Note: commit author/co-author name and email in commits become permanently public when merged.
  • For fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
  • When adding dependency, check compliance with the ASF 3rd Party License Policy.
  • For significant user-facing changes create newsfragment: {pr_number}.significant.rst, in airflow-core/newsfragments. You can add this file in a follow-up commit after the PR is created so you know the PR number.

@fat-catTW fat-catTW left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR.

@amoghrajesh
amoghrajesh requested a review from kaxil November 17, 2026 05:20
@amoghrajesh
amoghrajesh merged commit 842402c into apache:main Nov 18, 2026
76 checks passed
@amoghrajesh
amoghrajesh deleted the sagemaker-durable-followups branch November 18, 2026 10:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants