diff --git a/changelog.d/20231031_230517_yadudoc1729_task_retries_1.rst b/changelog.d/20231031_230517_yadudoc1729_task_retries_1.rst index 1aa78b587..568d938a4 100644 --- a/changelog.d/20231031_230517_yadudoc1729_task_retries_1.rst +++ b/changelog.d/20231031_230517_yadudoc1729_task_retries_1.rst @@ -1,8 +1,8 @@ New Functionality ^^^^^^^^^^^^^^^^^ -- ``GlobusComputeEngine`` can now be configured to automatically retrying task failures due - to node failures. Traceback history from all prior attempts is supplied if the last retry +- ``GlobusComputeEngine`` can now be configured to automatically retry task failures when + node failures occur. Traceback history from all prior attempts is supplied if the last retry attempt fails. Here's a snippet from config.yaml: ``` diff --git a/compute_endpoint/globus_compute_endpoint/engines/base.py b/compute_endpoint/globus_compute_endpoint/engines/base.py index 4dee06210..90444d697 100644 --- a/compute_endpoint/globus_compute_endpoint/engines/base.py +++ b/compute_endpoint/globus_compute_endpoint/engines/base.py @@ -146,7 +146,7 @@ def _handle_task_exception( self._retry_table[task_id]["exception_history"] ): templated_history = f""" -++++++++++++++++++++ Traceback from attempt:{index} ++++++++++++++++++++ +++++++++++++++++++++ Traceback from attempt:{index + 1} ++++++++++++++++++++ {get_error_string(exc=prev_exc)} ------------------------------------------------------------------ """