Skip to content

v0.69.6

Compare
Choose a tag to compare
@denis256 denis256 released this 03 Dec 20:57
· 45 commits to main since this release
ba1e4b5

Updated CLI args, config attributes and blocks

  • errors

New Feature: errors configuration block

This release introduces an improved configuration block for managing errors, enhancing the flexibility of retry and ignore mechanisms. These new features provide fine-grained control over error handling, ensuring a smoother and more robust execution flow.

Example

errors {
    # Retry block for transient errors
    retry "retry_network" {
        retryable_errors = [".*Error: network timeout.*"]
        max_attempts = 3
        sleep_interval_sec = 5
    }

    # Ignore block for non-critical errors
    ignore "ignore_warnings" {
        ignorable_errors = [
            ".*Warning: non-critical issue.*"
        ]
        message = "Ignoring non-critical warnings"
    }
}

Demo

Ignore error:

ignore-error

Retry error:

retry-on-error

What's Changed

  • Added errors block

Related links

Full Changelog: v0.69.5...v0.69.6