Skip to content

Conversation

ericsciple
Copy link
Collaborator

No description provided.

@ericsciple ericsciple force-pushed the users/ericsciple/25-04-retry branch from d0b9217 to b6afcae Compare April 29, 2025 23:22
@ericsciple ericsciple marked this pull request as ready for review April 30, 2025 02:59
@Copilot Copilot AI review requested due to automatic review settings April 30, 2025 02:59
@ericsciple ericsciple requested a review from a team as a code owner April 30, 2025 02:59
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This pull request updates the renew job API call to prevent retry attempts when a 404 error is encountered. The changes include adding a new lambda parameter to filter out TaskOrchestrationJobNotFoundException during the retry process.

  • Prevent retry on 404 errors (TaskOrchestrationJobNotFoundException)
  • Update the retry logic for the renew job API call
Comments suppressed due to low confidence (1)

src/Runner.Common/RunServer.cs:98

  • Ensure that there are unit tests in place to verify that renew job calls are not retried when a TaskOrchestrationJobNotFoundException (HTTP 404) is encountered.
shouldRetry: ex =>

@ericsciple ericsciple merged commit 9155c42 into main Apr 30, 2025
9 checks passed
@ericsciple ericsciple deleted the users/ericsciple/25-04-retry branch April 30, 2025 19:44
marko-k0 pushed a commit to dfinity/runner that referenced this pull request May 13, 2025
sirredbeard pushed a commit to sirredbeard/runner that referenced this pull request Jun 11, 2025
sirredbeard pushed a commit to sirredbeard/runner that referenced this pull request Jun 11, 2025
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