Repository activity
40458 results across all weeks
refactor(engine): run Memo computations without build requests
Run ordinary Memo computations directly through the shared build lifecycle instead of wrapping them in an Action_builder and a single-goal Request. This removes the mutable result slot and unreachable missing-result error.
Rudi Grinberg (@rgrinberg)refactor(engine): specialize action usefulness to memoization
Action usefulness is only queried for memoization, but the traversal and extension specs still accept a memoize flag for an unused alternative mode.
Rudi Grinberg (@rgrinberg)refactor(engine): update promoted-file deletion state directly
Inline the promoted-file deletion database update into To_delete.add instead of routing it through a callback returning an option. Remove modify_db and set_db, while preserving the existing behavior: mark the database dirty only when a previously untracked path is added.
Rudi Grinberg (@rgrinberg)refactor(install): share directory option construction
Factor seven repeated install-directory override definitions into a local helper, preserving option names, defaults, absolute-path validation, and help text.
Rudi Grinberg (@rgrinberg)refactor(install): share expanded binding validation
Rudi Grinberg (@rgrinberg)refactor(install): share recursive include expansion
Rudi Grinberg (@rgrinberg)refactor(melange): share library metadata during emission
Resolve each library's metadata once and share it across Melange JS-emission helpers.
Antonio Nuno Monteiro (@anmonteiro)refactor(merlin): represent stanza configurations as a group
Represent each stanza's persisted Merlin configuration as a default-first nonempty group while preserving existing singular lookup and debug behavior.
Antonio Nuno Monteiro (@anmonteiro)refactor(merlin): retain file configuration metadata
Retain compilation mode, source kind, and counterpart metadata for plural Merlin lookup, while preserving legacy File behavior.
Antonio Nuno Monteiro (@anmonteiro)refactor(odoc): simplify library and package rule dispatch
Share the library/package lookup and compilation-mode selection between the _odocls and _html rule-generation branches. Select the appropriate package-rule generator once and reuse it for both library-derived and directly named packages.
Rudi Grinberg (@rgrinberg)refactor(opam): share Dune 3 build command generation
Deduplicate the Dune 3 opam build-command templates into one generator with explicit install-alias and runtest-target choices.
Rudi Grinberg (@rgrinberg)refactor(opam): share modern build command generation
Parameterize the Dune 3 build command template by its runtest alias instead of maintaining separate templates for package-local runtest aliases.
Rudi Grinberg (@rgrinberg)refactor(pkg): minor cleanup of pin extraction
Minor refactor of workspace pin extraction in lock rules.
Rudi Grinberg (@rgrinberg)refactor(pkg): remove pkg digests
Description
Ali Caglayan (@Alizter)refactor(sandbox): derive initial snapshots from materialized inputs
Build the initial patch-back snapshot from directories and dependency files materialized during sandbox creation, sharing file bookkeeping with dynamically added dependencies.
Rudi Grinberg (@rgrinberg)running `dune tools exec <p>` when `p` is not already installed as a dev tool should suggest users run `dune tools install <p>`
Currently it seems to give different kinds of unhelpful errors. E.g.,
Shon Feder (@shonfeder)test(action): cover recursive copies through directory symlinks
Extend the recursive-copy tests from #16653 with two action-created directory symlinks: an acyclic link pointing outside the copied tree, and a directory-link cycle.
Rudi Grinberg (@rgrinberg)test(action): cover recursive copying across sandbox modes
Exercise directory copies with ordinary file dependencies in symlink, copy, and hardlink sandbox modes. Record the symlink-mode rejection of sandbox file links before the action-copy fix.
Ali Caglayan (@Alizter)test(action-plugin): ignore signal-handler noise on expected timeouts
The job-slot starvation tests intentionally time out. On macOS, terminating these builds can print a signal-watcher warning, causing intermittent cram output mismatches.
Rudi Grinberg (@rgrinberg)test(action-plugin): reject unknown action identifiers
Check that an action-plugin client using an unknown dynamic action ID gets a clear RPC error.
Rudi Grinberg (@rgrinberg)