Repository activity
40458 results across all weeks
feature: show build timing in batch mode
Display build duration and average process parallelism in the status
Rudi Grinberg (@rgrinberg)fix dune version bound for dune-project's (warnings (duplicate_deps ..))
This warning requires a dune >= 3.18, but it was introduced in 17e0490, which landed in 3.22:
v-gbfix(jsoo): keep archive dirs for libraries without implementations
Keep the generated JSOO archive directory when the library has no implementation modules.
Antonio Nuno Monteiro (@anmonteiro)fix(menhir): preserve compiler stdlib in inference sandbox
Description
Ali Caglayan (@Alizter)fix(pkg): unify workspace and lockdir dependency traversal
Description
Ali Caglayan (@Alizter)fix(rpc): report connection failures without a backtrace
Description
Ali Caglayan (@Alizter)fix(stdune): correct filesystem metric accounting
Filesystem metrics currently charge file-write time to unrelated read metrics, while the directory counter is incremented only once when its module is initialized.
Rudi Grinberg (@rgrinberg)fix(trace): avoid allocation while swapping profiles
Alloc.swap currently constructs its result tuple while holding the allocation profiler's sample mutex. At sufficiently high sampling rates, that allocation can invoke a Memprof callback which attempts to acquire the same mutex, terminating Dune with Mutex.lock: Resource deadlock avoided.
Rudi Grinberg (@rgrinberg)fix(trace): preserve runtime event ring IDs
OCaml runtime-event callbacks identify the ring buffer that produced each event, but Dune currently discards that information while serializing its trace. Events from different streams are therefore indistinguishable, making begin/end pairing unreliable when streams interleave.
Rudi Grinberg (@rgrinberg)fix: Allow anonymous actions to be directly attached to multiple aliases
Change registered anonymous actions from an Anonymous_action.t Action_builder.t to a new Anonymous_action.Rule.t, which includes the loc, dir`, etc. (which was already computed ahead of time) and an ID (sharing ID space with regular rules).
Nat Karmios (@NatKarmios)fix: preserve internal install layouts across builds
Description
Ali Caglayan (@Alizter)maintenance_intent is too restrictive
dune 3.24.2
Dmitrii Kosarev (@Kakadu)perf(cli): cache unchanged build status lines
The scheduler repeatedly asks the live status line to render unchanged progress and job counts. In a cold self-build, 10,391 of 21,692 renders repeated the previous state.
Rudi Grinberg (@rgrinberg)perf(dag): traverse cycle edges directly
The incremental-cycle detector's backward and forward searches use a generic
Rudi Grinberg (@rgrinberg)perf(digest): buffer manual digest input
Dune_digest.Manual currently crosses the OCaml/C boundary for every encoded
Rudi Grinberg (@rgrinberg)perf(digest): encode integers without boxed int64 values
The digest encoders converted every OCaml integer to int64 before writing its
Rudi Grinberg (@rgrinberg)perf(digest): reuse representation digest state
Representation digest traversal currently allocates a recursive closure
Rudi Grinberg (@rgrinberg)perf(digest): skip redundant buffered blit checks
The buffered manual digest path checks the source length and ensures sufficient destination capacity before copying a short string into its 4KB scratch buffer. Bytes.blit_string then repeats those bounds checks for every buffered string.
Rudi Grinberg (@rgrinberg)perf(digest): use primitive integer encoding
Dune encodes ordinary OCaml integers as signed little-endian 64-bit values
Rudi Grinberg (@rgrinberg)perf(engine): create target directories after cache misses
Move target-directory creation after the workspace-local rule-cache lookup so cache hits do not issue redundant mkdir calls. The regression test was added separately in #15746.
Rudi Grinberg (@rgrinberg)