Hot cold local dev#4899
Conversation
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Greptile SummaryThis PR adds local development configurations for running the Lookout hot/cold partitioned database stack in parallel with the existing Lookout stack, covering goreman Procfiles, JetBrains run configs, and VSCode launch/task configs.
Confidence Score: 5/5This is a developer tooling-only change with no impact on production code paths; safe to merge. All changes are limited to local dev configuration files (Procfiles, IDE run configs, init scripts, and a Vite config). No production logic, no database migrations that ship to prod, and no changes to application code outside of the Vite config's env-var overrides. Previously reported issues (missing ARMADA_EXPERIMENTALHOTCOLDSPLIT in the migration config, print_error called before definition, wrong binary path in localdev-init.sh) are resolved in this revision. _local/procfiles/hot-cold.Procfile — the lookouthcui process starts its dev server before the openapi generation step finishes. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
subgraph Setup["Local Dev Initialization"]
A[localdev-init.sh --hotCold] --> B[Create lookout DB]
A --> C[Create lookouthc DB]
B --> D[Migrate lookout schema\ncmd/lookout --migrateDatabase]
C --> E[Migrate lookouthc schema\ncmd/lookout --migrateDatabase\n--config _local/lookouthc/config.yaml\nexperimentalHotColdSplit: true]
end
subgraph StandardStack["Standard Lookout Stack"]
F[lookoutingester\nport 9006\nDB: lookout] --> G[lookout server\nport 8089\nDB: lookout]
G --> H[lookoutui\nVITE_PORT=3000\nPROXY→8089]
end
subgraph HCStack["Hot/Cold Lookout Stack"]
I[lookouthcingester\nport 9009\nexperimentalHotColdSplit: true\nDB: lookouthc] --> J[lookouthc server\nport 8091\nexperimentalHotColdSplit: true\nDB: lookouthc]
J --> K[lookouthcui\nVITE_PORT=3001\nPROXY→8091\nVITE_CACHE_DIR=.vite-hc]
end
subgraph Shared["Shared Services"]
L[Pulsar] --> F
L --> I
M[Armada Server\nport 8080/8081] --> H
M --> K
N[Binoculars\nport 8082/8084] --> H
N --> K
O[PostgreSQL\nport 5432] --> F
O --> I
end
Reviews (16): Last reviewed commit: "remove wait for postgres" | Re-trigger Greptile |
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Signed-off-by: David Slear <david_slear@yahoo.com>
Adding local development configurations to run the Lookout hot/cold partitioned database in parallel with the existing Lookout database. This includes the VSCode configurations in the
.vscodedirectory, the goreman procfiles and config files under_local, and the JetBrains configurations under.run