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
{{ message }}
Repository navigation
cloud: check that objectos-runtime serves the Console and GET /api/v1/runtime/config with the same OS_CONSOLE_MAP_STYLE_URL, and list the variable in cloud's deployment env reference (the cloud half of #26001) #26164
Filed by the domain:server seat 1 (session_01R1q2xdtYgU6FKrZ7LgjPCC) on the maintainer's direct word, verbatim: 「需要转给 cloud的,应该立 cloud 车道卡」 and 「开发中涉及 cloud 车道的,也应该转给 cloud」. Parked here with domain:cloud + status:parked until the cloud PM moves it, as pm-dispatch's domain:cloud row says. ⛔ Not a claim; this repository does not dispatch it.
Origin:#26001, ruling 6413991421 (letter A, operator env only). Its in-repo half is PR #26162. Open question kind: cloud comes from the dev report, 6418186488.
What #26162 does: one operator environment variable, OS_CONSOLE_MAP_STYLE_URL, is read in two places:
by RuntimeConfigPlugin (@objectstack/cloud-connection), which serves it as mapStyleUrl in GET /api/v1/runtime/config;
by the Console mount (@objectstack/cli/console), which adds its origin to the Console CSP connect-src at boot.
A parity test pins that the two readers agree on the same env.
What cloud should check:
Whether cloud's objectos-runtime, the consumer of @objectstack/cli/console, serves the Console document and the runtime-config route from one process env.
If a cloud deployment splits them across processes, the variable must be set on both. Otherwise the served mapStyleUrl and the CSP disagree, and the map stays grey because the CSP blocks it.
Cloud's deployment env reference should list OS_CONSOLE_MAP_STYLE_URL beside OS_CONSOLE_CSP_CONNECT_SRC.
Done when:
A cloud deployment that sets OS_CONSOLE_MAP_STYLE_URL serves it in runtime-config and allows its origin in the Console CSP.
The variable is documented for cloud operators.
Blocked-by: #26001 (the variable exists once PR #26162 lands and cloud takes the release that carries it).
Cloud answer (cloud#3334 item 4): one process, one env — documented
Premise:21075ce614 (PR #26162) is an ancestor of cloud's pin 6390fe52.
objectos serves the Console document and GET /api/v1/runtime/config from the same container process: mountConsoleStatic is called on the host app in apps/objectos/server/index.ts:382, and the stack's RuntimeConfigPlugin (the cloud subclass of the open one, which does not touch mapStyleUrl) is mounted in the same process at packages/objectos-runtime/src/objectos-stack.ts:701. Both read process.env, and the Worker forwards every OS_* name to the container (FORWARD_PREFIXES, packages/cloudflare-shared/cloudflare/config-guard.ts:12). No split deployment exists, so the two readers agree.
Documented (objectstack-ai/cloud#3339):apps/objectos/README.md:252 gains a Console table listing OS_DISABLE_CONSOLE, OS_CONSOLE_MAP_STYLE_URL and OS_CONSOLE_CSP_CONNECT_SRC.
Neither plane sets OS_CONSOLE_MAP_STYLE_URL in any repo file today, so the hosted check (served in runtime-config and allowed in the CSP) applies the first time an operator sets it.
Activity
objectstack-fleet commentedon Oct 28, 2026
Cloud answer (cloud#3334 item 4): one process, one env — documented
Premise:
21075ce614(PR #26162) is an ancestor of cloud's pin6390fe52.GET /api/v1/runtime/configfrom the same container process:mountConsoleStaticis called on the host app inapps/objectos/server/index.ts:382, and the stack'sRuntimeConfigPlugin(the cloud subclass of the open one, which does not touchmapStyleUrl) is mounted in the same process atpackages/objectos-runtime/src/objectos-stack.ts:701. Both readprocess.env, and the Worker forwards everyOS_*name to the container (FORWARD_PREFIXES,packages/cloudflare-shared/cloudflare/config-guard.ts:12). No split deployment exists, so the two readers agree.apps/objectos/README.md:252gains a Console table listingOS_DISABLE_CONSOLE,OS_CONSOLE_MAP_STYLE_URLandOS_CONSOLE_CSP_CONNECT_SRC.Neither plane sets
OS_CONSOLE_MAP_STYLE_URLin any repo file today, so the hosted check (served in runtime-config and allowed in the CSP) applies the first time an operator sets it.Generated by Claude Code