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

Address retry bug for HighThroughputExecutor. #142

Merged
merged 6 commits into from
Sep 3, 2024

Conversation

braceal
Copy link
Contributor

@braceal braceal commented Aug 28, 2024

This PR addresses a bug in the task retry logic causing it to fail for HighThroughputExecutor.

Updates

  • The main update was to resolve the result future prior to checking it's failure info.
  • The previous release only tested it for ThreadPoolExecutor, however the result lives in shared memory in that case so the failure info was present. Using HighThroughputExecutor the future result object needs to be used.
  • Address CI issues.

Copy link
Collaborator

@gpauloski gpauloski 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. I left a comment for a minor nit.

colmena/task_server/base.py Outdated Show resolved Hide resolved
@WardLT
Copy link
Collaborator

WardLT commented Sep 3, 2024

I'm taking a look at this soon. Fixing up some flake8 issues first

@WardLT
Copy link
Collaborator

WardLT commented Sep 3, 2024

Thanks, @braceal !

@WardLT WardLT merged commit f8e1e1d into exalearn:master Sep 3, 2024
2 checks passed
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.

3 participants