You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
registerMultiNodeGate is unenforceable by construction: mounted only via one app config (any non-EE-config boot route skips it, default-allow), and defeated by the CJS/ESM dual-instance split (#13365 class) even when mounted #13537
Filed by the repo:cloud execution seat (objectstack#6026, session session_01EzWYDkwr6WEwDGhMH1Jzuq, R26) from cloud#1752, which carries the measurements. This is the framework half; the cloud-side disclosure line and the product-level question stay on that card and on cloud#1742's decision respectively.
The two gaps (from cloud#1752, measured/derived on a real EE thin-extension cluster deployment)
Mount point: registerMultiNodeGate is wired ONLY in apps/objectos-ee/objectstack.config.ts (cloud repo). Framework serve's checkMultiNodeAlloweddefaults to allow when no gate is registered. Consequence, measured: a thin-extension route (host app's own config runs, EE config does not) boots OS_CLUSTER_DRIVER=redis with a trial license (maxNodes: 1) at 3 replicas — no downgrade, no over-limit warning, cluster coordination fully working. The OS_ARTIFACT_URL artifact-direct route has the same hole (config never executes). license.maxNodes has contract force only, no runtime force, on both routes.
Suggested direction (from cloud#1752, implementer/maintainer judges)
Sink the mount: the gate must not depend on one config file executing — register it from a package every licensed route necessarily loads (@objectstack/organizations / security-enterprise at their own module load, both createHostRequire 认 NODE_PATH,于是 #4699 立下的「host app 必须自己声明」在 pnpm 工作区里根本没被强制 #4719-declared on licensed routes), or have serve wire it directly when OS_LICENSE_KEY is present.
cloud#1742 (pending maintainer decision on whether the licensed-clustering path survives at all): if ruled retired, this card's scope shrinks to "remove the dead gate honestly"; if ruled kept, this card is what makes the entitlement real. Either ruling needs this card's facts.
cloud#1752 keeps the cloud-side action: docker-entrypoint.sh's reduced-surface announcement should name the unmounted gate until the root fix lands.
Refs: cloud#1752 (measurements) · #13365 (dual-instance mechanism, confirmed on the driver registry) · #4719 (hostImporter conditions) · steedos-labs/os-project-titanwind-ehr#1880 (field disclosure)
Filed by the repo:cloud execution seat (objectstack#6026, session
session_01EzWYDkwr6WEwDGhMH1Jzuq, R26) from cloud#1752, which carries the measurements. This is the framework half; the cloud-side disclosure line and the product-level question stay on that card and on cloud#1742's decision respectively.The two gaps (from cloud#1752, measured/derived on a real EE thin-extension cluster deployment)
Mount point:
registerMultiNodeGateis wired ONLY inapps/objectos-ee/objectstack.config.ts(cloud repo). Framework serve'scheckMultiNodeAlloweddefaults to allow when no gate is registered. Consequence, measured: a thin-extension route (host app's own config runs, EE config does not) bootsOS_CLUSTER_DRIVER=rediswith a trial license (maxNodes: 1) at 3 replicas — no downgrade, no over-limit warning, cluster coordination fully working. TheOS_ARTIFACT_URLartifact-direct route has the same hole (config never executes). license.maxNodes has contract force only, no runtime force, on both routes.Dual-instance split: the gate registry is module-level singleton state, not anchored on
globalThis— the same shape as the clusterdriverRegistryin hostImporter CJS/ESM 双构建实例错位:OS_CLUSTER_DRIVER=redis 注册进 CJS registry、Runtime 查 ESM registry → 拒启,且 serve 静默吞错 #13365. The EE config registers through bundle-require's ESM instance; serve readscheckMultiNodeAllowedthrough thecreateHostRequire认 NODE_PATH,于是 #4699 立下的「host app 必须自己声明」在 pnpm 工作区里根本没被强制 #4719 hostImporter's CJS condition (dist/index.cjs). Registration lands in instance A, the check reads instance B → the gate is inert even on the route that mounts it. Derived + same-mechanism-measured (the driver side is confirmed in hostImporter CJS/ESM 双构建实例错位:OS_CLUSTER_DRIVER=redis 注册进 CJS registry、Runtime 查 ESM registry → 拒启,且 serve 静默吞错 #13365); direct verification suggested: boot the EE image multi-replica with amaxNodes:1license and look for the downgrade/over-limit signal.Suggested direction (from cloud#1752, implementer/maintainer judges)
@objectstack/organizations/security-enterpriseat their own module load, bothcreateHostRequire认 NODE_PATH,于是 #4699 立下的「host app 必须自己声明」在 pnpm 工作区里根本没被强制 #4719-declared on licensed routes), or have serve wire it directly whenOS_LICENSE_KEYis present.Interaction
docker-entrypoint.sh's reduced-surface announcement should name the unmounted gate until the root fix lands.Refs: cloud#1752 (measurements) · #13365 (dual-instance mechanism, confirmed on the driver registry) · #4719 (hostImporter conditions) · steedos-labs/os-project-titanwind-ehr#1880 (field disclosure)