JT / SAGE IDEAS Work with me

03 Evidence

Data engineering · Architecture · private repo

Data that knows when it was true.

Cron jobs were silently writing partial data. The fix was an architecture where every row knows when it became available and every job reports its health.

Deployed · partly builtADR accepted November 6, 2026

FinishedThe design is accepted (ADR-0003) and the Dagster orchestrator is deployed on Railway as four services.NextBuild the typed migration runner and publish run history.

layers: raw, PIT, metric, serving
4
job specs in the orchestration registry
35
of them on a schedule
8

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

request path / data-platformDeployed · partly built
Four-layer point-in-time data platform1. Raw: provider payloads as received. 2. Clean / point-in-time: typed, deduped, availability time. 3. Metric store: each value has a registered calculation. 4. Serving: small indexed tables the app reads. 5. Job health contract: every job reports rows, clock, status01Rawprovider payloads as received02Clean / point-in-timetyped, deduped, availability time03Metric storeeach value has a registered calculation04Servingsmall indexed tables the app reads05Job health contractevery job reports rows, clock, status
Four-layer point-in-time data platform

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

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

Have a system that needs to work?

Tell me the problem. I will tell you honestly whether I am the right engineer for it.

Book a 15-minute call Run a free audit Not sure what you need? Answer 3 questions