Repository navigation
Allow Foundry smoke tests to finish model retries - #59
Merged
Changyong Gong (chagong) merged 2 commits intoOct 19, 2026
Merged
Conversation
Extend both protocol invocation deadlines to 300 seconds within six-minute steps. Preserve deployment gates and strict reply validation, cover Responses execution failures, and document the bounded retry headroom. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
There was a problem hiding this comment.
🟢 Approval recommended
The narrow timeout changes are consistent across workflow, tests, and documentation, with no blocking issues identified.
No open issues 🎉
What changed in this PR
Extends Foundry deployment smoke-test deadlines so existing SDK model retries have more time to finish.
Changes:
- Raises both protocol deadlines to 300 seconds within six-minute steps.
- Adds executable Responses regression coverage and updates timeout assertions.
- Documents retry headroom and capacity limitations while preserving existing safeguards.
| File | Description |
|---|---|
| tests/test_deploy_foundry_workflow.py | Adds Responses coverage and checks updated timeout bounds. |
| docs/guide.md | Explains longer deadlines and their limitations. |
| .github/workflows/deploy-foundry.yml | Extends both smoke-test invocation and step limits. |
Review effort: Balanced
Changyong Gong (chagong)
deleted the
chagong-foundry-deployment-failure
branch
October 19, 2026 11:28
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.
Problem
Deployment run 39211267548 published an active agent version but failed the Responses smoke check. Foundry reported a transient
no_capacityfailure, and the SDK's retry completed after the caller's 120-second deadline had canceled the request. The Invocations smoke check was consequently skipped.Changes
Validation
py -m unittest discover -s tests -p test_deploy_foundry_workflow.py— 34 tests passed using Python 3.12, Git Bash, and jq 1.8.1 locally.actionlint -shellcheck= -pyflakes= .github/workflows/deploy-foundry.yml— passed with actionlint 1.7.12.git diff --check— passed.All invocations in the regression tests are local stubs. No live invocation, deployment, rollback, quota, or Azure configuration change was performed. Python 3.13/Linux execution remains covered by PR CI; live verification requires a separately authorized operation.