Thicket thicket
ocaml
REPOS 27
SEARCH THE ARCHIVE

Repository activity

40458 results across all weeks

  1. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): define action constructors directly

    Remove the six-argument helper functor and define the constructors directly on the concrete action AST. The shell representation needs only the AST, not an unused copy of every constructor helper.

    Rudi Grinberg (@rgrinberg)
  2. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): define aliases without a private wrapper

    Alias.t is already abstract in the interface. Remove the internal module that repeats the record and constructor signatures only to include them again.

    Rudi Grinberg (@rgrinberg)
  3. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): encode dependency-set digests directly

    Encode dependency-set digests directly from dependencies instead of constructing a duplicate Stable_for_digest variant. Preserve the existing encoding and nested-digest evaluation order; the compatibility tests landed in #16682.

    Rudi Grinberg (@rgrinberg)
  4. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): execute anonymous actions without synthetic rules

    Anonymous actions currently construct a synthetic Rule only to reuse ordinary

    Rudi Grinberg (@rgrinberg)
  5. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): inline dependency map convenience operations

    Inline two one-caller dependency helpers: use Dep.Map.parallel_map directly when recording facts and map membership to check for universe dependencies.

    Rudi Grinberg (@rgrinberg)
  6. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): inline one-use action-builder evaluation

    Evaluate build goals directly in the request runner, removing a one-use helper that only discarded the collected dependency facts. This preserves existing behavior.

    Rudi Grinberg (@rgrinberg)
  7. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): keep active build context in the loop state

    Make the watch loop own its active request and process context through its running/restarting state.

    Rudi Grinberg (@rgrinberg)
  8. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): keep rule-loader map operations out of build configuration

    Inline subdirectory lookup and directory-key traversal in the rule loader, their sole consumer.

    Rudi Grinberg (@rgrinberg)
  9. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): keep the build runner entry point minimal

    Inline the result-returning run wrapper into run_exn, its only caller. Stop exposing the unused entry point and its optional restart/build arguments.

    Rudi Grinberg (@rgrinberg)
  10. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): keep the stdout wrapper non-recursive

    Move the public stdout wrapper out of the recursive build group; it is not used by the group itself.

    Rudi Grinberg (@rgrinberg)
  11. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): keep user alias parsing in dependency expansion

    Move user-written alias path parsing from the engine alias API into dependency expansion, its only caller.

    Rudi Grinberg (@rgrinberg)
  12. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): normalize build system comment indentation

    Normalize continuation indentation in build_system.ml comments that retained

    Rudi Grinberg (@rgrinberg)
  13. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): pass dependency facts to Sandbox.add_deps

    Build_system currently expands observed dependency facts into paths and

    Rudi Grinberg (@rgrinberg)
  14. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): pass filesystem cache tables directly

    Pass cache state and concrete tables to the filesystem cache helpers instead of table-selector callbacks. Callers force and unpack the lazy cache explicitly, removing indirection without changing cache updates or timestamp invalidation.

    Rudi Grinberg (@rgrinberg)
  15. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): pass sandbox target exclusions as a set

    Sandbox target extraction accepted an arbitrary predicate even though its only

    Rudi Grinberg (@rgrinberg)
  16. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): prefix rule actions directly

    Prefix collected rule actions directly in Rules.prefix_rules, removing two single-use mapping helpers and their changed/unchanged callback protocol. Preserve alias identities and continue assigning fresh IDs to modified rules.

    Rudi Grinberg (@rgrinberg)
  17. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): remove source-copying rules

    Revives #14535.

    Rudi Grinberg (@rgrinberg)
  18. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): remove the Internal wrapper and build-name shadowing

    Remove Internal, which was immediately included back into Build_system, and name the private operations build_file_digest and build_directory_targets to distinguish them from the public unit-returning functions.

    Rudi Grinberg (@rgrinberg)
  19. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): remove the with_file callback

    Remove Build_system.with_file, which only sequenced a build before invoking a callback and did not manage a scoped resource lifetime. Have its two callers build files directly before reading or parsing them, preserving memoized reads and existing behavior.

    Rudi Grinberg (@rgrinberg)
  20. Pull requestW43.2026 · 19–25 Octocaml/dune

    refactor(engine): retain action exceptions without serialization

    Keep action execution failures as Exn_with_backtrace.t values and re-raise them directly. These results stay in-process, so converting exceptions to a restricted serializable variant is unnecessary and discards their original backtraces.

    Rudi Grinberg (@rgrinberg)