Repository activity
40458 results across all weeks
test(action-plugin): cover multiple dynamic invocations
Extend the composition fixture with generated inputs in distinct working directories and rebuild attempts after changing a discovered dependency. A single-invocation control succeeds; sequential and concurrent compositions are tested separately so one rejection cannot mask the other. Retain coverage of rejection while loading an unrelated alias.
Rudi Grinberg (@rgrinberg)test(action-plugin): drain requests after Lwt cancellation
Exercise cancellation of an in-flight action-plugin dependency read after Dune has accepted the request. The generator waits for the plugin to exit, ensuring the request remains outstanding when the client calls Lwt.cancel.
Rudi Grinberg (@rgrinberg)test(action-plugin): expose cached fallback after a caught dependency error
Add a regression where a plugin catches a failed required-dependency request, writes a fallback, and exits successfully. Dune currently caches that result and keeps returning the fallback after the missing input is created. A fresh-build control reads the newly available input.
Rudi Grinberg (@rgrinberg)test(action-plugin): expose dependency requests after failure
Extend the regression from #16407 with a client that catches a failed build_deps request and then requests another generated dependency.
Rudi Grinberg (@rgrinberg)test(action-plugin): expose stale outputs during watch rebuilds
Record two cases where dependency reads from another fiber do not invalidate their caller:
Rudi Grinberg (@rgrinberg)test(action-plugin): expose synchronous runner exceptions
Add an expect test for Action_plugin.run outside Dune when its callback raises synchronously.
Rudi Grinberg (@rgrinberg)test(cache): expose metadata read errors reported as missing
Add cram coverage for loading missing metadata and an existing directory via dune internal cache-metadata. Both currently report "cache metadata not found": the directory case exposes that text-mode IO errors are incorrectly classified as missing entries.
Rudi Grinberg (@rgrinberg)test(cram): reproduce sandbox leak on signal shutdown
Demonstrate that sandboxes are not cleaned up when dune is sent an interrupt.
Ali Caglayan (@Alizter)test(include-qualified): cover dynamic directory remappings
Record current failures for dynamic directory remappings. Follow-up to #13691; the implementation and child-directory limitation test will follow separately.
Antonio Nuno Monteiro (@anmonteiro)test(include-qualified): document child-directory mapping limitation
Document the dependency cycles when a directory mapping reads a source or generated file in a child directory within the qualified group. Test-only follow-up to #16420, recording the current errors as expected output.
Antonio Nuno Monteiro (@anmonteiro)test(include-subdirs): reproduce generated-module collisions
Reproduce generated sources silently replacing other module sources in unqualified groups. Found while reviewing #13691; the extracted fix is in anmonteiro#190.
Antonio Nuno Monteiro (@anmonteiro)test(menhir): cover inference dependencies of multiple parsers
Extend the #14450 regression to an unmerged Menhir stanza with multiple parsers, recording the currently missing dependencies. Extracted from #16447.
Antonio Nuno Monteiro (@anmonteiro)test(menhir): cover inference with library parameters
Add a minimal Menhir regression for library parameters and unprintable instantiated-library types. Split from #16432.
Antonio Nuno Monteiro (@anmonteiro)test(menhir): cover modes that skip type inference
Cover disabled inference, token-only generation, and unused fallback rules. These passing cases guard the dependency-tracking changes in anmonteiro#196. Replaces anmonteiro#197.
Antonio Nuno Monteiro (@anmonteiro)test(menhir): cover sibling names matching library aliases
Strengthen the qualified-sibling test to cover a module sharing the generated library alias name. Passes on main and exposes the regression in anmonteiro#195.
Antonio Nuno Monteiro (@anmonteiro)test(menhir): cover transitive inference dependencies
Extend the regression to record missing dependencies in parser consumers and a failed incremental rebuild under a fallback rule, even when the generated interface is unchanged. Extracted from anmonteiro#196.
Antonio Nuno Monteiro (@anmonteiro)test(menhir): expose invalid inference for group interfaces
Strengthen the regression for #8989 with malformed inferred interfaces, a first-class module type that makes the generated parser fail, and a nested, renamed group interface. Records the current failures without changing Dune.
Antonio Nuno Monteiro (@anmonteiro)test(menhir): reproduce shadowed aliases after PPX
Reproduce shadowed module aliases during Menhir inference with pps and staged_pps (#8989). Split from #16432.
Antonio Nuno Monteiro (@anmonteiro)test(menhir): reproduce shadowed ancestor aliases
Reproduce shadowed ancestor aliases during Menhir inference (#8989, #16427). PPX and OxCaml parameter coverage is split into #16436 and #16437.
Antonio Nuno Monteiro (@anmonteiro)test(menhir): retain full group-interface inference diagnostics
Capture the full warning and syntax error for #8989 instead of filtering stderr. Test-first follow-up for anmonteiro#195.
Antonio Nuno Monteiro (@anmonteiro)