Repository navigation
Retry a reset website activation in the hosted agent pass - #3334
Merged
Merged
Conversation
This was referenced Oct 21, 2026
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.
The hosted-agent pass now retries a lost activation connection with a fresh browser session, within its existing 180-second rollout deadline. A repeat of
read ECONNRESETtherefore still fails the pass at that deadline, while HTTP refusals and other Playwright errors keep their existing behavior.The failed publish built, deployed, and verified release
bbe9dea5…before the journey's activationGET /examples/triage-board/api/view?revision=1&through_seq=1raisedread ECONNRESETat 14:06:46 UTC. An unsampled Cloudflare invocation query for 14:06:45–47 UTC found no matching Worker request. The same failure shape was recorded on October 14 and October 19. This is a transport failure during session setup, and the existing fresh-session retry is the boundary that can recover from it without changing page behavior.A focused test first reproduced the uncaught reset, then passed with the repair. The four adjacent rollout and 503 checks also pass:
uv run pytest dev/tests/process/test_website_server.py::test_the_agent_pass_retries_a_reset_activation_on_a_fresh_session dev/tests/process/test_website_server.py::test_the_agent_pass_waits_out_an_allocation_the_rollout_has_not_reached dev/tests/process/test_website_server.py::test_a_rollout_that_never_lands_ends_the_agent_pass_naming_it dev/tests/process/test_website_server.py::test_the_rollout_answer_is_the_one_503_the_activating_read_waits_on dev/tests/process/test_website_server.py::test_a_503_the_worker_did_not_write_is_this_release_failing -q -n0(5 passed).