Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW47.2026 · 16–22 Novocaml/dune

    fix(site): expose package sites through the action environment

    Make site data and plugin metadata available to build actions through their declared package dependencies, not the shared install staging tree. Inherited locations remain fallbacks, and dune exec retains its staging lookup.

    Ali Caglayan (@Alizter)
  2. IssueW47.2026 · 16–22 Novocaml/dune

    menhir: missing dep for inferred mli

    @trefis reported a race which can sometimes cause menhir generated parsers to fail to build with dune, because some of their dependencies are not tracked: Menhir compilation involves a call to ocamlc -i that may produce references to hidden module names (__), which Dune doesn't recognize as non-generated code shouldn't refer to those explicitly. In practice …

    art-w
  3. Pull requestW47.2026 · 16–22 Novocaml/dune

    perf(boot): reuse the OCaml compiler GC defaults

    Bootstrap now shares the compiler GC defaults used by regular Dune builds. It sets s=2M and adds Xsmall_heap_limit on OCaml 5.5 or newer (16777216 on 64-bit, 33554432 on 32-bit). Bootstrap leaves explicit OCAMLRUNPARAM or CAMLRUNPARAM values untouched.

    Rudi Grinberg (@rgrinberg)
  4. Pull requestW47.2026 · 16–22 Novocaml/dune

    perf(engine): skip filesystem watch tracking in batch builds

    One-shot builds never install a file watcher, but filesystem reads can still create Memo cells and queue paths while waiting for one. Tell Fs_memo at startup that no watcher is coming, before reading the workspace. Watch-mode initialization is unchanged.

    Rudi Grinberg (@rgrinberg)
  5. Pull requestW47.2026 · 16–22 Novocaml/dune

    perf(jsoo): defer module compiler action construction

    Defer JS/Wasm module action graph construction until the target is requested, avoiding unused graph allocation in native and bytecode-only builds.

    Antonio Nuno Monteiro (@anmonteiro)
  6. Pull requestW47.2026 · 16–22 Novocaml/dune

    perf(melange): reuse compiler GC defaults for source compilation

    Reuse #16914's minor-heap and major-GC defaults for Melange source compilation, preserving explicit runtime settings.

    Antonio Nuno Monteiro (@anmonteiro)
  7. Pull requestW47.2026 · 16–22 Novocaml/dune

    perf(pkg): copy only package sources in link-based sandboxes

    Package builds currently force copy sandboxing, which duplicates the installed files of every transitive dependency for each build. Let Dune select the sandbox mode and give only the package’s own sources private, writable copies before running its commands. In symlink and hardlink modes, the installed dependencies stay linked; selecting copy mode still co…

    Rudi Grinberg (@rgrinberg)
  8. Pull requestW47.2026 · 16–22 Novocaml/dune

    perf(source): share Memo specifications across source-tree children

    Add Memo.node_staged to create fresh nodes sharing one specification without a memoization table. Use it for physical and virtual source-tree children, preserving independent node identities and deferred virtual-path construction. Leave the singleton root unchanged.

    Rudi Grinberg (@rgrinberg)
  9. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(cli): share single-file RPC builds

    Use the same single-file RPC build helper for dune exec and developer tools. Both callers encode the target and handle the build result the same way, with no change to when they use the running server.

    Rudi Grinberg (@rgrinberg)
  10. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(cli): share toplevel context selection

    Share the context argument and lookup between the directory and module toplevel commands. Both commands keep the same context selection behavior.

    Rudi Grinberg (@rgrinberg)
  11. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(configurator): share quoted-string escape writes

    Reuse the backslash write for named, template, and decimal escapes in the configurator’s standalone quoted-string encoder. The encoded output stays the same.

    Rudi Grinberg (@rgrinberg)
  12. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(digest): reuse stat-aware digesting in the async wrapper

    Use path_with_stats for both synchronous and background digesting instead of repeating its setup in the async wrapper. The background scheduling decision is unchanged.

    Rudi Grinberg (@rgrinberg)
  13. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(engine): construct default execution parameters directly

    Construct the default execution parameters as a record instead of forwarding every field through a private constructor with one caller. All defaults stay the same.

    Rudi Grinberg (@rgrinberg)
  14. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(engine): remove source-copying rules

    Revives #14535.

    Rudi Grinberg (@rgrinberg)
  15. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(engine): reuse array-based process execution

    Convert list arguments once and delegate to the existing array-based runner. Share the error-reporting path for commands expected to return one line, while keeping the existing messages for empty and multiline output.

    Rudi Grinberg (@rgrinberg)
  16. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(engine): share build subtree cleanup

    Rule execution, stale-directory pruning, and dune clean with explicit paths all invalidate cached subtree digests before deleting build artifacts. Put both steps in Rule_cache.Workspace_local.delete_subtree so callers cannot forget the invalidation. No behavior change.

    Rudi Grinberg (@rgrinberg)
  17. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(engine): share running-job state updates

    Share the deferred state write and event stamp between job starts and stops, while keeping their distinct validity checks and error messages.

    Rudi Grinberg (@rgrinberg)
  18. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(engine): share the action extension signature

    Declare the common action extension fields once and use that signature for the extension functor. The full action specification still adds the dynamic flag.

    Rudi Grinberg (@rgrinberg)
  19. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(fiber): share and inline scheduler error collection

    Share error context construction across error collection and finalization. Keep collect outside the recursive scheduler group and mark it [@inline always] so the native compiler can inline it. Each path still uses its own continuation and tail-calls exec_fiber_thunk directly.

    Rudi Grinberg (@rgrinberg)
  20. Pull requestW47.2026 · 16–22 Novocaml/dune

    refactor(fiber): share pool runner resumption

    Use the same state transition to resume the pool runner after submitting a task or closing the pool. The existing checks for a closed pool stay in place.

    Rudi Grinberg (@rgrinberg)