@mark1russell7/harness 0.15.5 → 0.15.7
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/README.md +10 -0
- package/build/{cell-BmqDPjz3.d.ts → cell-CHFQ55Ks.d.ts} +43 -6
- package/build/{image-D88I5WA_.js → image-CsPgXjcZ.js} +4 -7
- package/build/image-CsPgXjcZ.js.map +1 -0
- package/build/index.d.ts +51 -53
- package/build/index.js +122 -50
- package/build/index.js.map +1 -1
- package/build/schema.d.ts +2 -5
- package/build/schema.js +2 -3
- package/image/native/src/bin/inject.rs +40 -0
- package/image/native/src/bin/ports.rs +54 -4
- package/package.json +4 -4
- package/build/image-D88I5WA_.js.map +0 -1
package/build/index.d.ts
CHANGED
|
@@ -1,8 +1,7 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as Prediction, A as HostSysctl, At as Stage, B as LoadPlan, C as GroupPrediction, Ct as RunRoute, D as HopPlace, Dt as SentinelStage, E as HopEvent, Et as SentinelEvent, F as KafkaPause, Ft as Toxic, G as MiddleboxForm, H as LoadStream, I as KernelRecord, It as WsProbe, J as Pair, K as Observer, L as LineCount, Lt as environmentProblems, M as ImageSource, Mt as Subject, N as Jitter, Nt as Target, O as HopSignal, Ot as Shipped, P as Kafka, Pt as Topology, Q as PortsPrediction, R as LineMatch, Rt as isHopPlace, S as GroupPlace, St as RunPause, T as Hop, Tt as RunTopology, U as MiddleboxEvent, V as LoadPrediction, W as MiddleboxExpectation, X as PausePrediction, Y as PauseBand, Z as PinnedImage, _ as Fabric, _t as RunBackup, a as ClientCapability, at as QueueEnd, b as FaultPlace, bt as RunGroup, c as ClusterClientAt, ct as Recovers, d as CountBand, dt as ReplicaSetStage, et as ProbeEvent, f as DeliveryPrediction, ft as Replies, g as DriverStep, gt as Run, h as DriverBand, ht as RttRange, i as Client, it as QueueConnection, j as HttpProbe, jt as StageBand, k as HopWrite, kt as ShippedImage, l as ClusterStage, lt as Reference, m as DrillRoom, mt as RouterHop, n as CLIENT_CAPABILITIES, nt as ProxyTime, o as ClientImage, ot as QueuePrediction, p as Drill, pt as RequestPrediction, q as Outcomes, r as Cell, rt as QueueBand, s as Cluster, st as Reconnects, t as BuildImage, tt as ProxyHop, u as ConntrackPrediction, ut as ReplicaSet, v as FabricManifest, vt as RunDrill, w as GroupRole, wt as RunStream, x as Group, xt as RunPart, y as Fault, yt as RunFabric, z as LoadBand, zt as latestEndOf } from "./cell-CHFQ55Ks.js";
|
|
2
2
|
import { Quantity } from "@mark1russell7/quantity";
|
|
3
3
|
import { LoadMeasure, Schedule } from "@mark1russell7/rigor-chaos";
|
|
4
4
|
import { StartedTestContainer } from "testcontainers";
|
|
5
|
-
//#region src/application.d.ts
|
|
6
5
|
/**
|
|
7
6
|
* This module reads the acts of the program of the observer: its heartbeat, its drop of the
|
|
8
7
|
* connection, its reconnect and its call in flight. The kernel has no report of a detection by
|
|
@@ -94,6 +93,11 @@ export declare const dropFinding: (expected: "frame" | "close", drop: ProgramEve
|
|
|
94
93
|
export declare const jitterOfLines: (lines: readonly ProbeEvent[], socket: readonly KernelRecord[], local: unknown, until: number) => Jitter;
|
|
95
94
|
/** This function gives each ping of the program on the connection, with the kernel's stamp of its write in the pairing window (`delta`). */
|
|
96
95
|
export declare const pingsOf: (lines: readonly ProbeEvent[], socket: readonly KernelRecord[], local: unknown, delta?: Quantity) => ProgramEvent[];
|
|
96
|
+
/**
|
|
97
|
+
* This function gives each pong of the program on the connection: each `write` line with the type
|
|
98
|
+
* `pong`. Each pong has the kernel's stamp of its write in the pairing window (`delta`).
|
|
99
|
+
*/
|
|
100
|
+
export declare const pongsOf: (lines: readonly ProbeEvent[], socket: readonly KernelRecord[], local: unknown, delta?: Quantity) => ProgramEvent[];
|
|
97
101
|
/**
|
|
98
102
|
* This function gives the first ping that got no answer: no segment with data reached the socket
|
|
99
103
|
* after its write, up to `until`. Its write starts the wait of the heartbeat that the fault met.
|
|
@@ -135,8 +139,45 @@ interface CallReading {
|
|
|
135
139
|
}
|
|
136
140
|
/** This function reads the call that the client sent into the fault: its `call-error` or `data` line after the request. */
|
|
137
141
|
export declare const callOf: (events: readonly ProbeEvent[], request: ProbeEvent, detected: number | undefined) => CallReading;
|
|
138
|
-
|
|
139
|
-
|
|
142
|
+
/**
|
|
143
|
+
* This module reads the stream of a delivery cell (`DeliveryPrediction`): the events that the
|
|
144
|
+
* sender emitted, and the events that the receiver got. The lines of the client are the events of
|
|
145
|
+
* the run, and the lines of the target are its `server` lines.
|
|
146
|
+
*/
|
|
147
|
+
/** A stream is the workload of a delivery cell: its count of events, and the program that sends them. */
|
|
148
|
+
interface DeliveryStream {
|
|
149
|
+
readonly count: number;
|
|
150
|
+
readonly sender: "client" | "target";
|
|
151
|
+
}
|
|
152
|
+
/** A delivery reading is what a run of a stream delivered. */
|
|
153
|
+
interface DeliveryReading {
|
|
154
|
+
/** This count is the distinct events that the sender emitted. */
|
|
155
|
+
readonly emitted: number;
|
|
156
|
+
/** This count is the distinct events that the receiver got. */
|
|
157
|
+
readonly got: number;
|
|
158
|
+
/** This count is the emitted events that the receiver did not get. */
|
|
159
|
+
readonly lost: number;
|
|
160
|
+
/** This count is the extra copies that the receiver got. */
|
|
161
|
+
readonly duplicates: number;
|
|
162
|
+
/** This count is the distinct events that the receiver got and the sender did not emit. */
|
|
163
|
+
readonly unknown: number;
|
|
164
|
+
/** This value is the field `recovered` of the second connection of the client, or null without a second connection. */
|
|
165
|
+
readonly recovered: boolean | null;
|
|
166
|
+
/** This flag tells that the receiver got the last event of the stream. */
|
|
167
|
+
readonly ended: boolean;
|
|
168
|
+
}
|
|
169
|
+
/**
|
|
170
|
+
* This function gives the stream of a cell with a delivery law. It throws for a cell with no count
|
|
171
|
+
* of events: the law has no last event without it. It also throws for a target without its lines
|
|
172
|
+
* (`Target.lines`): the law reads the lines of the two programs.
|
|
173
|
+
*/
|
|
174
|
+
export declare const streamOf: (cell: Cell) => DeliveryStream;
|
|
175
|
+
/** This function tells that the receiver of a stream got its last event: the end of the wait of a run. */
|
|
176
|
+
export declare const streamEnded: (run: Run, stream: DeliveryStream) => boolean;
|
|
177
|
+
/** This function gives what a run of a stream delivered. */
|
|
178
|
+
export declare const deliveryOf: (run: Run, stream: DeliveryStream) => DeliveryReading;
|
|
179
|
+
/** This function gives the finding of a run of a stream against its law, or null when the run holds it. */
|
|
180
|
+
export declare const deliveryFinding: (prediction: DeliveryPrediction, stream: DeliveryStream, read: DeliveryReading) => string | null;
|
|
140
181
|
/**
|
|
141
182
|
* The measure and the verdict of an open-loop cell (SYS-68). A client on a schedule sends each
|
|
142
183
|
* arrival at its time, thus a stall counts in each arrival that it delayed. The package rigor-chaos
|
|
@@ -269,8 +310,6 @@ interface EstimateVerdict {
|
|
|
269
310
|
}
|
|
270
311
|
/** This function gives the estimate verdict of the counted runs, or undefined when no run has an estimate. */
|
|
271
312
|
export declare const estimateVerdict: (estimates: ReadonlyArray<RunEstimate | undefined>) => EstimateVerdict | undefined;
|
|
272
|
-
//#endregion
|
|
273
|
-
//#region src/driver.d.ts
|
|
274
313
|
/**
|
|
275
314
|
* This module measures a run of a cell whose client is a driver with more than one socket, for
|
|
276
315
|
* example the MongoDB driver. Its monitor, its pool and its round-trip pinger each have their own
|
|
@@ -338,8 +377,6 @@ export declare const referenceOf: (run: Run, from: Reference, role: string, data
|
|
|
338
377
|
* above the assumption.
|
|
339
378
|
*/
|
|
340
379
|
export declare const measureDriver: (cell: Cell, run: Run) => Measured;
|
|
341
|
-
//#endregion
|
|
342
|
-
//#region src/conntrack.d.ts
|
|
343
380
|
/** This record is the end of a connect that found no entry at its start. */
|
|
344
381
|
interface StallReading {
|
|
345
382
|
readonly errno: string;
|
|
@@ -375,8 +412,6 @@ interface ConntrackReading {
|
|
|
375
412
|
* the run did not start from an empty table.
|
|
376
413
|
*/
|
|
377
414
|
export declare const measureConntrack: (run: Run, expected: ConntrackPrediction) => Measured;
|
|
378
|
-
//#endregion
|
|
379
|
-
//#region src/pause.d.ts
|
|
380
415
|
/**
|
|
381
416
|
* This module reads one run of a paused consumer against its law. Two members of a group each hold
|
|
382
417
|
* one partition. A SIGSTOP stops the first member while it holds a batch, and a SIGCONT ends that
|
|
@@ -435,8 +470,6 @@ export declare const isFenceLine: (line: string) => boolean;
|
|
|
435
470
|
export declare const namesGroup: (line: string, group: string) => boolean;
|
|
436
471
|
/** This function reads one run of a paused consumer against its law. */
|
|
437
472
|
export declare const measurePause: (run: Run, prediction: PausePrediction) => Measured;
|
|
438
|
-
//#endregion
|
|
439
|
-
//#region src/recovery.d.ts
|
|
440
473
|
/**
|
|
441
474
|
* This module holds the pure parts of a recovery drill. These are the scripts of the shell, the reader
|
|
442
475
|
* of the output of `bsondump`, and the set check of a recovery. It has no container, thus unit tests
|
|
@@ -514,8 +547,6 @@ interface RecoveryMeasured {
|
|
|
514
547
|
export declare const recoveryOf: (drill: Drill, run: Run, t0: number) => RecoveryMeasured;
|
|
515
548
|
/** This function gives the findings of a drill: each rule of a recovery that its run broke. */
|
|
516
549
|
export declare const recoveryFindings: (measured: RecoveryMeasured, writes: Writes) => string[];
|
|
517
|
-
//#endregion
|
|
518
|
-
//#region src/timeline.d.ts
|
|
519
550
|
/**
|
|
520
551
|
* This module measures a run of a group cell. It gives the first write that a primary accepted
|
|
521
552
|
* after the fault, and the timeline of the group. The Sentinels of a group announce its timeline.
|
|
@@ -663,8 +694,6 @@ interface GroupReading {
|
|
|
663
694
|
* more than δ_abs late.
|
|
664
695
|
*/
|
|
665
696
|
export declare const measureGroup: (cell: Cell, run: Run) => GroupReading;
|
|
666
|
-
//#endregion
|
|
667
|
-
//#region src/ports.d.ts
|
|
668
697
|
/** This record is what a run of a port cell measured. */
|
|
669
698
|
interface PortsReading {
|
|
670
699
|
/** This count is the rounds of the run, each destination once. */
|
|
@@ -692,8 +721,6 @@ interface PortsReading {
|
|
|
692
721
|
* retransmissions.
|
|
693
722
|
*/
|
|
694
723
|
export declare const measurePorts: (run: Run, expected: PortsPrediction) => Measured;
|
|
695
|
-
//#endregion
|
|
696
|
-
//#region src/queue.d.ts
|
|
697
724
|
/** This record is what one connection of a queue cell did, from its lines and the records of its socket. */
|
|
698
725
|
interface QueueConnectionReading {
|
|
699
726
|
readonly name: string;
|
|
@@ -735,8 +762,6 @@ interface QueueReading {
|
|
|
735
762
|
* the prober give the waits of each socket.
|
|
736
763
|
*/
|
|
737
764
|
export declare const measureQueue: (run: Run, expected: QueuePrediction) => Measured;
|
|
738
|
-
//#endregion
|
|
739
|
-
//#region src/verdict.d.ts
|
|
740
765
|
/** This function gives the words of the outcome of a second request: its connection, a retry, and its end. */
|
|
741
766
|
export declare const requestWords: (outcome: {
|
|
742
767
|
readonly connection: "reused" | "new";
|
|
@@ -988,8 +1013,6 @@ export declare const medianInterval: (sorted: readonly number[]) => [number, num
|
|
|
988
1013
|
export declare const verdictOf: (prediction: Prediction, runs: readonly Measured[], noise?: Quantity) => Verdict;
|
|
989
1014
|
/** This function sums what the group of a group cell did in its counted runs, and tests each stage that has a band. */
|
|
990
1015
|
export declare const groupVerdictOf: (prediction: Prediction, counted: readonly Measured[], delta?: Quantity) => GroupVerdict;
|
|
991
|
-
//#endregion
|
|
992
|
-
//#region src/observe.d.ts
|
|
993
1016
|
/**
|
|
994
1017
|
* An outcome tells how the wait of a run ended. The socket failed with an errno, or it read the
|
|
995
1018
|
* end of the file. Or nothing came, or the reply came back after a stall. The observer can also
|
|
@@ -1089,6 +1112,8 @@ interface Measured {
|
|
|
1089
1112
|
readonly reconnect?: ReconnectReading;
|
|
1090
1113
|
/** This record is what the call in flight of a WebSocket client met. */
|
|
1091
1114
|
readonly call?: CallReading;
|
|
1115
|
+
/** This record is what a stream that crossed the fault delivered, for a prediction with a delivery law. */
|
|
1116
|
+
readonly delivery?: DeliveryReading;
|
|
1092
1117
|
/**
|
|
1093
1118
|
* This time is from the drop line of the program to the close of its socket by its own side: a
|
|
1094
1119
|
* FIN or an abort. A prediction that says how the program drops (`drop`) gets it. It is null
|
|
@@ -1201,8 +1226,6 @@ export declare const jitterOf: (cell: Cell, run: Run) => Jitter;
|
|
|
1201
1226
|
* Thus a `dial-error` line after the first try and before the end is also a new try.
|
|
1202
1227
|
*/
|
|
1203
1228
|
export declare const requestOf: (events: readonly ProbeEvent[]) => RequestReading | null;
|
|
1204
|
-
//#endregion
|
|
1205
|
-
//#region src/fabric.d.ts
|
|
1206
1229
|
/**
|
|
1207
1230
|
* A fabric is a routed network between the client and the target, on layer E3 (docs/S7.md). Four
|
|
1208
1231
|
* routers of FRRouting, two leaves and two spines, run real BGP over veth pairs that containerlab
|
|
@@ -1343,8 +1366,6 @@ interface FabricParts {
|
|
|
1343
1366
|
* sidecars with the other containers of the lab, and it calls `close` first.
|
|
1344
1367
|
*/
|
|
1345
1368
|
export declare const openFabric: (parts: FabricParts) => Promise<FabricLab>;
|
|
1346
|
-
//#endregion
|
|
1347
|
-
//#region src/image.d.ts
|
|
1348
1369
|
/** These are the names of the images that the harness ships. */
|
|
1349
1370
|
export declare const SHIPPED_NAMES: readonly [Shipped, ...Shipped[]];
|
|
1350
1371
|
/** This function gives the source of a shipped image. */
|
|
@@ -1482,8 +1503,6 @@ export declare const grpcClientImage: () => Promise<string>;
|
|
|
1482
1503
|
export declare const targetSourceOf: (target: Target) => string | ImageSource;
|
|
1483
1504
|
/** This function gives the image that a target operates: the image of its subject, or its stock image. */
|
|
1484
1505
|
export declare const targetImageOf: (target: Target) => Promise<string>;
|
|
1485
|
-
//#endregion
|
|
1486
|
-
//#region src/substrate.d.ts
|
|
1487
1506
|
/**
|
|
1488
1507
|
* A layer is a rung of the laboratory (`docs/S7.md`). E1 is containers on one kernel, and E2 is a
|
|
1489
1508
|
* cluster of containers on one kernel. A lab with `Topology.fabric` writes E3: routers in containers.
|
|
@@ -1577,8 +1596,6 @@ export declare const substrateKey: (substrate: Substrate) => string;
|
|
|
1577
1596
|
* substrate can miss a pair.
|
|
1578
1597
|
*/
|
|
1579
1598
|
export declare const unpoolable: (substrates: readonly Substrate[]) => readonly [Substrate, Substrate] | undefined;
|
|
1580
|
-
//#endregion
|
|
1581
|
-
//#region src/lab.d.ts
|
|
1582
1599
|
/**
|
|
1583
1600
|
* This time is the interval of the listing of a router, when its hop does not set one. A listing
|
|
1584
1601
|
* evicts each expired flow that it walks past, and the DESTROY event of that flow follows.
|
|
@@ -1602,9 +1619,10 @@ export declare const PUMP_SLACK: Quantity;
|
|
|
1602
1619
|
/**
|
|
1603
1620
|
* A network fault is a fault that the injector applies as a filter rule. It is a black hole (both
|
|
1604
1621
|
* directions, or one), or a reset on the next segment. It can also be an ICMP unreachable for each
|
|
1605
|
-
* segment, or a drop of each segment that is longer than a length.
|
|
1622
|
+
* segment, or a drop of each segment that is longer than a length. It can also be a drop of the
|
|
1623
|
+
* first ACK of each FIN that the namespace sends.
|
|
1606
1624
|
*/
|
|
1607
|
-
type NetworkFault = "blackhole" | "rst" | "reject" | "mtu";
|
|
1625
|
+
type NetworkFault = "blackhole" | "rst" | "reject" | "mtu" | "fin-ack";
|
|
1608
1626
|
/** These are the options of a network fault: the direction of a black hole, the code of a reject, the length of an MTU drop. */
|
|
1609
1627
|
interface FaultOptions {
|
|
1610
1628
|
/** This direction is relative to the namespace of the rule: `in` drops what comes from the peer, `out` what goes to it. */
|
|
@@ -1986,8 +2004,6 @@ export declare const deviceOf: (route: string) => string;
|
|
|
1986
2004
|
* target and each later hop see the router as the peer.
|
|
1987
2005
|
*/
|
|
1988
2006
|
export declare const openLab: (target: Target, kind?: Client | ClientImage, topology?: Topology) => Promise<Lab>;
|
|
1989
|
-
//#endregion
|
|
1990
|
-
//#region src/standby.d.ts
|
|
1991
2007
|
/** This text is the line of the log of a standby that serves reads (src/backend/postmaster/postmaster.c:3740). */
|
|
1992
2008
|
export declare const STANDBY_READY: string;
|
|
1993
2009
|
/** This text is the write of the client, with its sequence number. */
|
|
@@ -2012,8 +2028,6 @@ export declare const openStandby: (lab: Lab, cell: Cell) => Promise<Sibling>;
|
|
|
2012
2028
|
* environment. It removes its rows, thus the numbers of the run start on an empty table.
|
|
2013
2029
|
*/
|
|
2014
2030
|
export declare const pairOnce: (lab: Lab, standby: Sibling, cell: Cell, environment: number, index: number, dry?: boolean) => Promise<Run>;
|
|
2015
|
-
//#endregion
|
|
2016
|
-
//#region src/locks.d.ts
|
|
2017
2031
|
/**
|
|
2018
2032
|
* This module reads the lockfiles of a build context for the manifest of a run. A lockfile pins each
|
|
2019
2033
|
* package that a build installs, thus its sha256 pins the packages that the image holds. The
|
|
@@ -2053,8 +2067,6 @@ export declare const jarVersions: (list: string) => Record<string, string>;
|
|
|
2053
2067
|
* from such a lockfile.
|
|
2054
2068
|
*/
|
|
2055
2069
|
export declare const versionsOf: (files: readonly ContextFile[]) => Record<string, string>;
|
|
2056
|
-
//#endregion
|
|
2057
|
-
//#region src/pins.d.ts
|
|
2058
2070
|
/**
|
|
2059
2071
|
* This function gives each problem of a manifest that stops it from pinning the programs of its
|
|
2060
2072
|
* run. An empty list means that the manifest pins each program.
|
|
@@ -2089,8 +2101,6 @@ export declare const DEBUG = "the record is of a local debug run, and no page re
|
|
|
2089
2101
|
* of a schedule refuses it. A commit with changes to tracked files is not a pin.
|
|
2090
2102
|
*/
|
|
2091
2103
|
export declare const recordProblems: (record: Pinnable) => string[];
|
|
2092
|
-
//#endregion
|
|
2093
|
-
//#region src/group.d.ts
|
|
2094
2104
|
/**
|
|
2095
2105
|
* This module is the lab of a replicated group: a primary and its replicas, and the Sentinels
|
|
2096
2106
|
* that decide which member is the primary. It opens one environment for a group cell, and it does
|
|
@@ -2225,8 +2235,6 @@ export declare const subscriptionsOf: (timeline: readonly SentinelEvent[]) => Se
|
|
|
2225
2235
|
* tell which writes it kept.
|
|
2226
2236
|
*/
|
|
2227
2237
|
export declare const groupOnce: (lab: GroupLab, cell: Cell, environment: number, index: number) => Promise<Run>;
|
|
2228
|
-
//#endregion
|
|
2229
|
-
//#region src/replset.d.ts
|
|
2230
2238
|
/**
|
|
2231
2239
|
* This module is the lab of a replica set: a replicated group with no external authority, whose
|
|
2232
2240
|
* members elect their own primary. It opens one environment for a replica set cell, for the runs
|
|
@@ -2383,8 +2391,6 @@ export declare const replicaSetArgs: (cell: Cell, members: Readonly<Record<strin
|
|
|
2383
2391
|
* tell which writes it kept. The log lines of the members go onto the monotonic clock.
|
|
2384
2392
|
*/
|
|
2385
2393
|
export declare const replicaSetOnce: (lab: ReplicaSetLab, cell: Cell, environment: number, index: number) => Promise<Run>;
|
|
2386
|
-
//#endregion
|
|
2387
|
-
//#region src/drill.d.ts
|
|
2388
2394
|
/**
|
|
2389
2395
|
* This function does one run of a recovery drill:
|
|
2390
2396
|
* - The set converges, and it loses its writes. The tenants get their data, and a hash reads it.
|
|
@@ -2395,8 +2401,6 @@ export declare const replicaSetOnce: (lab: ReplicaSetLab, cell: Cell, environmen
|
|
|
2395
2401
|
* hash tells if the tenants have the same data.
|
|
2396
2402
|
*/
|
|
2397
2403
|
export declare const drillOnce: (lab: ReplicaSetLab, cell: Cell, environment: number, index: number) => Promise<Run>;
|
|
2398
|
-
//#endregion
|
|
2399
|
-
//#region src/cluster.d.ts
|
|
2400
2404
|
/**
|
|
2401
2405
|
* This module is the lab of a cluster of RabbitMQ with one quorum queue. The members of the queue
|
|
2402
2406
|
* elect its leader by Raft, one member on each node. It opens one environment for a cluster cell,
|
|
@@ -2566,8 +2570,6 @@ export declare const restamped: (line: NodeLine, events: readonly ProbeEvent[])
|
|
|
2566
2570
|
* then holds tell which publishes it kept. The log lines of the nodes go onto the monotonic clock.
|
|
2567
2571
|
*/
|
|
2568
2572
|
export declare const clusterOnce: (lab: ClusterLab, cell: Cell, environment: number, index: number) => Promise<Run>;
|
|
2569
|
-
//#endregion
|
|
2570
|
-
//#region src/kafka.d.ts
|
|
2571
2573
|
/** This function gives the node id of a name. A broker has its place in the list from 1, and the controller has the id after them. */
|
|
2572
2574
|
export declare const nodeIdOf: (kafka: Kafka, name: string) => number;
|
|
2573
2575
|
/**
|
|
@@ -2689,8 +2691,6 @@ export declare const kafkaOnce: (lab: KafkaLab, cell: Cell, environment: number,
|
|
|
2689
2691
|
* The law reads no kernel record, thus a lost record does not void this run.
|
|
2690
2692
|
*/
|
|
2691
2693
|
export declare const kafkaPauseOnce: (lab: KafkaLab, cell: Cell, environment: number, index: number) => Promise<Run>;
|
|
2692
|
-
//#endregion
|
|
2693
|
-
//#region src/run.d.ts
|
|
2694
2694
|
/** A cell result is a cell with its manifests, its runs, their measurements and its verdict. */
|
|
2695
2695
|
interface CellResult {
|
|
2696
2696
|
readonly cell: Cell;
|
|
@@ -2743,6 +2743,4 @@ export declare const environmentCounts: (cell: Cell, runs: number) => number[];
|
|
|
2743
2743
|
* Each environment does a warm-up first, and the result keeps it apart from the counted runs.
|
|
2744
2744
|
*/
|
|
2745
2745
|
export declare const runCell: (cell: Cell, say?: (line: string) => void) => Promise<CellResult>;
|
|
2746
|
-
|
|
2747
|
-
export { type Agent, type BuildImage, type BuildRecord, CLIENT_CAPABILITIES, type CallReading, type Cell, type CellResult, type Client, type ClientCapability, type ClientImage, type ClockPair, type Cloud, type Cluster, type ClusterClientAt, type ClusterLab, type ClusterStage, type ConntrackPrediction, type ConntrackReading, type ContextFile, type CountBand, type Crossings, type Cut, type Decision, type Drill, type DrillRoom, type DriverBand, type DriverSocket, type DriverStep, type DriverStepTime, type ErrorOnTheWay, type EstimateVerdict, type Fabric, type FabricLab, type FabricManifest, type FabricParts, type Fault, type FaultPlace, type FaultSide, type Group, type GroupClient, type GroupLab, type GroupMeasured, type GroupNetworkFault, type GroupPlace, type GroupPrediction, type GroupReading, type GroupRole, type GroupVerdict, type GroupView, type Hop, type HopEvent, type HopPlace, type HopSignal, type HopWrite, type Host, type HostSetting, type HostSysctl, type HttpProbe, type ImagePlan, type ImageSource, type Interval, type Jitter, type Kafka, type KafkaLab, type KafkaMember, type KafkaPause, type KernelRecord, type Lab, type Layer, type LeafViews, type LineCount, type LineMatch, type LoadBand, type LoadJudgement, type LoadPlan, type LoadPrediction, type LoadSpread, type LoadStream, type LoadVerdict, type Manifest, type ManifestHop, type Measured, type MemberLine, type MiddleboxEvent, type MiddleboxExpectation, type MiddleboxForm, type NetworkFault, type NodeLine, type Observer, type OplogRead, type OplogTime, type Outcome, type Outcomes, type Pair, type PairSets, type Pairing, type PartitionView, type PauseBand, type PauseCommit, type PausePrediction, type PauseReading, type Pinnable, type PinnedImage, type PortsPrediction, type PortsReading, type Prediction, type Probe, type ProbeEvent, type ProgramEvent, type ProxyHop, type ProxyTime, type QueueBand, type QueueConnection, type QueueConnectionReading, type QueueEnd, type QueuePrediction, type QueueReading, type ReconnectReading, type ReconnectVerdict, type Reconnects, type RecordCode, type Recovers, type RecoveryMeasured, type Reference, type Reordering, type ReplicaSet, type ReplicaSetLab, type ReplicaSetStage, type Replies, type RequestPrediction, type RequestReading, type RouteLine, type RouterHop, type RttRange, type Run, type RunBackup, type RunDrill, type RunEstimate, type RunFabric, type RunGroup, type RunLoad, type RunPart, type RunPause, type RunRoute, type RunStream, type RunTopology, type SentinelEvent, type SentinelStage, type Shipped, type ShippedImage, type Sibling, type SocketPlace, type Spread, type Stage, type StageBand, type StageVerdict, type StallReading, type Stamp, type Status, type StatusRow, type Subject, type Substrate, type SubstrateSource, type Target, type TimeFromFault, type Topology, type Toxic, type Verdict, type WallStamp, type Writes, type WsProbe, environmentProblems, isHopPlace, latestEndOf };
|
|
2748
|
-
//# sourceMappingURL=index.d.ts.map
|
|
2746
|
+
export { type Agent, type BuildImage, type BuildRecord, CLIENT_CAPABILITIES, type CallReading, type Cell, type CellResult, type Client, type ClientCapability, type ClientImage, type ClockPair, type Cloud, type Cluster, type ClusterClientAt, type ClusterLab, type ClusterStage, type ConntrackPrediction, type ConntrackReading, type ContextFile, type CountBand, type Crossings, type Cut, type Decision, type DeliveryPrediction, type DeliveryReading, type DeliveryStream, type Drill, type DrillRoom, type DriverBand, type DriverSocket, type DriverStep, type DriverStepTime, type ErrorOnTheWay, type EstimateVerdict, type Fabric, type FabricLab, type FabricManifest, type FabricParts, type Fault, type FaultPlace, type FaultSide, type Group, type GroupClient, type GroupLab, type GroupMeasured, type GroupNetworkFault, type GroupPlace, type GroupPrediction, type GroupReading, type GroupRole, type GroupVerdict, type GroupView, type Hop, type HopEvent, type HopPlace, type HopSignal, type HopWrite, type Host, type HostSetting, type HostSysctl, type HttpProbe, type ImagePlan, type ImageSource, type Interval, type Jitter, type Kafka, type KafkaLab, type KafkaMember, type KafkaPause, type KernelRecord, type Lab, type Layer, type LeafViews, type LineCount, type LineMatch, type LoadBand, type LoadJudgement, type LoadPlan, type LoadPrediction, type LoadSpread, type LoadStream, type LoadVerdict, type Manifest, type ManifestHop, type Measured, type MemberLine, type MiddleboxEvent, type MiddleboxExpectation, type MiddleboxForm, type NetworkFault, type NodeLine, type Observer, type OplogRead, type OplogTime, type Outcome, type Outcomes, type Pair, type PairSets, type Pairing, type PartitionView, type PauseBand, type PauseCommit, type PausePrediction, type PauseReading, type Pinnable, type PinnedImage, type PortsPrediction, type PortsReading, type Prediction, type Probe, type ProbeEvent, type ProgramEvent, type ProxyHop, type ProxyTime, type QueueBand, type QueueConnection, type QueueConnectionReading, type QueueEnd, type QueuePrediction, type QueueReading, type ReconnectReading, type ReconnectVerdict, type Reconnects, type RecordCode, type Recovers, type RecoveryMeasured, type Reference, type Reordering, type ReplicaSet, type ReplicaSetLab, type ReplicaSetStage, type Replies, type RequestPrediction, type RequestReading, type RouteLine, type RouterHop, type RttRange, type Run, type RunBackup, type RunDrill, type RunEstimate, type RunFabric, type RunGroup, type RunLoad, type RunPart, type RunPause, type RunRoute, type RunStream, type RunTopology, type SentinelEvent, type SentinelStage, type Shipped, type ShippedImage, type Sibling, type SocketPlace, type Spread, type Stage, type StageBand, type StageVerdict, type StallReading, type Stamp, type Status, type StatusRow, type Subject, type Substrate, type SubstrateSource, type Target, type TimeFromFault, type Topology, type Toxic, type Verdict, type WallStamp, type Writes, type WsProbe, environmentProblems, isHopPlace, latestEndOf };
|