Skip to content

fix(config): name the key in a rejected config set - #21

Merged
blackopsrepl merged 1 commit into
mainfrom
feature/config-set-names-key
Nov 21, 2026
Merged

blackopsrepl merged 1 commit into
mainfrom
feature/config-set-names-key

Conversation

@blackopsrepl

Copy link
Copy Markdown
Contributor

Since 4.2.1, config set validates the edited solver.toml with the runtime's parser. Its error pointed at the edited line but not at the dotted key, so config set move_thread_count.count many reported an anonymous TOML error. The message now starts with cannot set \`:`.

Verified: unit suite (240), clippy, fmt; release build: config set move_thread_count.count many names the key and leaves solver.toml unchanged; check rejects all seven invalid move_thread_count forms with the setting named.

config set reported the runtime's parse error alone, which points at the
edited line but not at the dotted key, so a rejected nested value read as
an anonymous TOML error. The message now starts with the key that was set.
@blackopsrepl
blackopsrepl merged commit a0d6a43 into main Nov 21, 2026
8 checks passed
@blackopsrepl
blackopsrepl deleted the feature/config-set-names-key branch November 21, 2026 07:05
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.

1 participant