Skip to content

test: reproduce directory-target digest, glob, and promotion bugs - #17175

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-yppmkqxlvmzl
Nov 22, 2026
Merged

rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-yppmkqxlvmzl

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

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 ...).

The tests document current behavior so each fix can update its own expectation independently. This PR does not change production code.

@rgrinberg
rgrinberg merged commit 7503f05 into ocaml:main Nov 22, 2026
36 of 37 checks passed
@Alizter Alizter added this to the 3.26.0 milestone Nov 23, 2026
rgrinberg added a commit that referenced this pull request Nov 24, 2026
…#17208)

Remove the case from #17175 that manually deletes an empty subdirectory
under `_build`. It tests recovery after modifying build artifacts, not a
failure during normal incremental builds. Keep the directory digest
regression that changes a declared input instead.

Signed-off-by: Rudi Grinberg <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants