Skip to content

Conversation

@shonfeder
Copy link
Member

@shonfeder shonfeder commented Oct 31, 2025

Trying to set up a repro for behavior I encountered on my machine with an invalid config in the default location, but I haven't been able to capture it in the cram test yet.

@shonfeder shonfeder force-pushed the shonfeder/invalid-config branch from a480b4b to b805c46 Compare October 31, 2025 00:48
@shonfeder shonfeder changed the title Add repro case for crashes on invalid config files Crashes on invalid config files Oct 31, 2025
@shonfeder shonfeder marked this pull request as draft October 31, 2025 00:52
@@ -0,0 +1,3 @@
$ export XDG_CONFIG_HOME=$PWD
$ '(cache enabled)' > config
$ dune --version
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This won't read any config AFAIK as cmdliner short circuits this path. If you did something like dune build, that would fail saying the config doesn't have a dune lang version.

@shonfeder shonfeder closed this Nov 19, 2025
@shonfeder shonfeder deleted the shonfeder/invalid-config branch November 19, 2025 18:25
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