Skip to content

Python: Foundry Hosted Agent Resiliency Support - #7670

Merged
Tao Chen (TaoChenOSU) merged 36 commits into
mainfrom
taochen/lra-refresh
Aug 21, 2026
Merged

Python: Foundry Hosted Agent Resiliency Support#7670
Tao Chen (TaoChenOSU) merged 36 commits into
mainfrom
taochen/lra-refresh

Conversation

@TaoChenOSU

@TaoChenOSU Tao Chen (TaoChenOSU) commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Motivation & Context

Add support for resilient tasks in Foundry Hosted Agent.

Also addresses #7511

Description & Review Guide

  • What are the major changes?
    • Add support for resilient_background=True in ResponsesHostServer
    • Add support for steerable_conversations=True in ResponsesHostServer
    • Handle usage content now.
    • A sample showing how a workflow can be recovered after a crash (force crash locally).
    • A sample showing how an agent can be steered.
  • What is the impact of these changes?
    • A new feature, no breaking changes
  • What do you want reviewers to focus on?
    • The handling of workflow checkpoints

Contribution Checklist

  • The code builds clean without any errors or warnings
  • All unit tests pass, and I have added new tests where possible
  • The PR follows the Contribution Guidelines
  • This PR is linked to an issue and there is no other open PR for this issue (see Related Issue above).
  • This is not a breaking change. If it is a breaking change, add the breaking change label (or add "[BREAKING]" to the title prefix, before or after any language prefix) — a workflow keeps the label and title prefix in sync automatically.

@TaoChenOSU Tao Chen (TaoChenOSU) self-assigned this Aug 14, 2026
@TaoChenOSU Tao Chen (TaoChenOSU) added the python Usage: [Issues, PRs], Target: Python label Aug 14, 2026
Copilot AI balanced review requested due to automatic review settings August 14, 2026 18:57
@TaoChenOSU Tao Chen (TaoChenOSU) added foundry Usage: [Issues, PRs], Target: all Foundry integrations hosting Usage: [Issues, PRs], Target: all hosting related solutions labels Aug 14, 2026
@github-actions github-actions Bot changed the title Foundry Hosted Agent Resiliency Support Python: Foundry Hosted Agent Resiliency Support Aug 14, 2026
@agent-framework-automation agent-framework-automation Bot added the documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs label Aug 14, 2026
@github-actions

github-actions Bot commented Aug 14, 2026

Copy link
Copy Markdown
Contributor

Python Test Coverage

Python Test Coverage Report •
FileStmtsMissCoverMissing
packages/core/agent_framework
   observability.py11338592%465, 467–468, 471, 474, 477–478, 483–484, 490–491, 497–498, 505, 507–508, 511, 514, 517–518, 523–524, 530–531, 537–538, 545, 722–723, 983, 987–989, 991, 999–1000, 1004, 1048, 1050, 1061–1063, 1065–1067, 1071, 1079, 1203–1204, 1448, 1450, 1452, 1763–1764, 1881, 2034, 2076–2077, 2264, 2513–2514, 2518, 2558–2559, 2563, 2604–2607, 2648–2649, 2824, 2827, 2839, 2856, 2860–2861, 2864, 2870, 2890, 2966, 3000, 3102, 3339, 3341
packages/foundry_hosting/agent_framework_foundry_hosting
   _responses.py82811985%116–118, 234, 299–300, 314, 317–318, 385, 394, 471, 503, 518–521, 585, 635, 697, 709, 725–726, 731–734, 738–740, 745, 753, 756, 767, 812, 822, 833–835, 849–851, 854, 888–891, 896, 899, 919–920, 1016, 1087–1089, 1093, 1096–1099, 1103–1105, 1110–1114, 1118–1120, 1127–1128, 1131–1134, 1140, 1143–1149, 1159, 1165, 1169, 1193, 1202–1203, 1207, 1449, 1461, 1913–1914, 1918, 1963, 1965, 1967, 1969, 1973, 1981, 1984–1988, 1990, 2000, 2004, 2049, 2051, 2053–2056, 2064, 2066
   _state_store.py1240100% 
TOTAL48071449490% 

Python Unit Test Overview

Tests Skipped Failures Errors Time
9710 36 💤 0 ❌ 0 🔥 2m 36s ⏱️

@TaoChenOSU
Tao Chen (TaoChenOSU) added this pull request to the merge queue Aug 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 21, 2026
@moonbox3
Evan Mattson (moonbox3) added this pull request to the merge queue Aug 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 21, 2026
@TaoChenOSU
Tao Chen (TaoChenOSU) added this pull request to the merge queue Aug 21, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 21, 2026
@TaoChenOSU

Copy link
Copy Markdown
Contributor Author

#7809 is a follow up that requires more effort.

@TaoChenOSU
Tao Chen (TaoChenOSU) added this pull request to the merge queue Aug 21, 2026
Merged via the queue into main with commit 7b7b9a1 Aug 21, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Usage: [Issues, PRs], Target: documentation in the code base and learn docs foundry Usage: [Issues, PRs], Target: all Foundry integrations hosting Usage: [Issues, PRs], Target: all hosting related solutions python Usage: [Issues, PRs], Target: Python

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants