Skip to content

Pass failing jobs to error handlers #2692

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 3 commits into from
Oct 3, 2021
Merged

Pass failing jobs to error handlers #2692

merged 3 commits into from
Oct 3, 2021

Conversation

Bibo-Joshi
Copy link
Member

Supersedes #2570.

Closes #2568 by making jobs callable. This kind of makes sense, because APS expects a callable to run. This also reduces a bit of duplicate logic because all the running, error handling etc now happens in the Job class.

Checklist for PRs

  • Added .. versionadded:: version, .. versionchanged:: version or .. deprecated:: version to the docstrings for user facing changes (for methods/class descriptions, arguments and attributes)
  • Created new or adapted existing unit tests

@Bibo-Joshi Bibo-Joshi added enhancement 🛠 refactor change type: refactor 🛠 breaking change type: breaking labels Oct 3, 2021
@Bibo-Joshi Bibo-Joshi added this to the v14 milestone Oct 3, 2021
Copy link
Member

@harshil21 harshil21 left a comment

Choose a reason for hiding this comment

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

looks good.

@Bibo-Joshi Bibo-Joshi merged commit 3d4a7f7 into v14 Oct 3, 2021
@Bibo-Joshi Bibo-Joshi deleted the job-in-error-handlers branch October 3, 2021 18:00
Bibo-Joshi added a commit that referenced this pull request Oct 3, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Oct 5, 2021
@Bibo-Joshi Bibo-Joshi added 🔌 enhancement pr description: enhancement and removed enhancement labels Nov 3, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🛠 breaking change type: breaking 🔌 enhancement pr description: enhancement 🛠 refactor change type: refactor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants