Skip to content

fix: baselining error handling - #370

Merged
kukushking merged 3 commits into
awslabs:mainfrom
kukushking:fix/monitoring-error-handling
Dec 1, 2025
Merged

fix: baselining error handling#370
kukushking merged 3 commits into
awslabs:mainfrom
kukushking:fix/monitoring-error-handling

Conversation

@kukushking

Copy link
Copy Markdown
Contributor

Describe your changes

  • handle failed baseline processing jobs

Checklist before requesting a review

  • I updated CHANGELOG.MD with a description of my changes
  • If the change was to a module, I ran the code validation script (scripts/validate.sh)
  • If the change was to a module, I have added thorough tests
  • If the change was to a module, I have added/updated the module's README.md
  • If a module was added, I added a reference to the module to the repository's README.md
  • I verified that my code deploys successfully using seedfarmer apply

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

@kukushking kukushking self-assigned this Nov 28, 2025
@kukushking
kukushking marked this pull request as ready for review November 28, 2025 16:54
if status == "Completed":
logger.info(f"Job {job_name} completed successfully")
return {"statusCode": 200, "job_name": job_name, "status": "COMPLETED"}
elif status in ["Failed", "Stopped", "Stopping"]:

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.

Are there any cases where we would want to differentiate between stopped and failed? Or at least return the original status?

@kukushking
kukushking merged commit 5ea9b34 into awslabs:main Dec 1, 2025
2 checks passed
@kukushking
kukushking deleted the fix/monitoring-error-handling branch December 1, 2025 14:48
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.

2 participants