Skip to content

fix(adk): keep ADK retry defaults in retry.when and count dynamic runs atomically - #7

Merged
dimetron merged 1 commit into
mainfrom
fix/declarative-review-nits
Oct 25, 2026
Merged

dimetron merged 1 commit into
mainfrom
fix/declarative-review-nits

Conversation

@dimetron

Copy link
Copy Markdown
Owner

Review follow-ups for kagent-dev#3344:

  • retry.when no longer retries workflow.ErrInputValidation, matching ADK's default predicate.
  • DynamicEnv claims its max_iters budget atomically, so concurrent child runs cannot exceed it.

Tests: go test -race ./adk/pkg/declarative/..., make -C go lint.

…s atomically

retry.when replaced ADK's default predicate, so input validation errors
were retried when the expression matched; they are now never retried.
A DynamicFunc may run children concurrently, so DynamicEnv claims its
max_iters budget atomically.

Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Signed-off-by: Dmytro Rashko <dimetron@me.com>
@dimetron
dimetron merged commit f36f12f into main Oct 25, 2026
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.

1 participant