Live push 1b follow-ups: since is a plain seq; no Member stream without a lease open
On branch fix/live-push-1b-followups
Two follow-ups to live push slice 1b (main 5a43342, #175), each with a test that failed without it. Base is main. Not deployed; DOCS_LIVE_PUSH stays off.
sinceis a plain seq; onlyLast-Event-IDcarries a tag (46d046b,stream.go). - Before: the stream split<seq>.<tag>on whichever source it read, so?since=<seq>.<tag>still put the row's digest in the query string, where access logs keep it. - Now onlyLast-Event-ID(a header, the oneEventSourcesends back from a frame's id) is split.sinceis a plain seq, asparseSincereads it, andsince=5.xis a 400. - Test:TestPushSinceIsAPlainSeq, which returned 200 before and 400 now.- A team stream with no lease ends if its standing reads Member (
9efa933,team_stream.gocheck). - Before: "never Member without a lease" rested onAccess.RemaininglatchingUnknownwhen it read 0. The tests'leaseRemainingstand-in doesn't latch, and a future roster might not either. - Now a stream with no deadline whose standing reads Member ends, and its reconnect is decided afresh with a lease. - Test:TestTeamStreamWithoutALeaseEndsIfItsStandingIsMember. It builds a guard with no deadline over alice's real Member access, resolved through her session exactly as the guard resolves it, so an actor mismatch can't make it pass. It went on before; it ends now.
Locally: the two tests, then the push, team, stream, late-answer and log-epoch tests once (-p 4, 55 s). The full suite runs on hub CI. Each commit builds on its own.