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:
@@ -51,10 +51,9 @@ test("portable contracts preserve exact selected operations and targets", () =>
|
||||
});
|
||||
});
|
||||
|
||||
test("portable dependency diagnostics reject remote defaults, missing targets, and broad acquisition", () => {
|
||||
test("portable dependency diagnostics reject remote defaults and broad acquisition", () => {
|
||||
for (const [selection, execution, message] of [
|
||||
["using [refresh.call]", "snapshot targets [browser]", "remote-only"],
|
||||
["using [label.get]", "snapshot targets [arduino]", "arduino"],
|
||||
["", "snapshot targets [browser]", "select"],
|
||||
["using [label.get, label.get]", "snapshot targets [browser]", "duplicates"],
|
||||
["using [label.set]", "snapshot targets [browser]", "Unknown"],
|
||||
@@ -65,6 +64,13 @@ test("portable dependency diagnostics reject remote defaults, missing targets, a
|
||||
}
|
||||
});
|
||||
|
||||
test("package code targets may exceed a dependency's public minimum", () => {
|
||||
const result = program("using [label.get]", "snapshot targets [arduino]");
|
||||
assert.ok(result.ok, JSON.stringify(result.diagnostics));
|
||||
// A workspace still has to provide the full installed closure before an
|
||||
// operation can promise this target; package code alone is insufficient.
|
||||
});
|
||||
|
||||
test("portable query getters and target declarations are checked", () => {
|
||||
assert.equal(data("remote").ok, false);
|
||||
assert.equal(data("transaction targets [browser]").ok, false);
|
||||
|
||||
Reference in New Issue
Block a user