v0.69.6
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:
Retry error:
What's Changed
- Added
errors
block
Related links
Full Changelog: v0.69.5...v0.69.6