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
fix(deploy): pre-flight port check + safer GPU default; align E2E demo with init --flowmesh
Doctest agent flagged that `lumilake deploy init` without `--flowmesh`
silently produces a broken stack (no workers), and that the `"all"`
CUDA default conflicts with other GPU stacks on shared hosts. Port
collisions only surface at docker bind time today — too late to give a
useful error.
* `lumilake deploy up` now runs `_check_port_collisions` before any
docker compose call, covering both the lumilake server port and the
FlowMesh stack's ports. Failed pre-flight raises `DeployError` with
the offending ports listed.
* Promoted `flowmesh._env_ports` → `flowmesh.env_ports` for the new
caller.
* `CUDA_VISIBLE_DEVICES` default reverts to blank (skip GPU workers);
the `.env.example` comment tells the user to set a free index on
their host rather than `"all"`.
* `docs/E2E_DEMO.md`: `init --flowmesh` is mandatory; load script
documented twice (explicit creds before init, auto-detect after);
demo input bumped to three stocks; the port-conflict troubleshooting
bullet points at the pre-flight rather than naming specific ports.
Signed-off-by: Zhengyuan Su <su.zhengyuan@u.nus.edu>
Copy file name to clipboardExpand all lines: README.md
+18-4Lines changed: 18 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -56,15 +56,29 @@ lumilake deploy -C ~/lumilake-deploy up # bring the stack up via
56
56
57
57
Note: a real workflow run also requires running PostgreSQL and S3-compatible storage; agent-style retrievals (`DataRetrievalOp` with `type: agent`) additionally require `LUMID_DATA_URL`. See `docs/ENV.md` for the env contract. If you don't have your own data plane, the repo ships a bundled Postgres + MinIO at `scripts/dev/compose.data-plane.yml` — see `docs/E2E_DEMO.md` for the full three-step demo flow (data plane → load demo data → run a workflow).
58
58
59
-
Submit and inspect a workflow:
59
+
Submit and inspect a workflow. From a source checkout the example
60
+
workflow file is at `examples/templates/yaml/trading-agent.yaml`;
61
+
PyPI installs do not ship the templates, so pass an absolute path to a
Copy file name to clipboardExpand all lines: docs/ARCHITECTURE.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,7 +35,8 @@ Lumilake is organized as a small control plane around workflow parsing, scheduli
35
35
v
36
36
+-------------------+
37
37
| Archive + results |
38
-
| S3 or lumid.data |
38
+
| S3 (S3_ARCHIVE_ |
39
+
| PREFIX) |
39
40
+-------------------+
40
41
```
41
42
@@ -61,4 +62,9 @@ Lumilake is organized as a small control plane around workflow parsing, scheduli
61
62
62
63
## Storage Model
63
64
64
-
Lumilake separates compute data from job archive data. Direct mode reads and writes compute data through configured PostgreSQL and S3-compatible services. lumid.data mode forwards SQL and storage operations to lumid.data instead. Job records and runtime artifacts use `S3_ARCHIVE_PREFIX` in both modes, with lumid.data handling the storage calls when configured.
65
+
Lumilake separates compute data from job archive data.
66
+
67
+
-**SQL `DataRetrievalOp`** connects directly to `DATABASE_URL`.
68
+
-**S3 `DataRetrievalOp`** connects directly to `S3_URL`.
69
+
-**Agent `DataRetrievalOp`** (`type: agent`) routes through lumid.data's `/agent/v1` endpoint and therefore requires `LUMID_DATA_URL`.
70
+
-**Archive** (job records, runtime artifacts) is always written under `S3_ARCHIVE_PREFIX` using the same `S3_URL` connection.
Use `uv run lumilake job preview examples/templates/yaml/agent-retrieval-mini.yaml --format yaml --input Stock=AAPL` to validate and inspect a YAML schedule without dispatching runtime work.
63
+
Use `lumilake job preview examples/templates/yaml/trading-agent.yaml --format yaml --input Stock=NVDA` to validate and inspect a YAML schedule without dispatching runtime work.
0 commit comments