Repository activity
40458 results across all weeks
perf(ppx): collect cookie requests before expansion
Filter and collect PPX cookie requests before entering parallel memoized expansion.
Antonio Nuno Monteiro (@anmonteiro)perf(rocq): share plugin layouts without changing dependencies
Description
Ali Caglayan (@Alizter)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): 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)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(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(rpc): share diagnostic record serialization
Parameterize diagnostic fields by message and related-entry types, and share the record and S-expression converter between the current diagnostics and Diagnostics_v1. This removes duplicated definitions while preserving both wire formats.
Rudi Grinberg (@rgrinberg)refactor: remove some duplication around bool/string conversion
Reuse Bool.to_string and Bool.of_string in boolean expressions, package filters, and OCaml configuration parsing. Add Bool.all so the S-expression decoder shares the same boolean/string mapping, preserving existing behavior and error messages.
Rudi Grinberg (@rgrinberg)reject directories declared as file targets
Description
Ali Caglayan (@Alizter)test(action-plugin): cover detached requests
Cover unsandboxed dependency requests that outlive the action-plugin process. The producer waits for the plugin to exit; subsequent changes to its input must rerun the plugin, verifying that late dependency facts are retained in the rule cache.
Rudi Grinberg (@rgrinberg)test(action-plugin): exercise absolute inputs end to end
Strengthen absolute-path coverage with sandboxed generated inputs and rebuilds after changes to both generated and external inputs. Exercise absolute paths in batched dependency declarations and replace the standalone absolute-path unit test with cram coverage.
Rudi Grinberg (@rgrinberg)test(action-plugin): reproduce job-slot starvation
Dynamic actions currently hold their job slot while waiting for dependencies. At -j 1, this deadlocks when building an input requires another subprocess.
Rudi Grinberg (@rgrinberg)test(compile-commands): cover foreign-stanza eligibility changes
Verify that unrelated stanzas leave the compilation database unchanged and adding or removing foreign stubs updates it.
Antonio Nuno Monteiro (@anmonteiro)test(merlin): cover context INDEX invalidation
Verify that adding an unrelated library updates INDEX entries in existing Merlin configurations.
Antonio Nuno Monteiro (@anmonteiro)test(merlin): cover dependency source directories across contexts
Cover dependency source directories shared by multiple consumers, context-specific generated modules, and source-directory additions.
Antonio Nuno Monteiro (@anmonteiro)test(merlin): cover source-directory invalidation in watch mode
Cover source-directory additions and removals for two Merlin consumers within one watch session.
Antonio Nuno Monteiro (@anmonteiro)test(merlin): keep configuration changes from recompiling libraries
Verify that Merlin-only configuration changes update Merlin directives without recompiling an up-to-date library.
Antonio Nuno Monteiro (@anmonteiro)test(merlin): preserve source filename fallback ordering
Extracted from #16569.
Antonio Nuno Monteiro (@anmonteiro)test(merlin): reproduce missing hidden includes for private modules
Reproduce #16531 using the existing private-module Merlin fixture.
Ali Caglayan (@Alizter)