room: advance the steer cursor after the checkpoint
ci / test (push) Successful in 59s
ci / checks (push) Successful in 55s
ci / web (push) Successful in 17s
ci / publish-edge-image (push) Skipped
ci / chart (push) Successful in 5s
ci / docker (push) Successful in 1m49s
ci / publish-edge-chart (push) Skipped
ci / checks (pull_request) Canceled after 0s
ci / test (pull_request) Canceled after 0s
ci / chart (pull_request) Canceled after 0s
ci / web (pull_request) Canceled after 0s
ci / docker (pull_request) Canceled after 0s
ci / publish-edge-image (pull_request) Canceled after 0s
ci / publish-edge-chart (pull_request) Canceled after 0s
ci / test (push) Successful in 59s
ci / checks (push) Successful in 55s
ci / web (push) Successful in 17s
ci / publish-edge-image (push) Skipped
ci / chart (push) Successful in 5s
ci / docker (push) Successful in 1m49s
ci / publish-edge-chart (push) Skipped
ci / checks (pull_request) Canceled after 0s
ci / test (pull_request) Canceled after 0s
ci / chart (pull_request) Canceled after 0s
ci / web (pull_request) Canceled after 0s
ci / docker (pull_request) Canceled after 0s
ci / publish-edge-image (pull_request) Canceled after 0s
ci / publish-edge-chart (pull_request) Canceled after 0s
The steering source seeded from `config.absorbed_seq`, which the runner loaded before the boundary pass advanced the row. When the burst that started the turn held a chat line before the mention, the first drain read that line back, appended it a second time, and moved the row backwards, so the next boundary pass appended the mention again. The row now has one writer. `RoomSteering::drain` keeps the cursor in memory, `commit` writes it after `save_session` succeeds, and the boundary pass hands its own cursor down in the config the turn reads. That is the order the boundary pass already uses, append then checkpoint then advance, and the framework's contract for a steering source: a line that comes back is deduped within the turn, a line retired too early is gone. A failed commit leaves the row behind, so a line can repeat, and it reports the failure instead of swallowing it. The drain rule moves to `steerable`, a pure function over the messages, and four tests cover it, the cursor handoff, and the row's waits.
This commit is contained in:
1 parent
d310735c71
commit
6b2624f0ba
4 files changed
+263
-43
No files matched your search
@@ -84,8 +84,9 @@ web/app/ Nuxt 4 SPA (no SSR)
|
||||
the turn future (turn-level steering) and starts a new turn over the
|
||||
committed session. A message without a mention never drops anything:
|
||||
`runner::RoomSteering` hands it to the framework's steering hook, which
|
||||
appends it at the next step boundary and advances `absorbed_seq` so the
|
||||
next boundary pass cannot repeat it. Do not drop the room task.
|
||||
appends it at the next step boundary; the turn advances `absorbed_seq`
|
||||
once that session is saved, so the next boundary pass cannot repeat it.
|
||||
Do not drop the room task.
|
||||
- The preview host label is `r<room>-p<port>-<expiry>-<hmac>.<preview
|
||||
host>` for a port, or `r<room>-s<hash>-<expiry>-<hmac>.<preview host>`
|
||||
for a static target. The HMAC covers the target and expiry with a key
|
||||
|
||||
Reference in new issue
Block a user