Repository activity
40458 results across all weeks
test(pkg): reproduce platform-dependent package key problems
Add cram reproductions of package identity problems across platforms: different operating systems or architectures can incorrectly share a key and stale artifacts, while inactive-platform edits and equivalent lock representations cause unnecessary builds.
Rudi Grinberg (@rgrinberg)test(pkg): reproduce platform-order package rebuilds
Add an end-to-end cram reproduction showing that reordering supported platforms unnecessarily changes an ordinary package’s build key. Cover both solved_for_platforms and alternatives in an explicit platform condition.
Rudi Grinberg (@rgrinberg)test(pkg): reproduce rebuilds after job-count changes
Add an end-to-end cram showing an unchanged ordinary package action rerunning when only -j or DUNE_JOBS changes. Cover direct, interpolated, and concatenated job arguments, while retaining positive controls for source edits, literal arguments, and jobs-dependent branches.
Rudi Grinberg (@rgrinberg)test(pkg): reproduce rebuilds from extra-source declaration order
Reordering two extra-source declarations currently changes a package’s build key and triggers another build, despite identical input bytes and an unchanged no-op action.
Rudi Grinberg (@rgrinberg)test(pkg): reproduce rebuilds from non-build metadata
Show that changing only (avoid) or a system-package hint changes an ordinary package's build key and reruns its unchanged no-op action.
Rudi Grinberg (@rgrinberg)test(pkg): reproduce stale output from locked ocamlformat
Changing only an export from a locked ocamlformat dependency leaves @fmt accepting the old output. A new file with identical contents gets the expected correction from the same formatter executable.
Ali Caglayan (@Alizter)test(pkg): reproduce symlink-order-dependent autolocking
Extend the existing directory-order reproduction with two metadata symlinks and preserve them when copying the package directories. With unchanged repository contents and a changed enumeration order, the current code produces an unnecessary auto-lock miss: {"lock":1,"package":0}. The generated lock stays identical and the package itself remains cached.
Rudi Grinberg (@rgrinberg)test(ppx): reproduce stale dependency scans after environment changes
A staged PPX chooses between modules A and B. After a package export switches to B, the incremental scan still reports a.cmi while a fresh scan reports b.cmi. Changing the same variable in a directory env_vars stanza also leaves the executable printing 1 instead of 2.
Ali Caglayan (@Alizter)test(site): cover scoped lookup and install compatibility
Record that package-dependent site lookup misses staged files even after reordering dependency includes. Also check that a plugin is listed once when the legacy install tree is already populated.
Ali Caglayan (@Alizter)test(site): reproduce package site lookup regression
Record the dune-site lookup failure when a rule depends on a package: the data is installed in a scoped layout while DUNE_DIR_LOCATIONS still points at the flat install tree. Show that prebuilding @install masks the failure, without changing production behavior.
Ali Caglayan (@Alizter)test(trace): share the read-only pipe fixture
Reuse the read-only pipe setup in the trace writer tests for write, flush, close, and descriptor cleanup failures. The assertions and expected errors are unchanged.
Rudi Grinberg (@rgrinberg)test(watch): avoid counting eager runtest server messages
The RPC ping waits for the server, not for its initial eager build. If the forwarded runtest request arrives during that build, the watch loop interrupts it and incorporates the request into the next iteration. As a result, the background server need not print two success lines.
Rudi Grinberg (@rgrinberg)test: declare utop dependency for absolute-path checks
Declare the utop package dependency for the absolute-path Cram test.
Antonio Nuno Monteiro (@anmonteiro)test: reproduce directory-target digest, glob, and promotion bugs
Add cram reproductions for five directory-target bugs: ambiguous directory-dependency digests, missing empty subdirectories on workspace-local cache hits, recursive globs skipping generated descendants, an internal error when globbing through a regular file, and promotion flattening directories when using (into ...).
Rudi Grinberg (@rgrinberg)test: run release script linting under runtest
Move release-script ShellCheck from lint-release-scripts to runtest so it runs with the standard test suite.
Rudi Grinberg (@rgrinberg)Bump cachix/install-nix-action from 31.11.3 to 31.11.5
Bumps cachix/install-nix-action from 31.11.3 to 31.11.5.
Dependabot (@dependabot)Fix locate on punned record fields with a module path
Fixes #1929.
Laksh Agarwal (@Lotion-3)Several bugs with `GrowInside()`
gmevel#12971 bis, occur_rec: don't expand already visited type nodes
Currently on trunk (and since OCaml 4.01 for some variant of the code below), the following code is accepted
Florian Angeletti (@Octachron)A deserialize that allocates leaves a dangling value
The manual says a deserialize function must not allocate (intf-c.etex:2171-2180), this program does, unmarshalling succeeds, and the value returned points into a young block the minor GC has reclaimed; reading it segfaults. It would be nice if this crash were a failure instead.
KC Sivaramakrishnan (@kayceesrk)