Skip to content
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

[Jobs] Refactor: Extract task failure state update helper #4185

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

andylizf
Copy link
Contributor

Extract repeated task failure state update logic into _update_failed_task_state() helper to reduce code duplication.

          Good catch! Could submit this change to master first.

Originally posted by @cblmemo in #4128 (comment)

Tested (run the relevant ones):

  • Code formatting: bash format.sh
  • Any manual or new tests for this PR (please specify below)
  • All smoke tests: pytest tests/test_smoke.py
  • Relevant individual smoke tests: pytest tests/test_smoke.py::test_fill_in_the_name
  • Backward compatibility tests: conda deactivate; bash -i tests/backward_compatibility_tests.sh

@andylizf andylizf marked this pull request as ready for review October 26, 2024 03:30
@andylizf andylizf changed the title refactor: Extract task failure state update helper [Jobs] Refactor: Extract task failure state update helper Oct 26, 2024
@andylizf
Copy link
Contributor Author

@cblmemo PTAL, thanks!

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.

1 participant