Repository navigation
test(agent): give the prompt-timeout test room for a slow runner - #4861
Merged
kovtcharov-amd merged 1 commit intoOct 6, 2026
Merged
Conversation
The test allowed a tool 0.3 s outside its permission prompt, and a loaded Windows runner exceeded that on thread start-up alone, failing the required unit job on an unrelated PR. It now allows 2 s around a 3 s prompt: still a failure if prompt time counts against the tool, no longer a failure on a slow machine.
2 of 3 tasks
kovtcharov-amd
pushed a commit
that referenced
this pull request
Oct 6, 2026
Three fixes merged to main after the release branch was last updated, so the release would ship without them: the flagship mail-connect fix (#4859), the code-search workflow fix (#4858) and the Windows timing-test fix (#4861). This merges main into `v0.25.0-release` and adds the one user-visible change, #4859, to the notes. It targets the release branch, not main. ## Test plan - [x] `python util/validate_release_notes.py --tag v0.25.0 docs/releases/v0.25.0.mdx` validates - [x] `pytest tests/unit/chat/ui/test_export_openapi.py hub/agents/gaia/python/tests/test_npm_doc_min_version.py tests/unit/connectors/test_grant_agent_scope_derivation.py tests/unit/test_path_access_grant.py` — 32 passed - [ ] Unit jobs green on this PR
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.
A timing test added in #4726 failed the required Windows unit job on an unrelated PR (#4859), 72 minutes into the run. It gives a tool 0.3 seconds to finish everything except waiting on the permission prompt, and a loaded Windows runner took longer than that just to start the thread. The test now allows 2 seconds around a 3-second prompt, so it still fails if prompt time is counted against the tool, but a slow runner no longer trips it.
Test plan
pytest tests/unit/test_path_access_grant.py— 8 passed (4 s; this test went from 1 s to 3 s)Unit Tests (Windows, py3.12)green on this PR