Repository navigation
feat(runtime): keep tier 1 pages in sync - #426
Conversation
Astra reviewReviewed StandardsNo merge-blocking method or YAGNI findings. Spec
Verification: Summary: Standards 0 blockers; Spec 2, worst P1 public-scope admission bypass. |
Opus reviewScope: 1. A refused shared source leaves the document stuck on "Reconnecting" and re-runs the whole document every 30 s
The spec calls a refusal recoverable and reserves the reconnecting element for stream reconciliation to the fences. This implementation shows a consumer of a retired source "Reconnecting" for as long as the source stays retired, which is the acceptance scenario this ticket owns. Fix: treat a transient subscription error as reconciled for the pill (it reached the server and has an answer), leave its retry to the server's backoff, and don't answer one subscription's error with a document-wide 2. Every stream close puts every subscribed query into an error state immediately, including routine token-expiry closes
3.
|
|
Reviewed against #394 and #384 §8, on The hosted path is the method §8 named. A write bumps one durable revision inside its transaction. After commit, the transaction owner publishes resource keys. One
SpecThe local shell returns before the frame loads. Dev lifecycle has no counter to reconcile. The done-when lines are only partly tested. The diff does prove three of them:
These three are not in the diff:
The code path for those cases is real. Empty keys call An equal vector still counts as a re-run. #394 says resume with an equal vector costs no re-run. The 256 and 1,024 caps count this process. Checked and present: row writes and store put/delete bump StandardsHard. Hard. ADR-0003's ledger lists Hard. Judgement. The
MethodFor a table write the path is short. Listen and notify use different connections, so a replica can also receive its own
Keep YAGNIThe new modules are about as small as this behavior gets. The 1,762-line change in SummaryStandards: 3 hard findings, worst is the manufactured Reviewed with Grok 4.7 in the Grok CLI, eight read-only agents. |
|
Review disposition in 277d6e3. Read the Astra, Opus and Grok conversation reviews; GitHub reported no separate review bodies or inline comments. Fixed
Kept, with reasons
Verification
|
05ea99c to
965b909
Compare
277d6e3 to
1d2a24d
Compare
Tier 1 pages do not see colleagues' saves until reload, and lifecycle updates only reach documents on the same host.
Adds live
listandgetsubscriptions for owned and shared tables through.subscribeanduseQuery. Writes and source lifecycle changes commit durable revisions; local and Postgres wakes trigger bounded reruns, while reconciliation recovers missed notifications. Ordered resync preserves the last result and keeps the reconnecting pill visible until catch-up completes.Stacked on
tier2/393-stream. This PR targets that branch and contains only the #394 changes.Multi-replica ingress must use
patchy_stream_affinityapplication-cookie routing. The API reference and ADR document the required configuration.Verification
pnpm typecheckandpnpm lintpassed.pnpm test: 104 files, 1,166 tests passed.Closes #394.
Implemented with OpenAI GPT-6 Astra via omp.