Roadmap¶
Milestones, each ending with something that works; architectural risks (processes, agent, gRPC, journal) come before breadth of features.
Milestone |
Contents |
Done when |
|---|---|---|
M0. Foundations |
the shared model as Rust types (DAG JSON, JSON Schema, Protobuf); configuration loading; database schema and |
— |
M1. Standalone runs a native DAG |
native API core ( |
a real DAG runs end to end on a laptop and its tests pass with |
M2. Distributed |
separate roles, mTLS, Postgres; worker lifecycle (register, heartbeat, reconnect, drain, journal); assignment and rejections, queues, slots; change detection, parsing per (root, hash, version), DAG conflicts; memory watchdog; ops port; images and Helm chart |
runs on OpenShift with 2 workers and survives killing the master or a worker |
M2.5. Fork server and quiet DAGs |
the fork server as designed (How Python tasks are started), built on M2’s watchdog and metrics; its value and preload list confirmed by M2’s start-time metrics. Quiet DAGs (see Components and roles, “Found by the stress suite”): busy DAGs polled every round, quiet DAGs woken by their timer or a change, with stress scenario 14 (many quiet DAGs) deciding the classification and measuring it |
Python tasks start from the fork server on Linux workers, with fallback to spawn; scenario 14’s rounds no longer grow with the quiet DAGs |
M3. Web UI |
htmx pages, SVG graph, SSE, log proxy and live tail; command rows; auth modes; times in UTC and local; federated from the start: one UI over a list of deployments (one the common case; each its own master, standby, workers, webserver and database), talking only to their webservers (see Components and roles, “Found by the stress suite”) |
— |
M4. Native API complete |
async task functions; sensors and triggers with the watcher host (see Sensors and triggers); outcomes and |
— |
M4B. Batched worker messages (a milestone after M4) |
a worker’s turn of messages in one transaction, a savepoint per message, the turn redone one by one when its commit fails (decision 54, T1b); measured first (per-turn lock and commit times) |
one lease check and one commit per turn; a failed message undone alone; lock and commit time per turn lower than M4’s |
M5. Airflow layer |
thin translating classes (Tier 1 first, then the rest of the scope), trigger-rule translation, |
— |
M6. Sign-in against LDAP |
|
a person signs in with their directory password through the UI and the CLI, against a real directory in the integration tests |
Several masters on one database (superseded, not a milestone) |
superseded by M3’s federated view over several deployments (2026-10-24); the shared-database design stays recorded (Components and roles, “Found by the stress suite”), revisited only if one deployment can’t carry a load that can’t be split by DAG |
— |
Later |
the “possibly later” items (e.g. time waits and pushed events, see Sensors and triggers) |
— |
The fork server is M2.5, after M2 and before M3: everything it builds on (the watchdog, metrics, a stable agent on Linux pods) is finished in M2, M2 stays focused on running and surviving on OpenShift, and M2’s metrics show its value just before it is built. It is part of the first version.
The first version of schedr is M1–M4: native schedr, complete and distributed, with its UI. The Airflow layer (M5) follows in a later release. Not chosen: including Airflow Tier 1 in the first version (delays using schedr for new DAGs).