Skip to content

Commit

Permalink
note
Browse files Browse the repository at this point in the history
  • Loading branch information
jamiedemaria committed Nov 25, 2024
1 parent 5672d02 commit 0a34ecf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions python_modules/dagster/dagster/_core/instance/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2523,6 +2523,8 @@ def handle_new_event(
self._run_storage.handle_run_event(run_id, event.get_dagster_event())
run = self.get_run_by_id(run_id)
if run and event.get_dagster_event().is_run_failure and self.run_retries_enabled:
# Note that this tag is only applied to runs that fail. Successful runs will not
# have a WILL_RETRY_TAG tag.
self.add_run_tags(
run_id, {WILL_RETRY_TAG: str(self.should_retry_run(run)).lower()}
)
Expand Down

0 comments on commit 0a34ecf

Please sign in to comment.