Implement durable typed journals, subscriptions, and Reader document connections
Add checked native journal/subscription bindings, managed-reference retention, bounded history and backpressure, atomic delivery receipts, and fenced hosting. Preserve source publication prediction and replica reconciliation; subscription attachment, controls, and delivery remain authoritative in this initial version. Connect independent manual/Gutenberg document producers to Reader bookshelves through typed adapters. Add connection inspection, shared provider selection, authoring documentation, and restart/rejection/fan-out integration coverage. Verified compiler suite (287 passed, two existing skips), Nix runtime and PostgreSQL qualification, five example assemblies, headless Reader integration, Chromium Reader integration, resource pins, formatting, and lint. No pinned workspace runtime was deployed.
This commit is contained in:
@@ -82,9 +82,15 @@ test("closed generic specialization preserves reference-selected interface ports
|
||||
);
|
||||
});
|
||||
|
||||
test("portable input-selected reads require the dependency's declared target support", () => {
|
||||
test("portable input-selected reads use installed support beyond the public minimum", () => {
|
||||
const portable = pkg.replaceAll("targets [server]", "targets [browser, server]");
|
||||
assert.equal(compile(portable).ok, false);
|
||||
const optional = compile(portable);
|
||||
assert.ok(optional.ok, JSON.stringify(optional.diagnostics));
|
||||
const plan = compileExecutionPlan(optional.workspace);
|
||||
assert.deepEqual(plan.definition.operations.find((op) => op.operationId === "peek:call")!.availableTargets, [
|
||||
"browser",
|
||||
"server",
|
||||
]);
|
||||
const result = compile(portable, workspace, iface.replaceAll("targets [server]", "targets [browser, server]"));
|
||||
assert.ok(result.ok, JSON.stringify(result.diagnostics));
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user