Skip to content

Conversation

@HuyPhanNguyen
Copy link
Contributor

@HuyPhanNguyen HuyPhanNguyen commented Oct 26, 2025

Background

Adds MaxRetries and RetryBackoffSeconds parameters to configure retry behavior for transient network failures.

Changes

  • New parameters (V6 and V7):
    • MaxRetries (default: 3) - Maximum retry attempts
    • RetryBackoffSeconds (default: 5) - Initial backoff delay with exponential increase
  • Enhanced error messages with troubleshooting guidance for network failures
  • Passes configuration to @octopusdeploy/api-client retry logic

Example

- task: OctopusAwaitTask@7
  inputs:
    MaxRetries: 5
    RetryBackoffSeconds: 10

Result

[sc-124345]

  • Pipelines automatically recover from transient network issues
  • Configurable retry behavior
  • Clear error messages with resolution guidance
  • No breaking changes (existing pipelines work with defaults)
image

Copy link
Contributor

@hnrkndrssn hnrkndrssn left a comment

Choose a reason for hiding this comment

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

LGTM (once the api-client.ts PR has merged and shipped) 👍

@HuyPhanNguyen HuyPhanNguyen changed the title Add retry parameters to OctopusAwaitTask feat: Add retry parameters to OctopusAwaitTask Dec 5, 2025
@HuyPhanNguyen HuyPhanNguyen merged commit a9ec347 into main Dec 5, 2025
9 checks passed
@HuyPhanNguyen HuyPhanNguyen deleted the huy/sc-124345-add-retry-for-task-await branch December 5, 2025 03:13
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.

2 participants