@systemfsoftware/effect-daemon-spec 3.0.5 → 3.0.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/CHANGELOG.md +17 -0
- package/dist/index.mjs +2 -11
- package/package.json +16 -16
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @systemfsoftware/effect-daemon-spec
|
|
2
2
|
|
|
3
|
+
## 3.0.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Re-released against @systemfsoftware/stryker-js without the removed --llms manifest. The Run stream no longer carries a manifest terminal event, and the RunEvent / RunTerminalEvent unions no longer include the manifest arm, so any exhaustive consumer of those types must drop that case.
|
|
8
|
+
|
|
9
|
+
- Rebuilds against updated workspace dependencies, including the new
|
|
10
|
+
`@systemfsoftware/stryker-js` reporter protocol major.
|
|
11
|
+
|
|
12
|
+
## 3.0.6
|
|
13
|
+
|
|
14
|
+
### Patch Changes
|
|
15
|
+
|
|
16
|
+
- Peer Effect requirement advances to 4.0.0-rc.112. No API changes.
|
|
17
|
+
|
|
18
|
+
- The arbitraries derived for several schema filters now construct their valid values directly instead of drawing many samples and discarding them. Filtered schemas such as the worker-call guard, the edit-entry guards, and the restart-cap check generate matching values on the first draws, so property suites that use them finish faster. Every value still satisfies the same filter as before.
|
|
19
|
+
|
|
3
20
|
## 3.0.5
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/index.mjs
CHANGED
|
@@ -17,7 +17,6 @@ const DynamicSpecTypeId = Symbol.for("@systemfsoftware/effect-daemon/DynamicSpec
|
|
|
17
17
|
//#endregion
|
|
18
18
|
//#region src/DaemonHealth.schema.ts
|
|
19
19
|
var DynamicLimitExceeded = class extends Schema.TaggedError()("DynamicLimitExceeded", { limit: Schema.Int.pipe(Schema.check(Schema.isGreaterThanOrEqualTo(0))) }) {};
|
|
20
|
-
Schema.decodeUnknownExit(DynamicLimitExceeded);
|
|
21
20
|
//#endregion
|
|
22
21
|
//#region src/DaemonMetrics.ts
|
|
23
22
|
const supervisorRestartsCounter = Metric.counter("app.daemon.supervisor.restart", { description: "Daemon supervisor restart count" });
|
|
@@ -55,10 +54,10 @@ var ChildPolicyConfig = class extends Schema.Class("ChildPolicyConfig")({
|
|
|
55
54
|
])),
|
|
56
55
|
intensity: Schema.optional(IntensityConfig)
|
|
57
56
|
}) {};
|
|
58
|
-
|
|
57
|
+
Schema.Class("SupervisorPolicyConfig")({
|
|
59
58
|
intensity: Schema.optional(IntensityConfig),
|
|
60
59
|
cooldown: Schema.optional(Schema.Duration)
|
|
61
|
-
})
|
|
60
|
+
});
|
|
62
61
|
var LockPolicyConfig = class extends Schema.Class("LockPolicyConfig")({
|
|
63
62
|
mode: Schema.optional(Schema.Literals([
|
|
64
63
|
"none",
|
|
@@ -76,14 +75,6 @@ const MaxChildren = Schema.Int.pipe(Schema.check(Schema.isBetween({
|
|
|
76
75
|
minimum: 1,
|
|
77
76
|
maximum: MAX_CHILDREN_CEILING
|
|
78
77
|
})), Schema.brand("MaxChildren"));
|
|
79
|
-
Schema.Int.pipe(Schema.check(Schema.makeFilter((children) => children < 1 || children > 1e3, { arbitrary: { candidate: {
|
|
80
|
-
weight: 20,
|
|
81
|
-
make: (fc) => fc.oneof(fc.integer({ max: 0 }), fc.integer({ min: 1001 }))
|
|
82
|
-
} } })));
|
|
83
|
-
Schema.decodeUnknownExit(ChildPolicyConfig);
|
|
84
|
-
Schema.decodeUnknownExit(LockPolicyConfig);
|
|
85
|
-
Schema.decodeUnknownExit(TickPolicyConfig);
|
|
86
|
-
Schema.decodeUnknownExit(SupervisorPolicyConfig);
|
|
87
78
|
//#endregion
|
|
88
79
|
//#region src/DaemonReporterAdapter.ts
|
|
89
80
|
var DaemonReporter = class extends Context.Service()("@systemfsoftware/effect-daemon-spec/DaemonReporterAdapter/DaemonReporter") {};
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@systemfsoftware/effect-daemon-spec",
|
|
3
3
|
"license": "Apache-2.0",
|
|
4
|
-
"version": "3.0.
|
|
4
|
+
"version": "3.0.7",
|
|
5
5
|
"author": "Ryan Lee <drdgvhbh@gmail.com>",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "git+https://github.com/systemfsoftware/systemfsoftware.git",
|
|
9
|
-
"directory": "packages/
|
|
9
|
+
"directory": "packages/effect-daemon-spec"
|
|
10
10
|
},
|
|
11
|
-
"homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/
|
|
11
|
+
"homepage": "https://github.com/systemfsoftware/systemfsoftware/tree/main/packages/effect-daemon-spec#readme",
|
|
12
12
|
"bugs": "https://github.com/systemfsoftware/systemfsoftware/issues",
|
|
13
13
|
"description": "Supervision-tree daemons for Effect-TS — leader election, distributed locks, restart-intensity backoff, dynamic children, and health latches as a pure typed core.",
|
|
14
14
|
"keywords": [
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"dist"
|
|
38
38
|
],
|
|
39
39
|
"dependencies": {
|
|
40
|
-
"@systemfsoftware/effect-cell-types": "^6.0.
|
|
40
|
+
"@systemfsoftware/effect-cell-types": "^6.0.1"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
43
|
"@effect/vitest": "4.0.0-rc.112",
|
|
@@ -45,28 +45,28 @@
|
|
|
45
45
|
"@systemfsoftware/arethetypeswrong-cli": "^1.1.1",
|
|
46
46
|
"@types/node": "^24",
|
|
47
47
|
"@vitest/coverage-v8": "^4",
|
|
48
|
-
"effect": "
|
|
48
|
+
"effect": "4.0.0-rc.112",
|
|
49
49
|
"fast-check": "^4",
|
|
50
50
|
"oxlint": "^1.77.0",
|
|
51
51
|
"rimraf": "^6.1.3",
|
|
52
52
|
"tsdown": "^0.22.14",
|
|
53
53
|
"typescript": "^7",
|
|
54
54
|
"vitest": "^4",
|
|
55
|
-
"@systemfsoftware/effect-gherkin-spec": "^4.0.
|
|
56
|
-
"@systemfsoftware/effect-schema-law": "^2.0.
|
|
57
|
-
"@systemfsoftware/effect-schema-vite": "^2.0.2",
|
|
58
|
-
"@systemfsoftware/stryker-js-cli": "^5.0.0",
|
|
59
|
-
"@systemfsoftware/stryker-js-typescript-checker": "^4.0.0",
|
|
55
|
+
"@systemfsoftware/effect-gherkin-spec": "^4.0.1",
|
|
56
|
+
"@systemfsoftware/effect-schema-law": "^2.0.2",
|
|
60
57
|
"@systemfsoftware/oxlint-config": "^0.1.0",
|
|
61
|
-
"@systemfsoftware/
|
|
62
|
-
"@systemfsoftware/stryker-
|
|
63
|
-
"@systemfsoftware/
|
|
64
|
-
"@systemfsoftware/stryker-
|
|
58
|
+
"@systemfsoftware/oxlint-plugin-cell-vocabulary": "^2.0.1",
|
|
59
|
+
"@systemfsoftware/stryker-js-cli": "^7.0.0",
|
|
60
|
+
"@systemfsoftware/effect-schema-vite": "^2.0.3",
|
|
61
|
+
"@systemfsoftware/stryker-js-typescript-checker": "^5.0.1",
|
|
62
|
+
"@systemfsoftware/stryker-js-vitest-runner": "^4.0.1",
|
|
63
|
+
"@systemfsoftware/stryker-plugins": "^3.0.1",
|
|
64
|
+
"@systemfsoftware/vitest-config": "^0.1.0",
|
|
65
65
|
"@systemfsoftware/tsconfig": "^1.3.3",
|
|
66
|
-
"@systemfsoftware/
|
|
66
|
+
"@systemfsoftware/stryker-test-contribution": "^2.0.1"
|
|
67
67
|
},
|
|
68
68
|
"peerDependencies": {
|
|
69
|
-
"effect": "
|
|
69
|
+
"effect": "4.0.0-rc.112"
|
|
70
70
|
},
|
|
71
71
|
"publishConfig": {
|
|
72
72
|
"provenance": true
|