Skip to content

test(cache): expose metadata read errors reported as missing - #16408

Merged
rgrinberg merged 1 commit into
ocaml:mainfrom
rgrinberg:push-nlruwupsumly
Sep 17, 2026
Merged

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

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

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.

This is a passing, test-only reproduction of the current bug. The fix is kept separate.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg
rgrinberg merged commit 99dac37 into ocaml:main Sep 17, 2026
38 of 39 checks passed
@Alizter Alizter added this to the 3.25.0 milestone Sep 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants