mirror of
https://github.com/getpaseo/paseo.git
synced 2026-07-29 12:01:31 +00:00
* feat(sync): keep live data scoped and current Only viewed chats receive live timeline rows, while directory state now uses one subscribed bootstrap followed by ordered deltas. Legacy clients and daemons retain their existing behavior through centralized compatibility gates. * fix(sync): preserve selective delivery boundaries Keep selective timeline capability app-owned, union viewed sets across shared sockets, and reconcile directory side effects from accepted state. Visibility and archive suppression now follow their existing authoritative boundaries. * test(app): align browser fixtures with runtime contracts * fix(sync): preserve mixed-client delivery guarantees * fix(sync): finish paged history before advancing * fix(sync): replay live deltas after refresh failures * test(server): model socket capability lookup * test(app): use platform shortcut for split-pane coverage * fix(app): keep hidden timelines dormant * test(app): normalize split-pane shortcut setup * fix(app): preserve sync state across retries * fix(app): preserve background sync state across races * fix directory bootstrap reconciliation edge cases * fix selective timeline compatibility races * fix superseded directory sync races * fix(sync): centralize directory replica ordering Own agent and workspace refresh transactions in HostRuntime so reconnect epochs, buffered updates, and lifecycle invalidation share one ordering boundary. Route timeline metadata and mixed-capability stream delivery through their authoritative runtime sources. * fix(app): keep timeline requests runtime-scoped * fix(app): close directory bootstrap races
20 lines
713 B
TypeScript
20 lines
713 B
TypeScript
import { test } from "./fixtures";
|
|
import { DirectoryBootstrapScenario } from "./helpers/directory-bootstrap-scenario";
|
|
|
|
test.describe("Directory bootstrap correctness", () => {
|
|
test("connect, pushed deltas, and reconnect keep directories current without duplicate bootstraps", async ({
|
|
page,
|
|
}) => {
|
|
test.setTimeout(180_000);
|
|
const scenario = await DirectoryBootstrapScenario.open(page);
|
|
try {
|
|
await scenario.expectDirectoryStarts(1);
|
|
await scenario.stayConnectedWithoutRefetchAndApplyDeltas();
|
|
await scenario.disconnectMutateAndReconnect();
|
|
await scenario.expectVisibleReconciliationAndNavigateAgent();
|
|
} finally {
|
|
await scenario.cleanup();
|
|
}
|
|
});
|
|
});
|