@systemfsoftware/effect-daemon-spec 3.0.9 → 3.0.10
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/CHANGELOG.md +7 -0
- package/dist/index.mjs +4 -4
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/index.mjs
CHANGED
|
@@ -740,14 +740,14 @@ const superviseChild = (ctx, child, idx) => Effect.gen(function* () {
|
|
|
740
740
|
if (!Exit.isSuccess(exit)) {
|
|
741
741
|
if (child.childPolicy.restart === "temporary") return StopEpoch.make();
|
|
742
742
|
if (yield* isChildIntensityBudgetDone(childIntensityOpt)) return StopEpoch.make();
|
|
743
|
-
return yield*
|
|
743
|
+
return yield* restartDescription({
|
|
744
744
|
strategy: "one_for_one",
|
|
745
745
|
failedIndex: idx,
|
|
746
746
|
totalChildren: ctx.booted.length,
|
|
747
747
|
ctx,
|
|
748
748
|
cause: exit.cause,
|
|
749
749
|
onRestart: () => Effect.void
|
|
750
|
-
})
|
|
750
|
+
}).run(supIntensity);
|
|
751
751
|
}
|
|
752
752
|
return StopEpoch.make();
|
|
753
753
|
});
|
|
@@ -785,14 +785,14 @@ const runGroup = (strategy, ctx) => Effect.gen(function* () {
|
|
|
785
785
|
if (failedBootedOpt.value.childPolicy.restart === "temporary") return StopEpoch.make();
|
|
786
786
|
const cIntForFailed = Option.flatten(Array.get(childIntensityTrackers, failedIdx));
|
|
787
787
|
if (yield* isChildIntensityBudgetDone(cIntForFailed)) return StopEpoch.make();
|
|
788
|
-
return yield*
|
|
788
|
+
return yield* restartDescription({
|
|
789
789
|
strategy,
|
|
790
790
|
failedIndex: failedIdx,
|
|
791
791
|
totalChildren: ctx.booted.length,
|
|
792
792
|
ctx,
|
|
793
793
|
cause: firstExit.cause,
|
|
794
794
|
onRestart: (decision) => Ref.set(cursor, decision.indices[0])
|
|
795
|
-
})
|
|
795
|
+
}).run(intensity);
|
|
796
796
|
}
|
|
797
797
|
return StopEpoch.make();
|
|
798
798
|
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/effect-daemon-spec",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.10",
|
|
5
5
|
"author": "Ryan Lee <drdgvhbh@gmail.com>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@systemfsoftware/effect-cell-types": "^
|
|
40
|
+
"@systemfsoftware/effect-cell-types": "^8.0.0"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@effect/vitest": "4.0.0-rc.112",
|
|
@@ -59,11 +59,11 @@
|
|
|
59
59
|
"vitest": "^4",
|
|
60
60
|
"@systemfsoftware/effect-gherkin-spec": "^4.0.2",
|
|
61
61
|
"@systemfsoftware/effect-schema-law": "^2.1.1",
|
|
62
|
+
"@systemfsoftware/oxlint-config": "^0.1.0",
|
|
63
|
+
"@systemfsoftware/oxlint-plugin-cell-vocabulary": "^2.0.4",
|
|
62
64
|
"@systemfsoftware/effect-schema-vite": "^2.1.1",
|
|
63
65
|
"@systemfsoftware/tsconfig": "^1.3.4",
|
|
64
|
-
"@systemfsoftware/
|
|
65
|
-
"@systemfsoftware/vitest-config": "^0.1.0",
|
|
66
|
-
"@systemfsoftware/oxlint-config": "^0.1.0"
|
|
66
|
+
"@systemfsoftware/vitest-config": "^0.1.0"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
69
|
"effect": "4.0.0-rc.112"
|