feat(kernel): retried stages receive explicit failure feedback; default retry backoff 1s

This commit is contained in:
2026-06-10 21:53:45 +04:00
parent 91cca9aee3
commit 629b910e7f
5 changed files with 62 additions and 4 deletions
@@ -5,7 +5,7 @@ import kotlinx.serialization.Serializable
@Serializable
data class RetryPolicy(
val maxAttempts: Int,
val backoffMs: Long = 0L,
val backoffMs: Long = 1_000L,
) {
init {
require(maxAttempts >= 1) { "maxAttempts must be >= 1" }