Contributors¶
How Gradient is built, for anyone changing the code. Readers can start with the architecture and then read the part matching the change.
flowchart LR
arch[Architecture] --> sched[Scheduler]
arch --> proto[Proto]
arch --> internals[Internals]
sched --> proto
Start Here¶
-
Crates, binaries and how server, workers and the database fit together.
-
Licensing, development setup, workflow and code conventions.
-
Where tests live, how to run them and the shared harness.
Core¶
-
Shared builds, start counters, upstream substitution, cache closure and scoring.
-
The worker protocol on
/proto: handshake, assignment, jobs, transfers and federation. -
Git host webhooks, NAR storage, cache serving, graph queries and authentication.
-
Writing, registering and retiring database migrations.
Evaluation¶
-
The evaluation subprocess pool, discovery sharding and the shared eval cache.
-
Per-evaluation Nix metrics, how they are stored and shown on the Job Board.
Debugging and UI¶
-
The report file, its scopes and the
gradient-reportinspector. -
The style guide page with the form, layout and grid primitives of the web UI.