@substrat-run/kernel 0.216.0 → 0.217.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/attachment-gate.d.ts +42 -0
- package/dist/attachment-gate.d.ts.map +1 -0
- package/dist/attachment-gate.js +36 -0
- package/dist/attachment-gate.js.map +1 -0
- package/dist/broker-erasure.d.ts +51 -0
- package/dist/broker-erasure.d.ts.map +1 -0
- package/dist/broker-erasure.js +161 -0
- package/dist/broker-erasure.js.map +1 -0
- package/dist/broker-relay-erasure.d.ts +27 -0
- package/dist/broker-relay-erasure.d.ts.map +1 -0
- package/dist/broker-relay-erasure.js +115 -0
- package/dist/broker-relay-erasure.js.map +1 -0
- package/dist/broker-relay.d.ts +292 -0
- package/dist/broker-relay.d.ts.map +1 -0
- package/dist/broker-relay.js +494 -0
- package/dist/broker-relay.js.map +1 -0
- package/dist/broker-schema.d.ts +25 -0
- package/dist/broker-schema.d.ts.map +1 -0
- package/dist/broker-schema.js +198 -0
- package/dist/broker-schema.js.map +1 -0
- package/dist/broker-telemetry.d.ts +288 -0
- package/dist/broker-telemetry.d.ts.map +1 -0
- package/dist/broker-telemetry.js +334 -0
- package/dist/broker-telemetry.js.map +1 -0
- package/dist/cost-rollup.d.ts +6 -0
- package/dist/cost-rollup.d.ts.map +1 -1
- package/dist/cost-rollup.js +22 -1
- package/dist/cost-rollup.js.map +1 -1
- package/dist/delivery-broker.d.ts +278 -0
- package/dist/delivery-broker.d.ts.map +1 -0
- package/dist/delivery-broker.js +516 -0
- package/dist/delivery-broker.js.map +1 -0
- package/dist/delivery-policy.d.ts +105 -0
- package/dist/delivery-policy.d.ts.map +1 -0
- package/dist/delivery-policy.js +105 -0
- package/dist/delivery-policy.js.map +1 -0
- package/dist/index.d.ts +12 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -0
- package/dist/index.js.map +1 -1
- package/dist/job-run.d.ts +21 -1
- package/dist/job-run.d.ts.map +1 -1
- package/dist/job-run.js +6 -0
- package/dist/job-run.js.map +1 -1
- package/dist/outbox-prune.d.ts +8 -1
- package/dist/outbox-prune.d.ts.map +1 -1
- package/dist/outbox-prune.js +6 -2
- package/dist/outbox-prune.js.map +1 -1
- package/dist/platform-sweep.d.ts +10 -1
- package/dist/platform-sweep.d.ts.map +1 -1
- package/dist/platform-sweep.js +37 -1
- package/dist/platform-sweep.js.map +1 -1
- package/dist/scope-host.d.ts +33 -8
- package/dist/scope-host.d.ts.map +1 -1
- package/dist/scope-host.js.map +1 -1
- package/dist/store-driver-releases.d.ts +9 -2
- package/dist/store-driver-releases.d.ts.map +1 -1
- package/dist/store-driver-releases.js +12 -7
- package/dist/store-driver-releases.js.map +1 -1
- package/dist/subject-keys.d.ts +7 -0
- package/dist/subject-keys.d.ts.map +1 -1
- package/dist/subject-keys.js +29 -5
- package/dist/subject-keys.js.map +1 -1
- package/dist/subject-redaction.d.ts +7 -0
- package/dist/subject-redaction.d.ts.map +1 -1
- package/dist/subject-redaction.js +34 -27
- package/dist/subject-redaction.js.map +1 -1
- package/package.json +2 -2
|
@@ -0,0 +1,292 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Broker to broker, and request-reply (K-74, rfc/broker-and-tenant-isolation.md §4.3–§4.4, #3469).
|
|
3
|
+
*
|
|
4
|
+
* A delivery broker (`delivery-broker.ts`) owns what its app's scopes handed off. This is how it
|
|
5
|
+
* hands a message to ANOTHER app of the tenant: through the router, to the receiving app's broker,
|
|
6
|
+
* which delivers to its own scope. Every hop acknowledges and drops a duplicate by message id:
|
|
7
|
+
*
|
|
8
|
+
* scope → broker `BrokerStore.accept`, by id (A1)
|
|
9
|
+
* broker → router → broker the sender keeps one row per (message, receiving app), so a retried
|
|
10
|
+
* message goes again only where it was not accepted; the receiver keeps
|
|
11
|
+
* one row per (calling app, message), so a repeat is acknowledged and
|
|
12
|
+
* nothing is stored twice
|
|
13
|
+
* broker → scope the receiving broker keeps whether it delivered, and the scope's
|
|
14
|
+
* import door journals by event id besides (#1705)
|
|
15
|
+
*
|
|
16
|
+
* The router stores nothing. It names the caller from what it verified (K-66's three lines), and
|
|
17
|
+
* resolves the receiving instance by the peer call's rule.
|
|
18
|
+
*
|
|
19
|
+
* **What crosses is decided at each end by that end's own running code, as #1705 decides it.** An
|
|
20
|
+
* event leaves only through the producer scope's export read (`RelayExports.exportOne`), so the
|
|
21
|
+
* same `exports` declaration, `readPermission`, classification, version and cascade rules that
|
|
22
|
+
* decide a pulled batch decide a pushed message, and a withheld row is named without its payload.
|
|
23
|
+
* The receiving scope's import door then admits the producer as a peer, as it does today. The
|
|
24
|
+
* broker carries what those doors released and parses only the envelope.
|
|
25
|
+
*
|
|
26
|
+
* **Request-reply.** The sending broker records who waits (the scope, and a resume target) and a
|
|
27
|
+
* deadline. A reply is paired with its request on arrival, judged against the deadline by the
|
|
28
|
+
* clock at that moment, not by whether an expiry pass has run: a reply at or after the deadline is
|
|
29
|
+
* refused and logged, never applied (K-62). Expiry and pairing each move a wait out of `waiting`
|
|
30
|
+
* with one conditional write, so exactly one of them wins a race, and the resume target is handed
|
|
31
|
+
* one outcome, once. The resume target is generic: a K-62 attempt's record operation today, a
|
|
32
|
+
* kernel process (Track C) later.
|
|
33
|
+
*
|
|
34
|
+
* Everything here is synchronous over the broker's own SQLite (`BrokerSql`) except the four seams,
|
|
35
|
+
* which an adapter provides. Nothing runs unless an adapter is given a relay, which no deployment
|
|
36
|
+
* is yet: the broker's switch is the binding (#3483), and the relay is a further option on it.
|
|
37
|
+
*/
|
|
38
|
+
import type { ExportedEvent, RelayAnswer, BrokerRelayCaller, RelayEnvelope, RelayHandoff, WithheldEvent } from '@substrat-run/contracts';
|
|
39
|
+
import { type BrokerMessage, type BrokerSql, type DeliveryReceiver } from './delivery-broker.js';
|
|
40
|
+
/**
|
|
41
|
+
* The router, as a sending broker reaches it. Who is calling is the transport's to name, from the
|
|
42
|
+
* dispatch it runs under, never an argument: neither method takes the calling app.
|
|
43
|
+
*/
|
|
44
|
+
export interface RelayRouter {
|
|
45
|
+
/** The apps of the tenant that subscribe to `type` from the calling app, from the installation. */
|
|
46
|
+
subscribers(input: {
|
|
47
|
+
tenantId: string;
|
|
48
|
+
type: string;
|
|
49
|
+
}): Promise<readonly string[]>;
|
|
50
|
+
/** Carry one message to one app's broker. A throw is a failure, retried; an answer is final. */
|
|
51
|
+
forward(tenantId: string, handoff: RelayHandoff): Promise<RelayAnswer>;
|
|
52
|
+
}
|
|
53
|
+
/** The producer scope's own export read, for one event and one consumer (#1705's rules, unchanged). */
|
|
54
|
+
export type ExportOutcome = {
|
|
55
|
+
outcome: 'released';
|
|
56
|
+
event: ExportedEvent;
|
|
57
|
+
} | {
|
|
58
|
+
outcome: 'withheld';
|
|
59
|
+
withheld: WithheldEvent;
|
|
60
|
+
}
|
|
61
|
+
/** The producer does not export the type: it is never relayed, and this is final. */
|
|
62
|
+
| {
|
|
63
|
+
outcome: 'unexported';
|
|
64
|
+
}
|
|
65
|
+
/** The consumer lacks a key it needs here. Authority can change, so this is retried, never final. */
|
|
66
|
+
| {
|
|
67
|
+
outcome: 'paused';
|
|
68
|
+
missing: readonly string[];
|
|
69
|
+
};
|
|
70
|
+
export interface RelayExports {
|
|
71
|
+
exportOne(input: {
|
|
72
|
+
tenantId: string;
|
|
73
|
+
scopeId: string;
|
|
74
|
+
consumer: string;
|
|
75
|
+
message: BrokerMessage;
|
|
76
|
+
}): Promise<ExportOutcome>;
|
|
77
|
+
}
|
|
78
|
+
/** The receiving broker's delivery to its own scope. A throw is a failure, retried. */
|
|
79
|
+
export interface RelayLocal {
|
|
80
|
+
deliver(envelope: RelayEnvelope): Promise<void>;
|
|
81
|
+
}
|
|
82
|
+
/** Where a request's outcome is handed: a K-62 attempt's record operation, in the waiting scope. */
|
|
83
|
+
export interface ResumeTarget {
|
|
84
|
+
operation: string;
|
|
85
|
+
attemptId: string;
|
|
86
|
+
}
|
|
87
|
+
export type ResumeResult = {
|
|
88
|
+
outcome: 'answered';
|
|
89
|
+
reply: {
|
|
90
|
+
id: string;
|
|
91
|
+
type: string;
|
|
92
|
+
body: unknown;
|
|
93
|
+
from: BrokerRelayCaller;
|
|
94
|
+
};
|
|
95
|
+
}
|
|
96
|
+
/** The deadline passed, or the request could not be carried. The attempt is abandoned (K-62). */
|
|
97
|
+
| {
|
|
98
|
+
outcome: 'expired';
|
|
99
|
+
reason: 'deadline' | 'no-broker' | 'refused';
|
|
100
|
+
};
|
|
101
|
+
export interface RelayResume {
|
|
102
|
+
/** A throw is a failure, retried: the outcome is decided already and only its handing over repeats. */
|
|
103
|
+
resume(input: {
|
|
104
|
+
tenantId: string;
|
|
105
|
+
scopeId: string;
|
|
106
|
+
requestId: string;
|
|
107
|
+
target: ResumeTarget;
|
|
108
|
+
result: ResumeResult;
|
|
109
|
+
}): Promise<void>;
|
|
110
|
+
}
|
|
111
|
+
/**
|
|
112
|
+
* The subscription an adapter registers the relay under (`BrokerRelay.receiver`). Its deliveries
|
|
113
|
+
* have the store's retries, pause and dead letter (A4) like any receiver's.
|
|
114
|
+
*/
|
|
115
|
+
export declare const RELAY_SUBSCRIPTION = "relay";
|
|
116
|
+
/** The waits after each failure of a relay row of its own: a request or reply sent, a delivery to the scope, a resume. */
|
|
117
|
+
export declare const RELAY_RETRY_MS: readonly number[];
|
|
118
|
+
/** The longest a request may wait. A deadline past it is refused at `request`. */
|
|
119
|
+
export declare const BROKER_WAIT_MAX_MS: number;
|
|
120
|
+
/** How many items of each kind one relay pass attempts before it yields. */
|
|
121
|
+
export declare const RELAY_PASS_BATCH = 50;
|
|
122
|
+
/**
|
|
123
|
+
* How long a settled relay row is kept: the window a repeated hop is recognised in. Past it a
|
|
124
|
+
* repeat is stored again, and the scope's door is what still drops it (#1705's journal).
|
|
125
|
+
*/
|
|
126
|
+
export declare const RELAY_RETENTION_MS: number;
|
|
127
|
+
/**
|
|
128
|
+
* The relay's own tables are step 4 of `BROKER_SCHEMA` (broker-schema.ts), beside the store's and
|
|
129
|
+
* touching none of them. What each holds is written there.
|
|
130
|
+
*/
|
|
131
|
+
export type HopState = 'owed' | 'accepted' | 'no-broker' | 'refused' | 'unexported';
|
|
132
|
+
export interface RelayHop {
|
|
133
|
+
app: string;
|
|
134
|
+
state: HopState;
|
|
135
|
+
attempts: number;
|
|
136
|
+
lastError: string | null;
|
|
137
|
+
}
|
|
138
|
+
export interface WaitRecord {
|
|
139
|
+
requestId: string;
|
|
140
|
+
tenantId: string;
|
|
141
|
+
scopeId: string;
|
|
142
|
+
toApp: string;
|
|
143
|
+
target: ResumeTarget;
|
|
144
|
+
deadline: number;
|
|
145
|
+
state: 'waiting' | 'answered' | 'expired';
|
|
146
|
+
reason: string | null;
|
|
147
|
+
replyId: string | null;
|
|
148
|
+
resumedAt: number | null;
|
|
149
|
+
}
|
|
150
|
+
/** What a scope's host code asks its broker to send and wait for. */
|
|
151
|
+
export interface RelayRequest {
|
|
152
|
+
id: string;
|
|
153
|
+
tenantId: string;
|
|
154
|
+
scopeId: string;
|
|
155
|
+
to: string;
|
|
156
|
+
type: string;
|
|
157
|
+
body: unknown;
|
|
158
|
+
/** Epoch ms the requester stops waiting. */
|
|
159
|
+
deadline: number;
|
|
160
|
+
resume: ResumeTarget;
|
|
161
|
+
}
|
|
162
|
+
/** What the receiving app's host code sends back. */
|
|
163
|
+
export interface RelayReply {
|
|
164
|
+
id: string;
|
|
165
|
+
tenantId: string;
|
|
166
|
+
scopeId: string;
|
|
167
|
+
/** The requesting app, as the request's envelope named it (`caller.app`). */
|
|
168
|
+
to: string;
|
|
169
|
+
requestId: string;
|
|
170
|
+
type: string;
|
|
171
|
+
body: unknown;
|
|
172
|
+
}
|
|
173
|
+
/** One relay pass's outcome. */
|
|
174
|
+
export interface RelayPass {
|
|
175
|
+
sent: number;
|
|
176
|
+
delivered: number;
|
|
177
|
+
expired: number;
|
|
178
|
+
resumed: number;
|
|
179
|
+
failed: number;
|
|
180
|
+
nextAt: number | null;
|
|
181
|
+
}
|
|
182
|
+
export interface BrokerRelayOptions {
|
|
183
|
+
router: RelayRouter;
|
|
184
|
+
exports: RelayExports;
|
|
185
|
+
local: RelayLocal;
|
|
186
|
+
resume: RelayResume;
|
|
187
|
+
now?: () => number;
|
|
188
|
+
/** The waits after each failure of the relay's own rows. Defaults to `RELAY_RETRY_MS`. */
|
|
189
|
+
retryMs?: readonly number[];
|
|
190
|
+
/** The longest a request may wait. Defaults to `BROKER_WAIT_MAX_MS`. */
|
|
191
|
+
maxWaitMs?: number;
|
|
192
|
+
/** How long a settled row is kept. Defaults to `RELAY_RETENTION_MS`. */
|
|
193
|
+
retentionMs?: number;
|
|
194
|
+
/** One structured line per refusal and expiry. Defaults to a JSON console line. */
|
|
195
|
+
log?: (line: Record<string, unknown>) => void;
|
|
196
|
+
}
|
|
197
|
+
/**
|
|
198
|
+
* One broker's relay: the sending half (`receiver`, `request`, `reply`), the receiving half
|
|
199
|
+
* (`accept`), and the pass that drives both (`pass`). An adapter keeps one per broker.
|
|
200
|
+
*/
|
|
201
|
+
export declare class BrokerRelay {
|
|
202
|
+
private readonly sql;
|
|
203
|
+
private readonly opts;
|
|
204
|
+
private readonly now;
|
|
205
|
+
private readonly retryMs;
|
|
206
|
+
private readonly log;
|
|
207
|
+
constructor(sql: BrokerSql, opts: BrokerRelayOptions);
|
|
208
|
+
/**
|
|
209
|
+
* The receiver an adapter registers as `RELAY_SUBSCRIPTION`: an event goes to every subscribing
|
|
210
|
+
* app, and an intent is nothing to relay. A throw is the store's to retry (A4's policy), and the
|
|
211
|
+
* retry carries the event again only to an app that did not accept it.
|
|
212
|
+
*/
|
|
213
|
+
receiver(): DeliveryReceiver;
|
|
214
|
+
private relayEvent;
|
|
215
|
+
private resolved;
|
|
216
|
+
private settleHop;
|
|
217
|
+
/** The per-app state of one relayed event. */
|
|
218
|
+
hops(messageId: string): RelayHop[];
|
|
219
|
+
/**
|
|
220
|
+
* Record a wait and the request that answers it, to be sent on the next pass. Idempotent by id: a
|
|
221
|
+
* repeat returns the wait as it stands and stores nothing.
|
|
222
|
+
*/
|
|
223
|
+
request(req: RelayRequest): WaitRecord;
|
|
224
|
+
/** Send a reply to a request this app received. Idempotent by id. */
|
|
225
|
+
reply(rep: RelayReply): void;
|
|
226
|
+
private insertOutgoing;
|
|
227
|
+
/** A request's wait, or null. */
|
|
228
|
+
waitOf(requestId: string): WaitRecord | null;
|
|
229
|
+
private waitRow;
|
|
230
|
+
/** The state of a request or reply this broker originated. */
|
|
231
|
+
outgoingState(id: string): string | null;
|
|
232
|
+
/**
|
|
233
|
+
* Take a message another app's broker relayed here: once per (calling app, id), and every repeat
|
|
234
|
+
* answered as the first was. A reply is paired here, against the clock now; an event or request
|
|
235
|
+
* is delivered to the scope by the next pass. Synchronous, in one storage transaction.
|
|
236
|
+
*/
|
|
237
|
+
accept(envelope: RelayEnvelope): RelayAnswer;
|
|
238
|
+
/** Pair a reply with its wait: the reason it is refused, or null when it answered the wait. */
|
|
239
|
+
private pair;
|
|
240
|
+
/** Move a wait from `waiting` to `expired`. One conditional write, so it never overtakes a reply. */
|
|
241
|
+
private expire;
|
|
242
|
+
/**
|
|
243
|
+
* One pass: expire what is past its deadline, send what is due, deliver what arrived to the scope,
|
|
244
|
+
* and hand each settled wait to its resume target. Every item is leased before its await (its next
|
|
245
|
+
* attempt moved out by the first retry step), so a pass that overlaps another does not repeat it.
|
|
246
|
+
*/
|
|
247
|
+
pass(limit?: number): Promise<RelayPass>;
|
|
248
|
+
private lease;
|
|
249
|
+
private sendDue;
|
|
250
|
+
private settleOutgoing;
|
|
251
|
+
private retryLater;
|
|
252
|
+
private deliverInbound;
|
|
253
|
+
private resumeSettled;
|
|
254
|
+
/**
|
|
255
|
+
* Epoch ms the relay next has work: a send, a delivery or a resume due, a deadline, or a settled
|
|
256
|
+
* row whose retention runs out. Null when it holds nothing.
|
|
257
|
+
*/
|
|
258
|
+
nextWakeAt(): number | null;
|
|
259
|
+
/**
|
|
260
|
+
* Drop what is settled and older than the retention: the window a repeat is recognised in. An
|
|
261
|
+
* event's hops go once every hop is settled. A wait goes once its outcome was handed over.
|
|
262
|
+
*/
|
|
263
|
+
prune(now: number): void;
|
|
264
|
+
}
|
|
265
|
+
/**
|
|
266
|
+
* The greatest id below `id` in ULID order, or null when there is none. An exclusive `after` read
|
|
267
|
+
* from it starts at `id` itself, which is how a single event is read through #1705's export read.
|
|
268
|
+
*/
|
|
269
|
+
export declare function idJustBefore(id: string): string | null;
|
|
270
|
+
/**
|
|
271
|
+
* `RelayExports.exportOne` over a host's export read (`readExportedEvents`, #1705): the same read,
|
|
272
|
+
* for one row and one consumer, at the row's own version (the consumer's door judges the version
|
|
273
|
+
* it takes). A read that answers some other row is refused rather than relayed.
|
|
274
|
+
*/
|
|
275
|
+
export declare function exportOneVia(read: (input: {
|
|
276
|
+
tenantId: string;
|
|
277
|
+
scopeId: string;
|
|
278
|
+
consumer: string;
|
|
279
|
+
after: string | null;
|
|
280
|
+
wants: {
|
|
281
|
+
type: string;
|
|
282
|
+
schemaVersion: number;
|
|
283
|
+
}[];
|
|
284
|
+
}) => Promise<{
|
|
285
|
+
events: readonly ExportedEvent[];
|
|
286
|
+
withheld: readonly WithheldEvent[];
|
|
287
|
+
unexported: readonly unknown[];
|
|
288
|
+
paused: {
|
|
289
|
+
missing: readonly string[];
|
|
290
|
+
} | null;
|
|
291
|
+
}>): RelayExports['exportOne'];
|
|
292
|
+
//# sourceMappingURL=broker-relay.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"broker-relay.d.ts","sourceRoot":"","sources":["../src/broker-relay.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,OAAO,KAAK,EACV,aAAa,EACb,WAAW,EACX,iBAAiB,EACjB,aAAa,EACb,YAAY,EAGZ,aAAa,EACd,MAAM,yBAAyB,CAAC;AAGjC,OAAO,EAA6C,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,KAAK,gBAAgB,EAAE,MAAM,sBA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