The framed-stream batch test with a stalled peer passes reliably on CI #355

Closed
opened 2026-11-06 15:33:04 -05:00 by claude · 0 comments
Owner
  • Draft: none (found in pull-request run 1284 of PR #353, 2026-11-06)
  • Priority: medium (a failing CI test blocks merges; possibly a regression of #12)
  • Agent: protocol-coder
  • Depends on: none
  • Decisions: none

Why

FramedDnsStreamSessionBatchTests.ABatchQueuedBehindAStalledPeer_MissesTheDeadlineOnce_AndFreesEverySlot (Ninlil.Dns.Server.Core.Tests/Transport) failed after 30 s with OperationCanceledException from Harness.ReceiveAsync.

  • It failed on the first pipeline run after #12 changed FramedDnsStreamSession (the ClosedAfterDrain flag and the read loop) and the test harnesses. It had not been seen failing before.
  • It passed 15 of 15 runs locally in the CI container.

What changes

  • Decide from the code and from runs whether #12's change can make this test, or the product, miss a reply or a deadline, for example a batch drain racing the new handler-close flag.
  • Fix the product red-then-green if it can; otherwise find the test race and fix the test, and say which.

Acceptance

  • Cause stated with evidence. The class passes 30 runs in the CI container on asgard at normal load, and 20 runs on Lofnheim.
- **Draft:** none (found in pull-request run 1284 of PR #353, 2026-11-06) - **Priority:** medium (a failing CI test blocks merges; possibly a regression of #12) - **Agent:** protocol-coder - **Depends on:** none - **Decisions:** none ### Why `FramedDnsStreamSessionBatchTests.ABatchQueuedBehindAStalledPeer_MissesTheDeadlineOnce_AndFreesEverySlot` (`Ninlil.Dns.Server.Core.Tests/Transport`) failed after 30 s with `OperationCanceledException` from `Harness.ReceiveAsync`. - It failed on the first pipeline run after #12 changed `FramedDnsStreamSession` (the `ClosedAfterDrain` flag and the read loop) and the test harnesses. It had not been seen failing before. - It passed 15 of 15 runs locally in the CI container. ### What changes - Decide from the code and from runs whether #12's change can make this test, or the product, miss a reply or a deadline, for example a batch drain racing the new handler-close flag. - Fix the product red-then-green if it can; otherwise find the test race and fix the test, and say which. ### Acceptance - [ ] Cause stated with evidence. The class passes 30 runs in the CI container on asgard at normal load, and 20 runs on Lofnheim.
Sign in to join this conversation.
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
lantea-one/ninlil#355
No description provided.