Commit 2a1fc86
chore: remove apps/cloud (split to objectstack-ai/cloud) (#1257)
* chore: remove apps/cloud (split to objectstack-ai/cloud repo)
The cloud control plane (cloud.objectos.app) is now built and deployed
from the private split repo objectstack-ai/cloud as part of the public
core / private cloud split (ADR planning ref: §1 of session plan.md).
Changes:
- Delete apps/cloud entirely (32 files, ~2.7K LOC removed).
- Drop "dev:cloud" script from root package.json.
- Slim .github/workflows/deploy.yml to objectos-only:
- Workflow renamed to 'Deploy ObjectOS to Cloudflare Containers'.
- Removed cloud job + plan-target input + deploy-cloud-* / deploy-all-* tag triggers.
- Cloud deploy now lives in objectstack-ai/cloud's own workflow.
What remains coupled (separate follow-up):
- packages/services/service-cloud still re-exported by framework
packages/runtime + packages/cli. Decoupling is tracked separately
(todo id: framework-decouple-service-cloud).
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* test(runtime): align with sys_project → sys_environment rename
Pre-existing test drift from ADR-0006 project→environment rename:
production code reads sys_environment / sys_environment_member with
environment_id columns, but four tests still expected the old names.
This commit only renames in tests; no production code changes.
Fixes 4 failing tests in:
- packages/runtime/src/http-dispatcher.test.ts (RBAC membership lookup)
- packages/runtime/src/cloud/platform-sso.test.ts (backfill scanning)
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* refactor(cli): graceful failure when service-cloud is unavailable
The cloud/runtime boot mode dispatch dynamically imports
@objectstack/service-cloud. Previously a missing/broken install would
fail with an opaque ERR_MODULE_NOT_FOUND stack trace.
Wrap the import in try/catch and surface a clear, actionable error that
tells the user to either install the package or switch to bootMode=
'standalone'. This is the only remaining hard dependency surface
between the CLI and service-cloud — the other framework packages
(runtime, rest, adapters/hono) already use structural / 'any'-typed
interfaces.
Decoupling note: physically moving service-cloud out of the framework
workspace into the private cloud repo is a separate design decision
(would break cli's monorepo build of cloud-aware boot modes). Tracked
as a follow-up; not in scope here.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
* chore: remove packages/services/service-cloud (split to objectstack-ai/cloud repo)
The control-plane service-cloud package now lives in the private cloud
repo (objectstack-ai/cloud) alongside apps/cloud. Framework consumers
already use only the structural `KernelManager` / `EnvironmentDriverRegistry`
interfaces (any-typed) or dynamic `await import('@objectstack/service-cloud')`
with try/catch fallbacks. No real imports remained — only doc comments.
Changes:
- packages/services/service-cloud/ deleted (~10k LOC, 56 files).
- packages/cli/package.json: drop "@objectstack/service-cloud":"workspace:*"
dependency. CLI's serve.ts already handles missing module gracefully
via dynamic import + try/catch (commit e69da73).
- packages/cli/src/types/service-cloud.d.ts retained as ambient stub
so TS still compiles the optional dynamic import path.
- pnpm-lock.yaml refreshed (-89 lines).
Verified: `pnpm turbo run test` → 108/108 tasks green.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
---------
Co-authored-by: Jack Zhuang <50353452+hotlong@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 64875c0 commit 2a1fc86
93 files changed
Lines changed: 35 additions & 13866 deletions
File tree
- .github/workflows
- apps/cloud
- api
- cloudflare
- scripts
- server
- templates
- test
- types
- packages
- cli
- src/commands
- runtime/src
- cloud
- services/service-cloud
- src
- preview
- routes
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
| 4 | + | |
| 5 | + | |
6 | 6 | | |
7 | 7 | | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
8 | 11 | | |
9 | | - | |
10 | | - | |
11 | | - | |
12 | | - | |
13 | | - | |
14 | | - | |
15 | | - | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | | - | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | | - | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
41 | | - | |
42 | 33 | | |
43 | 34 | | |
44 | 35 | | |
45 | 36 | | |
46 | 37 | | |
47 | 38 | | |
48 | | - | |
49 | 39 | | |
50 | | - | |
51 | 40 | | |
52 | 41 | | |
53 | | - | |
54 | | - | |
| 42 | + | |
55 | 43 | | |
56 | 44 | | |
57 | 45 | | |
58 | | - | |
59 | 46 | | |
60 | 47 | | |
61 | 48 | | |
62 | | - | |
63 | | - | |
64 | 49 | | |
65 | 50 | | |
66 | 51 | | |
| |||
71 | 56 | | |
72 | 57 | | |
73 | 58 | | |
74 | | - | |
| 59 | + | |
75 | 60 | | |
76 | 61 | | |
77 | 62 | | |
78 | 63 | | |
79 | 64 | | |
80 | 65 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | | - | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | | - | |
90 | | - | |
91 | | - | |
92 | | - | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | 66 | | |
100 | 67 | | |
101 | 68 | | |
102 | 69 | | |
103 | | - | |
104 | | - | |
105 | | - | |
106 | | - | |
107 | | - | |
108 | | - | |
109 | | - | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | | - | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | | - | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
124 | | - | |
125 | | - | |
126 | | - | |
127 | | - | |
128 | | - | |
129 | | - | |
130 | | - | |
131 | | - | |
132 | | - | |
133 | | - | |
134 | | - | |
135 | | - | |
136 | | - | |
137 | | - | |
138 | | - | |
139 | | - | |
140 | | - | |
141 | | - | |
142 | | - | |
143 | | - | |
144 | | - | |
145 | | - | |
146 | | - | |
147 | | - | |
148 | | - | |
149 | | - | |
150 | | - | |
151 | | - | |
152 | | - | |
153 | | - | |
154 | | - | |
155 | | - | |
156 | | - | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
167 | | - | |
168 | | - | |
169 | | - | |
170 | | - | |
171 | | - | |
172 | | - | |
173 | | - | |
174 | | - | |
175 | | - | |
176 | | - | |
177 | | - | |
178 | | - | |
179 | | - | |
180 | | - | |
181 | | - | |
182 | | - | |
183 | | - | |
184 | | - | |
185 | | - | |
186 | | - | |
187 | | - | |
188 | | - | |
189 | | - | |
190 | | - | |
191 | | - | |
192 | | - | |
193 | | - | |
194 | | - | |
195 | | - | |
196 | | - | |
197 | | - | |
198 | | - | |
199 | | - | |
200 | | - | |
201 | | - | |
202 | | - | |
203 | | - | |
204 | | - | |
205 | | - | |
206 | 70 | | |
207 | | - | |
208 | 71 | | |
209 | 72 | | |
210 | | - | |
211 | 73 | | |
212 | 74 | | |
213 | 75 | | |
| |||
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
This file was deleted.
0 commit comments