@camstack/server 1.2.151 → 1.2.153
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.
|
@@ -735,17 +735,31 @@ class AddonRegistryService {
|
|
|
735
735
|
meta: { addonIds: isolatedInfraIds },
|
|
736
736
|
});
|
|
737
737
|
await spawnRunnerPlan(this.buildAddonGroupPlan(isolatedInfraIds));
|
|
738
|
-
// Spawn returns when the child exists, not when UDS has registered
|
|
739
|
-
// `data-store-provider`. 1.2.150 proxied the handshake (D233) and
|
|
740
|
-
// still skipped every in-process builtin — device-manager included —
|
|
741
|
-
// because this wait was missing (D231 incomplete).
|
|
742
|
-
await (0, system_1.waitUntilReady)(() => this.capabilityRegistry.getCollection('data-store-provider').length > 0, {
|
|
743
|
-
timeoutMs: 30_000,
|
|
744
|
-
intervalMs: 50,
|
|
745
|
-
what: 'isolated data-store-provider engine',
|
|
746
|
-
});
|
|
747
738
|
}
|
|
748
739
|
await spawnRunnerPlan(this.buildAddonGroupPlan(allIds.filter((id) => !isolatedBuiltins.has(id))));
|
|
740
|
+
// Spawn returns when the child process exists. The UDS handshake that
|
|
741
|
+
// puts `data-store-provider` in this process's `getCollection` lands
|
|
742
|
+
// on a later tick — waiting immediately after the infra spawn (1.2.151)
|
|
743
|
+
// deadlocked: onModuleInit never yielded to the UDS read, the 30 s
|
|
744
|
+
// timeout aborted bootstrap, the starter crash-looped. The general
|
|
745
|
+
// spawn plan above is a sequence of `await`s, so the handshake can
|
|
746
|
+
// land; this wait is the remainder. A timeout must NOT throw: aborting
|
|
747
|
+
// boot is a crash loop, and the in-process builtins then skip the
|
|
748
|
+
// empty door the same way 1.2.150 did.
|
|
749
|
+
if (isolatedInfraIds.length > 0) {
|
|
750
|
+
try {
|
|
751
|
+
await (0, system_1.waitUntilReady)(() => this.capabilityRegistry.getCollection('data-store-provider').length > 0, {
|
|
752
|
+
timeoutMs: 30_000,
|
|
753
|
+
intervalMs: 50,
|
|
754
|
+
what: 'isolated data-store-provider engine',
|
|
755
|
+
});
|
|
756
|
+
}
|
|
757
|
+
catch (err) {
|
|
758
|
+
this.logger.error('Isolated data-store-provider engine did not register in time', {
|
|
759
|
+
meta: { error: (0, types_1.errMsg)(err), addonIds: isolatedInfraIds },
|
|
760
|
+
});
|
|
761
|
+
}
|
|
762
|
+
}
|
|
749
763
|
// In-process boot for `@camstack/system` builtins. Core builtins stay
|
|
750
764
|
// resident on the hub process — they provide the storage / settings
|
|
751
765
|
// / logging infrastructure every forked runner depends on, reachable
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@camstack/server",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.153",
|
|
4
4
|
"private": false,
|
|
5
5
|
"files": [
|
|
6
6
|
"dist",
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
"@camstack/addon-pipeline-orchestrator": "1.2.104",
|
|
43
43
|
"@camstack/addon-post-analysis": "1.2.118",
|
|
44
44
|
"@camstack/sdk": "1.2.30",
|
|
45
|
-
"@camstack/system": "1.2.
|
|
45
|
+
"@camstack/system": "1.2.121",
|
|
46
46
|
"@camstack/types": "1.2.102",
|
|
47
47
|
"@camstack/ui-library": "1.2.70",
|
|
48
48
|
"@fastify/compress": "^9.0.0",
|