@toa.io/boot 1.0.0-alpha.325 → 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 CHANGED
@@ -3,6 +3,13 @@
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
+
6
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)
7
14
 
8
15
  **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.325",
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.323",
25
- "@toa.io/core": "1.0.0-alpha.323",
26
- "@toa.io/definitions": "1.0.0-alpha.325",
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.325",
29
- "@toa.io/schemas": "1.0.0-alpha.311",
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.3",
31
+ "dotenv": "18.0.5",
32
32
  "openspan": "1.0.0-alpha.323"
33
33
  },
34
- "gitHead": "95bc03e65c65f02d536da6ed027cf4f78f5cec74"
34
+ "gitHead": "60f11bdc805d0c39bcb06064b2218b11114a35ad"
35
35
  }
@@ -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