Skip to content

test(terminal): the queued-send expiry row records why it keeps its shape (#758) - #843

Merged
Blind-Striker merged 1 commit into
masterfrom
test/758-expiry-row-reason
Nov 14, 2026
Merged

Blind-Striker merged 1 commit into
masterfrom
test/758-expiry-row-reason

Conversation

@Blind-Striker

@Blind-Striker Blind-Striker commented Nov 14, 2026 •

Copy link
Copy Markdown
Collaborator

The queued-send expiry row records why it keeps its shape. With that, every site #758 listed has been moved off the thread pool or settled with a recorded reason.

Closes #758

What changes

A three-line comment on TerminalSocketCoreTests.SendAsync_Should_Expire_A_Queued_Call_Without_Closing_The_Socket. A queued call that never expires fails this row at released, after the post-send hold's bound, not at its expiry assertions: release.Set is in the finally, so await queued is still pending when the bound ends. A check right after the clock moves is not an alternative: with queued.IsCompleted asserted right after Advance, the unmodified code failed on two of the three target frameworks in all 30 runs. The expiry completes inline on only one of them, so on the others only awaiting the queued call sees it.

Every #758 site, and what settled it

Verification

  • The full Windows gate at 03043b91, SDK 11.0.100: GATE PASS. Static: every step. Tests: 15,531 of 15,531; the service-election leg 27 of 27.
  • This commit, 4cdfa4a0: it differs from 03043b91 only in the comment's wording and the commit message, so the static part ran again on it: GATE PASS on every step. A four-line wording before it failed the build at MA0051 (the row reached 81 lines of an allowed 80), so the comment stays at three lines.
  • CI on all three operating systems: this PR's run.

…hape (#758)

A queued call that never expires fails this row at released, after the
post-send hold's bound, not at its expiry assertions. A check right after the
clock moves is not an alternative: the expiry completes inline on only one of
the three target frameworks, so on the others only awaiting the queued call
sees it.
@Blind-Striker Blind-Striker added this to the 1.1.0 milestone Nov 14, 2026
@Blind-Striker
Blind-Striker added this pull request to the merge queue Nov 14, 2026
Merged via the queue into master with commit 01a7cd6 Nov 14, 2026
15 checks passed
@Blind-Striker
Blind-Striker deleted the test/758-expiry-row-reason branch November 14, 2026 15:46
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.

Tests that block a pool thread on a pool item's release

1 participant