@fungi.computer/shed 0.5.21 → 0.6.1
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.
|
@@ -393,6 +393,7 @@ it("retains a process whose native cwd contains parent segments", async () => {
|
|
|
393
393
|
sync: "unknown",
|
|
394
394
|
startedAt: 1,
|
|
395
395
|
endedAt: null,
|
|
396
|
+
endedReason: null,
|
|
396
397
|
},
|
|
397
398
|
],
|
|
398
399
|
};
|
|
@@ -424,6 +425,7 @@ it("pages retained processes on the admitted Computer without starting work and
|
|
|
424
425
|
sync: "unknown",
|
|
425
426
|
startedAt: index + 1,
|
|
426
427
|
endedAt: null,
|
|
428
|
+
endedReason: null,
|
|
427
429
|
})).reverse();
|
|
428
430
|
let reads = 0;
|
|
429
431
|
let starts = 0;
|
|
@@ -490,6 +492,7 @@ it("projects a process page through the declared read Gill with App-local naviga
|
|
|
490
492
|
sync: "unknown",
|
|
491
493
|
startedAt: Date.now() - 480000,
|
|
492
494
|
endedAt: null,
|
|
495
|
+
endedReason: null,
|
|
493
496
|
};
|
|
494
497
|
const context: ShedMethodContext = {
|
|
495
498
|
env: {
|
|
@@ -581,6 +584,7 @@ it("shortens long display text without losing a retained process or changing its
|
|
|
581
584
|
sync: "unknown",
|
|
582
585
|
startedAt: 1,
|
|
583
586
|
endedAt: null,
|
|
587
|
+
endedReason: null,
|
|
584
588
|
};
|
|
585
589
|
const reply = await appBackend.gill(
|
|
586
590
|
{ id: "processes", params: { computer: "computer-a" } },
|
|
@@ -620,6 +624,7 @@ it("stops the selected process through the pinned Computer without accepting ano
|
|
|
620
624
|
sync: "unknown",
|
|
621
625
|
startedAt: 1,
|
|
622
626
|
endedAt: null,
|
|
627
|
+
endedReason: null,
|
|
623
628
|
};
|
|
624
629
|
const reply = { process, signalled: true };
|
|
625
630
|
const calls: unknown[] = [];
|
|
@@ -70,6 +70,7 @@ void it("reuses one process across repeated and restored calls, then returns its
|
|
|
70
70
|
sync: "synced",
|
|
71
71
|
startedAt: 1,
|
|
72
72
|
endedAt: null,
|
|
73
|
+
endedReason: null,
|
|
73
74
|
};
|
|
74
75
|
const computer = hostComputer({
|
|
75
76
|
processStart: (input: { command: string; cwd?: string }) => {
|
|
@@ -132,6 +133,7 @@ void it("tails only the recorded run log on its pinned Computer within the byte
|
|
|
132
133
|
sync: "synced",
|
|
133
134
|
startedAt: 1,
|
|
134
135
|
endedAt: null,
|
|
136
|
+
endedReason: null,
|
|
135
137
|
};
|
|
136
138
|
const reads: unknown[] = [];
|
|
137
139
|
const context = {
|
|
@@ -309,6 +311,7 @@ void it("tees both real shell streams, returns a nonzero exit as a normal result
|
|
|
309
311
|
sync: "unknown",
|
|
310
312
|
startedAt: 1,
|
|
311
313
|
endedAt: 2,
|
|
314
|
+
endedReason: null,
|
|
312
315
|
});
|
|
313
316
|
});
|
|
314
317
|
}),
|
|
@@ -522,6 +525,7 @@ void it("retains the original process across polls and reopen without any creden
|
|
|
522
525
|
sync: "synced",
|
|
523
526
|
startedAt: 1000,
|
|
524
527
|
endedAt: null,
|
|
528
|
+
endedReason: null,
|
|
525
529
|
};
|
|
526
530
|
const computer = hostComputer({
|
|
527
531
|
processStart: (input: { command: string; cwd?: string }) => {
|
|
@@ -577,6 +581,7 @@ function workflowRunFixture(t: TestContext) {
|
|
|
577
581
|
sync: "synced",
|
|
578
582
|
startedAt: 1000,
|
|
579
583
|
endedAt: null,
|
|
584
|
+
endedReason: null,
|
|
580
585
|
};
|
|
581
586
|
// Shed has no credential bindings any more. These tripwires would record a
|
|
582
587
|
// regression that mints, writes or renews one.
|
|
@@ -933,6 +938,7 @@ void it("drops the superseded claim table and keeps a current claim across reope
|
|
|
933
938
|
sync: "synced",
|
|
934
939
|
startedAt: 1,
|
|
935
940
|
endedAt: null,
|
|
941
|
+
endedReason: null,
|
|
936
942
|
};
|
|
937
943
|
let starts = 0;
|
|
938
944
|
const computer = hostComputer({
|
|
@@ -1000,6 +1006,7 @@ void it("returns a running process at start and reuses its durable claim after r
|
|
|
1000
1006
|
sync: "synced",
|
|
1001
1007
|
startedAt: 1,
|
|
1002
1008
|
endedAt: null,
|
|
1009
|
+
endedReason: null,
|
|
1003
1010
|
};
|
|
1004
1011
|
let starts = 0;
|
|
1005
1012
|
const computer = hostComputer({
|
|
@@ -1061,6 +1068,7 @@ void it("recovers a lost start reply with the same native input instead of start
|
|
|
1061
1068
|
sync: "synced",
|
|
1062
1069
|
startedAt: 1,
|
|
1063
1070
|
endedAt: null,
|
|
1071
|
+
endedReason: null,
|
|
1064
1072
|
};
|
|
1065
1073
|
const requests: unknown[] = [];
|
|
1066
1074
|
const computer = hostComputer({
|
|
@@ -1124,6 +1132,7 @@ void it("starts a declared port and binds retry identity to the native process p
|
|
|
1124
1132
|
sync: "unknown",
|
|
1125
1133
|
startedAt: 1,
|
|
1126
1134
|
endedAt: null,
|
|
1135
|
+
endedReason: null,
|
|
1127
1136
|
};
|
|
1128
1137
|
const requests: unknown[] = [];
|
|
1129
1138
|
const computer = hostComputer({
|