Repository activity
40458 results across all weeks
perf(install): concatenate action search paths in one pass
Concatenate action search paths once instead of repeatedly copying a growing inherited suffix. Preserves ordering, duplicates, separators, and absent/empty-value behavior.
Ali Caglayan (@Alizter)perf(merlin): avoid copying modules without preprocessing
Extracted from #16522.
Antonio Nuno Monteiro (@anmonteiro)perf(merlin): avoid source path set allocations
Extracted from #16522.
Antonio Nuno Monteiro (@anmonteiro)perf(merlin): avoid unused compilation dependency facts
Build Merlin configuration prerequisites without collecting dependency facts that compilation prefixes discard.
Antonio Nuno Monteiro (@anmonteiro)perf(merlin): build file indexes when loading configurations
Persist one configuration record per module and build filename lookup indexes when loading Merlin configurations.
Antonio Nuno Monteiro (@anmonteiro)perf(merlin): compute module configuration fields once
Extracted from #16522.
Antonio Nuno Monteiro (@anmonteiro)perf(merlin): memoize dependency source directories
Memoize local-library source-directory sets by context, library, and compilation mode so Merlin configurations can reuse them.
Antonio Nuno Monteiro (@anmonteiro)perf(merlin): persist compact module configuration
Persist only the module metadata Merlin needs while preserving filename lookup behavior.
Antonio Nuno Monteiro (@anmonteiro)perf(process): avoid loading entire captures before truncation
Keep small captures on the fd-based read path through a new read_file_if_small helper. It uses the existing file-size check, without a preliminary stat or channel allocation.
Rudi Grinberg (@rgrinberg)perf(rocq): retain shared dependencies in mixed install directories
Follow-up to #16622: keep library dependencies grouped in mixed install directories using sorted-array filename sets with logarithmic membership checks.
Ali Caglayan (@Alizter)perf(rocq): share plugin layouts without changing dependencies
Description
Ali Caglayan (@Alizter)prototype: add RPC-backed rule plugins
This prototype lets a project define its own stanza-like forms using a small OCaml program. For example, here's a (plugin.greet ...) form that generates a greeting file.
Rudi Grinberg (@rgrinberg)refactor(action): remove redundant execution context fields
Remove the unused build context from action inputs and execution contexts, and stop duplicating the target set in the recursive execution context.
Rudi Grinberg (@rgrinberg)refactor(action): remove unused constructor wrappers
Remove ten unused constructor helpers from the internal engine action interface and implementation. The concrete AST constructors remain available, and helpers with callers are retained.
Rudi Grinberg (@rgrinberg)refactor(action): use one concrete action representation
Use a single concrete Action.t instead of the parameterized AST and print-only representation. Encode actions directly when printing rules, tracking the working directory for relative paths and preserving symlink-source handling.
Rudi Grinberg (@rgrinberg)refactor(engine): classify source and external paths in the rule loader
Match Path.t directly during directory triage instead of routing through the one-use Dpath.analyse_dir wrapper and its duplicate source/external/build type.
Rudi Grinberg (@rgrinberg)refactor(engine): clean unsandboxed targets within the action scope
Follow up on #16743 by moving unsandboxed target cleanup into Sandbox.with_. Collect action errors, delete targets on failure, and propagate the original errors alongside any cleanup errors.
Rudi Grinberg (@rgrinberg)refactor(engine): configure the rule generator as a function
Pass the rule generator directly as Gen_rules.gen_rules instead of packing it into a first-class module. Remove the single-function module signatures and call the configured function directly from rule loading. Rule generation behavior is unchanged.
Rudi Grinberg (@rgrinberg)refactor(engine): construct file facts from built digests
Keep file-selector builds in Build_system and make Dep.Fact.Files.create a pure constructor, removing its build callback.
Rudi Grinberg (@rgrinberg)refactor(engine): declare action helpers on their concrete interface
The helper signature has only one consumer now that action constructors no longer use a functor. Declare the concrete signatures in Action instead of keeping five abstract types and a generic signature in Action_intf.
Rudi Grinberg (@rgrinberg)