Skip to content

Exercise the first-attach history and live-event overlap during busy close #1959

Open

Description

@eric8810

The Linux workspace run on #1910 failed the exact event-list comparison in handshake_errors_and_a_busy_close_are_real_transport_boundaries. Attach returned sequence 2. The first notification was the input at sequence 2, followed by its applied event at sequence 3. The expected list starts at 3. CI job

On main, Connection reads the Session record before installing the first listener. SessionBroadcast emits each event when Dispatcher processes it. An event already in the record's history can therefore be delivered to this listener for the first time after the attach reply. The test, the attach handler and SessionBroadcast are unchanged in the PR.

Pin down this overlap in a deterministic transport flow. Keep the existing checks for handshake errors, ordered delivery through a busy close, terminal settlement, and the protocol-v1 stop filter. Track separately from the Session data-face migration.

Activity

  1. self-assigned this
    on Nov 20, 2026
  2. added
    core
    P2
    on Nov 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

P2core

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions