Skip to content

fix(check): load solver.toml with the runtime's own configuration schema - #20

Merged
blackopsrepl merged 1 commit into
mainfrom
feature/check-runtime-solver-config
Nov 20, 2026
Merged

blackopsrepl merged 1 commit into
mainfrom
feature/check-runtime-solver-config

Conversation

@blackopsrepl

Copy link
Copy Markdown
Contributor

solverforge check and config set validated only move_thread_count and candidate_trace. A solver.toml carrying a key the runtime does not know (a stray [app] table in solverforge-ttp) passed check, built, and then failed every job at start, because SolverForge 0.24+ rejects unknown keys.

Both now parse the file with solverforge-config, pinned to the scaffold runtime target (a unit test fails if the pin and RUNTIME_CRATE_VERSION drift). The two hand-written validators and config set's per-key pre-check are gone; the runtime parser covers them.

Verified: unit suite (240), clippy, fmt; a release build of check rejects solverforge-ttp's old solver.toml with the runtime's message and passes the fixed one.

check and config set validated only move_thread_count and candidate_trace,
so a solver.toml with a key the runtime does not know passed both and then
failed every job at start. Both now parse the file with solverforge-config,
pinned to the scaffold runtime target, which replaces the hand-written
validators.
@blackopsrepl
blackopsrepl merged commit f9464f6 into main Nov 20, 2026
8 checks passed
@blackopsrepl
blackopsrepl deleted the feature/check-runtime-solver-config branch November 20, 2026 23:12
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