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 schedr db migrate (SQLite and Postgres); CLI skeleton

—

M1. Standalone runs a native DAG

native API core (Dag, @task, CommandOperator, EmptyOperator, data flow and >>, output serialization, Cron / Every / None); runner parse / task; agent (process groups, log files, timeouts, cancellation); master loop (planned_for / since, catchup, max_active_runs, retries, NoneFailed); schedr standalone over gRPC on localhost; the webserver’s REST API subset (/api/v1) the CLI needs (the UI comes in M3); CLI dags list/pause/unpause, runs trigger/list/cancel, dags check, dags test; the runner and its protocol independent of how the process was started (for M2.5)

a real DAG runs end to end on a laptop and its tests pass with run_dag

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 .on(...), AllSucceeded, @branch, groups, mapping; schedr.toml and ScriptOperator; cleanup and resources; secrets (Vault, the db storage for standalone, schedr secrets) and connections; params and dag_ctx; the in-task CLI and schedr.script (plain Python scripts); notifications; TriggerDagOperator; concurrency limits; per-task memory budgets and setrlimit; backfill; retention; upgrade rules (Once was built in M1)

—

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, xcom_pull; the placeholder and macro design (deferred until the first version works); the migration tool

—

M6. Sign-in against LDAP

[*.auth] mode = "ldap": HTTP Basic credentials checked against the organisation’s directory (a bind), for deployments without Istio and Keycloak; users stay in the directory, schedr keeps none (decision 39); the chart’s values for it, the bind password from a Secret. Decisions laid out for it (2026-10-28, the user’s: postponed to M6): 45 how the person’s entry is found (search then bind; a DN template; both), 46 who may sign in (an optional group; a required one; none), 47 the connection’s encryption (TLS required; plain allowed with a flag)

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).