Repository activity
40458 results across all weeks
test(engine): eliminate the SIGHUP cache test race
In the macOS CI failure, the action can exit without producing its target before the scheduler handles SIGHUP. Dune then returns 1 instead of 130.
Rudi Grinberg (@rgrinberg)test(engine): reproduce anonymous action reruns on cache toggles
Use successful interface inference as a public end-to-end path through anonymous actions. Switching shared-cache policy currently executes ocamlc -i again with unchanged sources, arguments, and inferred interface, while repeats under one policy reuse the action.
Rudi Grinberg (@rgrinberg)test(engine): reproduce rule hash pollution after a digest failure
A repository-hashing error leaves pending input in the singleton-backed manual hasher. An unrelated rule can complete during that failed build with a contaminated digest, then unnecessarily rerun on the next unchanged build.
Rudi Grinberg (@rgrinberg)test(engine): reproduce rule invalidation on shared-cache toggles
Add a plain-rule cram showing that enabling or disabling the shared cache changes rule identity and invalidates an unchanged result. Repeating the same invocation under one policy stays cached.
Rudi Grinberg (@rgrinberg)test(engine): reproduce stale external directory dependency digests
A plain path in (deps) uses file-dependency tracking even when it names an external directory. The directory is initially hashed recursively, but its cached digest is validated using only the directory inode’s own stats. Editing an existing child leaves those stats unchanged, so the rule can reuse stale output.
Rudi Grinberg (@rgrinberg)test(engine): reproduce workspace cache loss after SIGHUP
Send catchable SIGHUP during unrelated work after an ordinary rule has completed. Dune currently exits without persisting its workspace database, so the next invocation reruns the completed rule with unchanged inputs and the same rule key.
Rudi Grinberg (@rgrinberg)test(formatting): cover a missing diff correction
Record the current behavior of diff?: when no correction exists, it succeeds even if the configured dialect formatter refers to an input with no build rule. This establishes the baseline for #17113 without changing behavior.
Rudi Grinberg (@rgrinberg)test(lib-name): cover missing final-character validation
Extend the existing invalid library-name test with an unwrapped library named foo-. The test records the current behavior: the trailing - reaches module-name validation instead of being rejected as part of the library name.
Rudi Grinberg (@rgrinberg)test(melange): cover GC settings in incremental builds
Extend #16958 with incremental-build coverage for runtime overrides, restoration of #17022's GC defaults, and avoiding recompilation when only GC settings change.
Antonio Nuno Monteiro (@anmonteiro)test(melange): cover re-exported emit dependencies
Cover transitive re-exports through libraries and melange.libraries when consumed by melange.emit, with implicit transitive dependencies disabled. Also check that re_export is rejected in the emit stanza itself. Related to #16501.
Antonio Nuno Monteiro (@anmonteiro)test(melange): cover root modules in qualified emit sources
Cover root_module in melange.emit with qualified subdirectories and a local module shadowing a dependency. Related to #16501.
Antonio Nuno Monteiro (@anmonteiro)test(melange): cover selects in qualified emit sources
Cover select targets in qualified subdirectories of melange.emit, including execution of the emitted JavaScript. Related to #16501.
Antonio Nuno Monteiro (@anmonteiro)test(melange): expose missing CMJ metadata with private modules
Demonstrate that private modules hide CMJ optimization metadata from consumers of workspace libraries (#17020). The regression also reproduces with #16941.
Antonio Nuno Monteiro (@anmonteiro)test(melange): reproduce missing emit module artifact lookups
Reproduce failed artifact lookup for modules owned by melange.emit, including qualified references and overlapping stanzas.
Antonio Nuno Monteiro (@anmonteiro)test(melange): reproduce missing implicit Stdlib dependencies
Record the missing Stdlib compilation dependency when vendoring Melange, including a bundle with (package melange). Fixed by the stacked PR #17188.
Antonio Nuno Monteiro (@anmonteiro)test(melange): reproduce missing melange.libraries select modules
Reproduce missing selected modules when select is declared only in melange.libraries, with ordinary libraries as a working control. Related to #16501.
Antonio Nuno Monteiro (@anmonteiro)test(merlin): demonstrate missing private Melange includes
Demonstrate the missing hidden CMI directory in Merlin configurations for direct Melange dependencies with private modules. Related to #16629; regression for #16942.
Antonio Nuno Monteiro (@anmonteiro)test(merlin): demonstrate missing transitive Melange includes
Demonstrate the missing private CMI directory in Merlin configurations for hidden transitive Melange dependencies. Related to #16629; regression for #16942.
Antonio Nuno Monteiro (@anmonteiro)test(pkg): check extra-source rebuilds by package target
Match cache misses against the exact package target rather than looking for a digest in its path. This distinguishes the effect of reordering extra sources from editing their contents.
Ali Caglayan (@Alizter)test(pkg): check recipe edits after repository directory recreation
Extend the existing directory-order regression with a real package recipe edit. The filtered trace must show both auto-locking and the package build invalidated, followed by a cached repeated invocation.
Rudi Grinberg (@rgrinberg)