@toa.io/boot 1.0.0-alpha.324 → 1.0.0-alpha.326
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 +15 -0
- package/package.json +8 -8
- package/src/composition.js +9 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,21 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
# [1.0.0-alpha.326](https://github.com/toa-io/toa/compare/v1.0.0-alpha.325...v1.0.0-alpha.326) (2026-10-06)
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* **boot:** close a tenant before its component stops serving ([c327a12](https://github.com/toa-io/toa/commit/c327a1291032c3d2a66488d1d5b75770f0211a40))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
# [1.0.0-alpha.325](https://github.com/toa-io/toa/compare/v1.0.0-alpha.324...v1.0.0-alpha.325) (2026-10-02)
|
|
14
|
+
|
|
15
|
+
**Note:** Version bump only for package @toa.io/boot
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
6
21
|
# [1.0.0-alpha.324](https://github.com/toa-io/toa/compare/v1.0.0-alpha.323...v1.0.0-alpha.324) (2026-10-02)
|
|
7
22
|
|
|
8
23
|
**Note:** Version bump only for package @toa.io/boot
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@toa.io/boot",
|
|
3
|
-
"version": "1.0.0-alpha.
|
|
3
|
+
"version": "1.0.0-alpha.326",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Toa Boot",
|
|
6
6
|
"author": "temich <tema.gurtovoy@gmail.com>",
|
|
@@ -21,15 +21,15 @@
|
|
|
21
21
|
"test": "echo \"Error: run tests from root\" && exit 1"
|
|
22
22
|
},
|
|
23
23
|
"dependencies": {
|
|
24
|
-
"@toa.io/atomicity": "1.0.0-alpha.
|
|
25
|
-
"@toa.io/core": "1.0.0-alpha.
|
|
26
|
-
"@toa.io/definitions": "1.0.0-alpha.
|
|
24
|
+
"@toa.io/atomicity": "1.0.0-alpha.326",
|
|
25
|
+
"@toa.io/core": "1.0.0-alpha.326",
|
|
26
|
+
"@toa.io/definitions": "1.0.0-alpha.326",
|
|
27
27
|
"@toa.io/generic": "1.0.0-alpha.311",
|
|
28
|
-
"@toa.io/norm": "1.0.0-alpha.
|
|
29
|
-
"@toa.io/schemas": "1.0.0-alpha.
|
|
28
|
+
"@toa.io/norm": "1.0.0-alpha.326",
|
|
29
|
+
"@toa.io/schemas": "1.0.0-alpha.326",
|
|
30
30
|
"clone-deep": "4.0.1",
|
|
31
|
-
"dotenv": "18.0.
|
|
31
|
+
"dotenv": "18.0.5",
|
|
32
32
|
"openspan": "1.0.0-alpha.323"
|
|
33
33
|
},
|
|
34
|
-
"gitHead": "
|
|
34
|
+
"gitHead": "60f11bdc805d0c39bcb06064b2218b11114a35ad"
|
|
35
35
|
}
|
package/src/composition.js
CHANGED
|
@@ -80,6 +80,15 @@ export async function composition(paths, options) {
|
|
|
80
80
|
for (const receiver of receivers[i])
|
|
81
81
|
for (const producer of serving) receiver.depends(producer)
|
|
82
82
|
|
|
83
|
+
/*
|
|
84
|
+
* A tenant calls its own component as well — a pulse calls an operation, the dispatcher of
|
|
85
|
+
* delayed calls writes the rows it has made the calls of — and what it has in hand when it
|
|
86
|
+
* closes it finishes through these. A sibling, it would be left waiting for a reply from
|
|
87
|
+
* something torn down beside it, which is a shutdown that never ends.
|
|
88
|
+
*/
|
|
89
|
+
for (const tenant of tenants[i])
|
|
90
|
+
for (const producer of serving) tenant.depends(producer)
|
|
91
|
+
|
|
83
92
|
/*
|
|
84
93
|
* The broker producers serve the stateful endpoints under the process's name, and the
|
|
85
94
|
* name is held once they are open — before then a call to it is refused. `ready` is where
|