Skip to content

Retry a reset website activation in the hosted agent pass - #3334

Merged
leaf-agent merged 2 commits into
mainfrom
fix/ci-39434599867
Oct 20, 2026
Merged

leaf-agent merged 2 commits into
mainfrom
fix/ci-39434599867

Conversation

@leaf-agent

Copy link
Copy Markdown
Collaborator

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 ECONNRESET therefore 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 activation GET /examples/triage-board/api/view?revision=1&through_seq=1 raised read ECONNRESET at 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).

@leaf-agent
leaf-agent merged commit 0f2c9b3 into main Oct 20, 2026
4 checks passed
@leaf-agent
leaf-agent deleted the fix/ci-39434599867 branch October 20, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant