Determinism
dk1 is deterministic with respect to the job count: for the same inputs,
dk1 -j Nproduces byte-identical output todk0, anddk1 -j 1produces byte-identical output todk1 -j Nfor anyN.
The engine confines every ordering-sensitive decision to the engine thread;
workers only perform independent leaf work whose results are applied back on the
engine thread in a deterministic order. Changing -j therefore changes only
wall-clock time, never the produced values or the trace store. The one visible
effect of higher -j is that interleaved progress output and captured
stdout/stderr from concurrent steps may arrive in a different real-time order;
the build outputs themselves do not change.