feat(workflows): declare retry on workflow tools - #207
Open
Tsuyoshi Ushio (TsuyoshiUshio) wants to merge 1 commit into
Open
feat(workflows): declare retry on workflow tools#207Tsuyoshi Ushio (TsuyoshiUshio) wants to merge 1 commit into
Tsuyoshi Ushio (TsuyoshiUshio) wants to merge 1 commit into
Conversation
Carry tool-owned retry metadata through discovery and immutable workflow policy catalogs, with decorator declarations overriding plan-authored retry at submission. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: 1d5e6bb1-d7be-4d68-bad7-cb3f80079d27
Tsuyoshi Ushio (TsuyoshiUshio)
requested a review
from a team
as a code owner
September 9, 2026 03:24
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete the residual
@workflow_tool(retry=...)integration left after #193 extracted and merged the plan-authored Durable retry execution foundation.@workflow_tooland public retry policy exports.execution.retryat submission.This intentionally replaces rather than rebases #185. That branch predates #193 and rebasing its full tree would reintroduce already-merged foundation work and materially enlarge the review diff.
Scope
No engine, Activity envelope, native retry driver, dependency, frontmatter schema, or UI changes. Those execution pieces are already in #193.
Validation
python -m ruff check src testspython -m mypy srcpython -m pytest --cache-clear --cov=./src/azure_functions_agents --cov-report=xml --cov-branch tests— 1183 passed, 55 deselectedpython -m pytest -q -m e2e tests/endtoend/test_workflow_native_retry_e2e.py— 2 passed against a real Functions host and Docker AzuriteThe real-host run used
samples/workflow-retry-policywithlocal.settings.jsoncopied from the #193 worktree andTASKHUB_NAMEremoved, so Durable used the default TaskHub.