Repository navigation
fix flaky continueParsing strand test baseline - #18694
Merged
Merged
Conversation
The baseline in ContinueParsingResumesOnTheConnectionsStrand drained the io_context with a single non-blocking poll() right after startReading(), but the request bytes written to the peer still have to traverse the loopback socket -- when they had not landed yet, poll() ran nothing and the assertion saw handlerCalls == 0. Wait with a bounded run_for() instead: readSome() initiates its read inline, so the io_context always has outstanding work until the handler chain drains, and the deadline is only a hang cap. Addresses #18634. Claude-Session: https://claude.ai/code/session_017jMCCnK7Lza54inrLaQaJf
kevinushey
had a problem deploying
to
e2e-playwright
August 31, 2026 17:37 — with
GitHub Actions
Failure
kevinushey
temporarily deployed
to
e2e-playwright
August 31, 2026 17:37 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
August 31, 2026 17:40 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
August 31, 2026 17:40 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
August 31, 2026 17:47 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
August 31, 2026 17:47 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
August 31, 2026 17:50 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
August 31, 2026 17:50 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
August 31, 2026 17:50 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
August 31, 2026 17:50 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
August 31, 2026 17:50 — with
GitHub Actions
Inactive
kevinushey
temporarily deployed
to
e2e-playwright
August 31, 2026 17:50 — with
GitHub Actions
Inactive
RStudio E2E - all platformsAll tests passed!
View / download the full reportView report online -- opens in the browser, no download needed. Available for 14 days. Download playwright-report.zip -- extract and open
All platforms - commit |
kevinushey
temporarily deployed
to
e2e-playwright
August 31, 2026 21:27 — with
GitHub Actions
Inactive
This branch was previously deployed
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.
Summary
AsyncConnectionImpl.ContinueParsingResumesOnTheConnectionsStrandfails intermittently inrstudio-core-tests, assertinghandlerCalls == 1when it is 0.The baseline phase of the test drained the io_context with a single non-blocking
ioc.poll()right afterstartReading(). The request bytes written topeerstill have to traverse the loopback socket before the connection'sasync_readcan complete, so when they had not landed yet,poll()ran nothing and the handler never fired. The failure needs the sibling tests in the suite to run first (the timing shift they introduce); the test in isolation always passed.The baseline now waits with a bounded
ioc.run_for(30s)instead.readSome()initiates its read inline, so the io_context always has outstanding work until the handler chain drains --run_for()returns as soon as the handler has run, and the deadline is only a hang cap. The secondpoll()aftercontinueParsing()is left as-is: the strand post is immediately runnable with no I/O dependency, so it is deterministic.Verification
On macOS arm64, looping
--gtest_filter='AsyncConnectionImpl.*':A full
rstudio-core-testsrun passes all 14AsyncConnectionImpltests. (ProcessTest.MultipleAsyncProcessesResultsfailed in that run, but it fails identically on an unmodified main build on the same machine, so it is unrelated.)Fixes #18634.
https://claude.ai/code/session_017jMCCnK7Lza54inrLaQaJf