Skip to content

refactoring runmat-config for maintainability#329

Open
nallana wants to merge 1 commit into
devfrom
config-refactor
Open

refactoring runmat-config for maintainability#329
nallana wants to merge 1 commit into
devfrom
config-refactor

Conversation

@nallana
Copy link
Copy Markdown
Contributor

@nallana nallana commented May 6, 2026

Note

Low Risk
Mostly a mechanical refactor that moves existing config schema/loader code into dedicated modules and adds tests to guard behavior; risk is limited to potential regressions in re-exports or module visibility affecting downstream crates.

Overview
Refactors runmat-config by splitting the large lib.rs into a schema/ module tree (typed config structs/enums/defaults plus accelerate runtime conversions) and a loader/ module tree (file discovery, file parsing/serialization, env var overrides, and parsing helpers), while keeping the public API surfaced via re-exports in lib.rs.

Moves previously inline unit tests into focused integration tests under crates/runmat-config/tests/ (defaults, serialization, file loading, env override behavior, and accelerate bridge), and updates docs/CONFIG.md to reference the new schema/ location.

Reviewed by Cursor Bugbot for commit 6e00bf5. Bugbot is set up for automated code reviews on this repo. Configure here.

@nallana nallana requested a review from gneeri May 6, 2026 15:25
@vercel
Copy link
Copy Markdown

vercel Bot commented May 6, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
runmat Ready Ready Preview, Comment, Open in v0 May 6, 2026 3:25pm

Request Review

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