@mark1russell7/harness 0.15.1 → 0.15.3
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/build/{cell-biffSiEJ.d.ts → cell-BmqDPjz3.d.ts} +23 -2
- package/build/{image-BxVTFZ1o.js → image-B8yh_FF7.js} +9 -2
- package/build/{image-BxVTFZ1o.js.map → image-B8yh_FF7.js.map} +1 -1
- package/build/index.d.ts +23 -4
- package/build/index.js +147 -10
- package/build/index.js.map +1 -1
- package/build/schema.d.ts +1 -1
- package/build/schema.js +1 -1
- package/image/native/src/bin/client.rs +64 -2
- package/package.json +1 -1
|
@@ -1478,6 +1478,13 @@ interface HopPlace {
|
|
|
1478
1478
|
type FaultPlace = "target" | "client" | HopPlace | GroupPlace;
|
|
1479
1479
|
/** This function tells if a fault place is a hop of a topology. */
|
|
1480
1480
|
declare const isHopPlace: (place: FaultPlace | undefined) => place is HopPlace;
|
|
1481
|
+
/**
|
|
1482
|
+
* This function gives each problem of the environments of a cell. An empty list means that the
|
|
1483
|
+
* environments of the cell can operate. A value of the host is the same for each environment of the
|
|
1484
|
+
* host. Thus a cell with sysctls of the host operates one environment at a time. Otherwise, a lab
|
|
1485
|
+
* reads the value of a different lab as its value before, and the restore does not give back the host.
|
|
1486
|
+
*/
|
|
1487
|
+
declare const environmentProblems: (cell: Cell) => string[];
|
|
1481
1488
|
/**
|
|
1482
1489
|
* This function gives the latest end of a band in seconds, from the reply of the client. It is
|
|
1483
1490
|
* the high bound, after the latest reference of the band (`startsBy`).
|
|
@@ -1670,6 +1677,20 @@ interface RunDrill {
|
|
|
1670
1677
|
} | null;
|
|
1671
1678
|
/** This number is the first sequence number of the second client, or null with one client. */
|
|
1672
1679
|
readonly second: number | null;
|
|
1680
|
+
/** This record is the room of the runner before the seed. A record from before SYS-97 has none. */
|
|
1681
|
+
readonly room?: DrillRoom;
|
|
1682
|
+
}
|
|
1683
|
+
/**
|
|
1684
|
+
* A drill room is what the runner had before the seed of a drill, and what the drill needs. When the
|
|
1685
|
+
* free disk is under the need, the drill does no seed and its run is void (`roomVoidOf`).
|
|
1686
|
+
*/
|
|
1687
|
+
interface DrillRoom {
|
|
1688
|
+
/** This size is the free disk of the backup host. Each container of the lab writes to the same disk of the runner. */
|
|
1689
|
+
readonly disk: Quantity;
|
|
1690
|
+
/** This size is MemAvailable of the runner. The cache of each member has a fixed size, thus it is a record and not a limit. */
|
|
1691
|
+
readonly memory: Quantity;
|
|
1692
|
+
/** This size is the most disk that the drill needs (`roomNeeded`). */
|
|
1693
|
+
readonly need: Quantity;
|
|
1673
1694
|
}
|
|
1674
1695
|
/**
|
|
1675
1696
|
* A run topology tells where each socket of a run is, in a topology:
|
|
@@ -1687,5 +1708,5 @@ interface RunTopology {
|
|
|
1687
1708
|
}>>;
|
|
1688
1709
|
}
|
|
1689
1710
|
//#endregion
|
|
1690
|
-
export {
|
|
1691
|
-
//# sourceMappingURL=cell-
|
|
1711
|
+
export { ProbeEvent as $, HttpProbe as A, StageBand as At, LoadPrediction as B, GroupRole as C, RunStream as Ct, HopSignal as D, Shipped as Dt, HopPlace as E, SentinelStage as Et, KernelRecord as F, WsProbe as Ft, Observer as G, MiddleboxEvent as H, LineCount as I, environmentProblems as It, PauseBand as J, Outcomes as K, LineMatch as L, isHopPlace as Lt, Jitter as M, Target as Mt, Kafka as N, Topology as Nt, HopWrite as O, ShippedImage as Ot, KafkaPause as P, Toxic as Pt, Prediction as Q, LoadBand as R, latestEndOf as Rt, GroupPrediction as S, RunRoute as St, HopEvent as T, SentinelEvent as Tt, MiddleboxExpectation as U, LoadStream as V, MiddleboxForm as W, PinnedImage as X, PausePrediction as Y, PortsPrediction as Z, FabricManifest as _, RunDrill as _t, ClientCapability as a, QueuePrediction as at, Group as b, RunPart as bt, ClusterClientAt as c, Reference as ct, CountBand as d, Replies as dt, ProxyHop as et, Drill as f, RequestPrediction as ft, Fabric as g, RunBackup as gt, DriverStep as h, Run as ht, Client as i, QueueEnd as it, ImageSource as j, Subject as jt, HostSysctl as k, Stage as kt, ClusterStage as l, ReplicaSet as lt, DriverBand as m, RttRange as mt, CLIENT_CAPABILITIES as n, QueueBand as nt, ClientImage as o, Reconnects as ot, DrillRoom as p, RouterHop as pt, Pair as q, Cell as r, QueueConnection as rt, Cluster as s, Recovers as st, BuildImage as t, ProxyTime as tt, ConntrackPrediction as u, ReplicaSetStage as ut, Fault as v, RunFabric as vt, Hop as w, RunTopology as wt, GroupPlace as x, RunPause as xt, FaultPlace as y, RunGroup as yt, LoadPlan as z };
|
|
1712
|
+
//# sourceMappingURL=cell-BmqDPjz3.d.ts.map
|
|
@@ -13,6 +13,13 @@ const CLIENT_CAPABILITIES = ["NET_ADMIN"];
|
|
|
13
13
|
/** This function tells if a fault place is a hop of a topology. */
|
|
14
14
|
const isHopPlace = (place) => typeof place === "object" && "hop" in place;
|
|
15
15
|
/**
|
|
16
|
+
* This function gives each problem of the environments of a cell. An empty list means that the
|
|
17
|
+
* environments of the cell can operate. A value of the host is the same for each environment of the
|
|
18
|
+
* host. Thus a cell with sysctls of the host operates one environment at a time. Otherwise, a lab
|
|
19
|
+
* reads the value of a different lab as its value before, and the restore does not give back the host.
|
|
20
|
+
*/
|
|
21
|
+
const environmentProblems = (cell) => (cell.hostSysctls?.length ?? 0) > 0 && (cell.concurrency ?? 1) > 1 ? [`${cell.name}: a cell with sysctls of the host operates one environment at a time, not ${cell.concurrency}`] : [];
|
|
22
|
+
/**
|
|
16
23
|
* This function tells if the request of a client goes before the fault of its cell. That is so for a
|
|
17
24
|
* hop event that comes while the request is in flight (`HopEvent.inFlight`). Then a request after the fault is void.
|
|
18
25
|
*/
|
|
@@ -662,6 +669,6 @@ const targetSourceOf = (target) => target.subject ?? target.image;
|
|
|
662
669
|
/** This function gives the image that a target operates: the image of its subject, or its stock image. */
|
|
663
670
|
const targetImageOf = (target) => imageOf(targetSourceOf(target));
|
|
664
671
|
//#endregion
|
|
665
|
-
export { unlockedManifests as A,
|
|
672
|
+
export { unlockedManifests as A, environmentProblems as B, programOf as C, subjectProblems as D, subjectClient as E, jarVersions as F, latestEndOf as H, locksOf as I, npmVersions as L, LOCK_NAMES as M, cargoVersions as N, targetImageOf as O, goVersions as P, versionsOf as R, planOf as S, shippedSource as T, requestFirst as U, isHopPlace as V, kafkaClientImage as _, SHIPPED_NAMES as a, nodeHttpImage as b, buildRecordOf as c, harnessImage as d, harnessVersion as f, inContext as g, imageProblems as h, SHIPPED_CLIENTS as i, unpinnedBases as j, targetSourceOf as k, goHttpImage as l, imageOf as m, PINNED as n, amqpClientImage as o, hikariClientImage as p, REPOSITORY as r, basesOf as s, CLIENT_NAMES as t, grpcClientImage as u, mongoClientImage as v, routerImage as w, pgClientImage as x, nodeClientImage as y, CLIENT_CAPABILITIES as z };
|
|
666
673
|
|
|
667
|
-
//# sourceMappingURL=image-
|
|
674
|
+
//# sourceMappingURL=image-B8yh_FF7.js.map
|