You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
test(apple): overlap keep-alive transport deadlines on separate sockets - #5263
Exercise all three keep-alive states on independent TCP connections to the same ephemeral runner listener. The partial request must receive HTTP 408 and EOF, the idle connection must reach EOF within its original deadline, and the unused loopback watch must still serve uptime. Both production timers can now elapse together.
Validation
At 61f1d5bca2, git diff --check passed. Hosted Apple smoke will run the combined XCTest and verify source-derived test discovery. Compare its logged XCTest duration with the sum of the two earlier tests. The expected saving is one 30-second deadline per host suite execution.
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.
This PR is ready at 61f1d5b, and no change is required before merge. Not blocking: withWarmTransportSocket now has one caller left in testHttpConnectionRefusesMalformedFollowupBeforeReadingItsBody, so it can be inlined there or left as is.
No failing check is shown, and the macOS smoke job that runs the changed test passed (30.031 s).
Not verified here: no local test run was done, and flakiness was assessed only from the code and that one hosted pass. The idle EOF read gets only the time left from the 33 s budget, about 3 s when the partial 408 arrives on time and less only if that timer lags by seconds; this was not stress-tested. A lower bound on either deadline is not asserted by the old tests or the new one, and base-run durations of the two removed tests were not fetched.
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
ready-for-humanValid work that needs human implementation, judgment, or maintainer merge
1 participant
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
Exercise all three keep-alive states on independent TCP connections to the same ephemeral runner listener. The partial request must receive HTTP 408 and EOF, the idle connection must reach EOF within its original deadline, and the unused loopback watch must still serve uptime. Both production timers can now elapse together.
Validation
At
61f1d5bca2,git diff --checkpassed. Hosted Apple smoke will run the combined XCTest and verify source-derived test discovery. Compare its logged XCTest duration with the sum of the two earlier tests. The expected saving is one 30-second deadline per host suite execution.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.