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
QUIC twins: after an agent restart the first fresh proxy stream re-subscribes nothing and prunes the dormant pairs; a later stream parks them dormant again — the ledger can hold dormant pairs the current proxy generation has no subscription for #1052
15:39:27Z: a second stream (most likely the previous proxy generation, still alive mid-handoff) re-subscribed them, and they were parked dormant again.
Because of that ordering the ledger can carry dormant pairs for which the current proxy generation holds no on-demand subscription. Harmless in this run (the pairs were revived on first use anyway, and #1051 now answers a named subscribe regardless of prior state), but it means "dormant" no longer implies "the proxy still holds the subscription", which is the premise of the republish-on-return path (#1038: "the proxy still holds their on-demand subscriptions, so the twin is pushed with no request").
Ask: key the dormant set by proxy generation (or clear it on a fresh stream that re-subscribes nothing and only re-park pairs re-subscribed by the stream that ends up being the live generation), and add a test with two overlapping streams in that order. Related: #1035, #1036, #1038, #1049, #1051.
Activity
fix(quic): track twin subscriptions per proxy generation so overlappi…