Skip to content

Improve error logging and documentation for issue 4007 #5153

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 8 commits into from
May 6, 2025
Merged

Conversation

sage-maker
Copy link
Collaborator

@sage-maker sage-maker commented May 1, 2025

Issue #, if available: 4007

Description of changes: Improve error logging and documentation for issue 4007

Testing done:

Merge Checklist

Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your pull request.

General

  • I have read the CONTRIBUTING doc
  • I certify that the changes I am introducing will be backward compatible, and I have discussed concerns about this, if any, with the Python SDK team
  • I used the commit message format described in CONTRIBUTING
  • I have passed the region in to all S3 and STS clients that I've initialized as part of this change.
  • I have updated any necessary documentation, including READMEs and API docs (if appropriate)

Tests

  • I have added tests that prove my fix is effective or that my feature works (if appropriate)
  • I have added unit and/or integration tests as appropriate to ensure backward compatibility of the changes
  • I have checked that my tests are not configured for a specific region or account (if appropriate)
  • I have used unique_name_from_base to create resource names in integ tests (if appropriate)
  • If adding any dependency in requirements.txt files, I have spell checked and ensured they exist in PyPi

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@sage-maker sage-maker requested a review from a team as a code owner May 1, 2025 23:05
@sage-maker sage-maker removed the request for review from mufaddal-rohawala May 1, 2025 23:05
Copy link

codecov bot commented May 1, 2025

Codecov Report

Attention: Patch coverage is 90.00000% with 1 line in your changes missing coverage. Please review.

Project coverage is 86.12%. Comparing base (9ba4faa) to head (79a6b91).
Report is 1 commits behind head on master.

Files with missing lines Patch % Lines
src/sagemaker/utils.py 90.00% 1 Missing ⚠️
Additional details and impacted files
@@           Coverage Diff           @@
##           master    #5153   +/-   ##
=======================================
  Coverage   86.12%   86.12%           
=======================================
  Files         446      446           
  Lines       43203    43205    +2     
=======================================
+ Hits        37208    37210    +2     
  Misses       5995     5995           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

nargokul
nargokul previously approved these changes May 3, 2025
@sage-maker sage-maker self-assigned this May 5, 2025
@sage-maker
Copy link
Collaborator Author

#4007

@sage-maker sage-maker merged commit e747b03 into master May 6, 2025
14 checks passed
@sage-maker sage-maker deleted the issue-4007 branch May 6, 2025 00:50
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.

4 participants