Skip to content

Restructure crates: rename karva_core, merge karva_static, rename karva_projects#436

Merged
MatthewMckee4 merged 1 commit intomainfrom
restructure-crates
Feb 7, 2026
Merged

Restructure crates: rename karva_core, merge karva_static, rename karva_projects#436
MatthewMckee4 merged 1 commit intomainfrom
restructure-crates

Conversation

@MatthewMckee4
Copy link
Member

Summary

  • Split karva_core into karva_test_semantic (library) and karva_worker (binary), clarifying that the former is the test execution library and the latter is the worker subprocess binary
  • Add run_tests() public API to karva_test_semantic encapsulating Context + discovery + execution
  • Merge karva_static (3 env var constants) into karva_system where it was solely consumed
  • Rename karva_projects to karva_test_projects to avoid confusion with karva_project (singular)
  • Update pyproject.toml entry point from karva-core to karva-worker
  • Add architecture documentation to CONTRIBUTING.md covering the main-process + worker-subprocess model and crate map

Test plan

  • cargo run -p karva_dev generate-all succeeds
  • just test passes (434/434 tests)
  • prek run -a passes (all checks including clippy, fmt, markdownlint)

…va_projects

- Split `karva_core` into `karva_test_semantic` (library) and `karva_worker` (binary),
  clarifying that the former is the test execution library and the latter is the
  worker subprocess binary
- Add `run_tests()` public API to `karva_test_semantic` encapsulating Context +
  discovery + execution
- Merge `karva_static` (3 constants) into `karva_system` where it was solely consumed
- Rename `karva_projects` to `karva_test_projects` to avoid confusion with
  `karva_project` (singular)
- Update `pyproject.toml` entry point from `karva-core` to `karva-worker`
- Add architecture documentation to CONTRIBUTING.md covering the main-process +
  worker-subprocess model and crate map
@github-actions
Copy link

github-actions bot commented Feb 7, 2026

Project Diff Results

No changes between this PR and main.

@MatthewMckee4 MatthewMckee4 merged commit 851fa52 into main Feb 7, 2026
22 checks passed
@MatthewMckee4 MatthewMckee4 deleted the restructure-crates branch February 7, 2026 18:46
@codspeed-hq
Copy link

codspeed-hq bot commented Feb 7, 2026

CodSpeed Performance Report

Merging this PR will not alter performance

Comparing restructure-crates (8c9520c) with main (5bfe506)

Summary

✅ 1 untouched benchmark

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