Repository activity
40458 results across all weeks
test(ppx): cover lint cookies for OCaml and Melange
Test library-declared PPX string cookies in implementation and interface lint handlers for OCaml and Melange. Extracted from #16699 and independent of the compilation-mode cookie.
Antonio Nuno Monteiro (@anmonteiro)test(ppx): cover matching and automatic cookie requests
Test deduplication of matching PPX cookie requests and conflicts with the existing automatic library-name cookie. Related to #16699; exercises existing behavior without the compilation-mode cookie.
Antonio Nuno Monteiro (@anmonteiro)test(promotion): ignore non-diff exit statuses when capturing output
Cover custom diff commands exiting with status 0 (no differences) or 2 (an error) when capturing output for dune promotion diff. Verify that their stdout is discarded and that these preview requests leave the pending promotion intact.
Rudi Grinberg (@rgrinberg)test(rpc): cover eager diagnostic rendering
Check that dune diagnostics renders the eager watcher's current sticky error with its source location.
Rudi Grinberg (@rgrinberg)test(rpc): cover pending initialization and direct connection errors
Extend RPC status coverage to include a client that has initialized but has not yet negotiated protocol versions, plus connection failure reporting for an explicitly selected unavailable endpoint. Add a helper mode that pauses after receiving the initialization response so the pending-negotiation check is synchronized with the server.
Rudi Grinberg (@rgrinberg)test(rpc): cover status and stale registry entries
Extend the RPC registry cram test to cover dune rpc status and --all with empty, live, and stale registries. Check negotiated RPC versions and verify that stale entries report connection failures without failing the whole query.
Rudi Grinberg (@rgrinberg)test(rules): cover action path rendering
Extend dune rules tests to check path rendering for nested working directories and copy# extension payloads, unresolved programs without executing them, and symlink sources relative to the destination's parent.
Rudi Grinberg (@rgrinberg)test(rules): cover redirected generated directories
Cover inherited binaries, automatic utop directories, stale Merlin artifacts, and directories created during watch mode.
Antonio Nuno Monteiro (@anmonteiro)test(runtime): preserve action runtime parameters
Add a blackbox test verifying that Dune's internal runtime defaults and marker do not leak into build actions, while explicit OCAMLRUNPARAM and legacy CAMLRUNPARAM values are preserved by dune exec.
Rudi Grinberg (@rgrinberg)test(sandbox): cover directory copy actions across sandbox modes
Exercise a directory copy action with a generated directory dependency, without Melange or package management. Record the current behavior in symlink, copy, and hardlink sandbox modes before changing input traversal.
Ali Caglayan (@Alizter)test(sandbox): cover empty initial patch-back dependencies
Cover empty glob dependencies in patch-back source-tree sandboxes. Even when no dependency files are copied, the initial snapshot must include their directories and parents, so deleting those directories reports both deletions.
Rudi Grinberg (@rgrinberg)test(sandbox): cover overlapping directory materialization
Extend the dynamic action-plugin sandbox test to request a directory after reading and modifying one of its files and creating another destination subdirectory.
Rudi Grinberg (@rgrinberg)test(sandbox): reproduce file-copy mismatch after relocating inputs
Ali Caglayan (@Alizter)test(sandbox): reproduce path reuse and failed setup leaks
Ali Caglayan (@Alizter)test(select): cover conflicting dependency declarations
Add cram coverage for dependency validation before library resolution: duplicate required libraries, contradictory requirements within a select clause, and required/optional or required/forbidden conflicts across declarations.
Rudi Grinberg (@rgrinberg)test(single-context): generate mode-aware Merlin configs
Store all effective Merlin configurations for a stanza in one .merlin-conf file while preserving the existing default File query behavior.
Antonio Nuno Monteiro (@anmonteiro)test(stdune): demonstrate RGB background escape errors
Add serialization checks for indexed and true-color foreground/background styles, complementing the existing escape-parsing tests.
Rudi Grinberg (@rgrinberg)test(stdune): run spawn tests on Windows
Add the stdune spawn test suite to the runtest-windows alias so the Windows
Rudi Grinberg (@rgrinberg)test(subst): cover malformed and overlapping watermarks
Extend the repository-free dune subst test to check scanner recovery around malformed, unknown, and overlapping watermarks. Verify that incomplete watermarks at EOF remain unchanged in each scanner state, and that missing package metadata reports the watermark's source location after a newline.
Rudi Grinberg (@rgrinberg)test(toplevel): reproduce PPX cookie quoting failures
Reproduce lost PPX cookie quoting in custom toplevels and dune utop. Related to #16699.
Antonio Nuno Monteiro (@anmonteiro)