The problem
Market data was ingested by serverless crons with a hard time cap. Runs ended part-way without failing: one feed covered only symbols A to G, prices went days stale, and one ingest stored zero rows for weeks.
The decision record (ADR-0003) replaces that with layers that separate what was received from what the app reads, and a contract that makes a partial run visible.
Constraints
- The application reads only the serving layer.
- A feed with no provider shows NO DATA; it is never filled with a substitute.
- Analytics start on DuckDB and Parquet; a heavier warehouse only if measured load requires it.
- Migrations stay manual and additive until a typed runner exists.
Architecture
Dagster (open source) orchestrates jobs that outgrow the cron limit while job logic stays in TypeScript. One point-in-time entity master and market calendar is the only way to resolve symbols and sessions.
What shipped
- ADR-0003, accepted November 6, 2026.
- Entity master and market calendar migrations, a job health contract in code, and the Dagster project with 35 registered job specs.
- The Dagster orchestrator runs on Railway as four services (code, daemon, webserver and its own Postgres). The Railway dashboard showed all four deployments successful when checked on November 21, 2026; the code and daemon were last redeployed on November 20.
Evidence and receipts
Owned
ADR-0003: data platform layers
Private repository. Excerpts available on a call.
Owned
lib/cron/job-health.ts in the private repository.
What I would do differently
- Write the migration runner before the second data source, not after the fortieth migration.
- Put row-count and freshness checks in the first job, so partial runs fail on day one.
Honest limitations
01 Input
Next step
Bring an AI feature or workflow that has to keep working. We scope the first verifiable step on a 15-minute call, and I give an honest answer on fit either way.
Book a 15-minute call Not sure what you need? Answer 3 questions