Skip to content

refactor: extract process and finding types into dedicated crates - #8166

Merged
chubes4 merged 1 commit into
mainfrom
refactor/extract-process-finding-crates
Jul 14, 2026
Merged

refactor: extract process and finding types into dedicated crates#8166
chubes4 merged 1 commit into
mainfrom
refactor/extract-process-finding-crates

Conversation

@chubes4

@chubes4 chubes4 commented Jul 14, 2026

Copy link
Copy Markdown
Member

Summary

Sixth step in the homeboy workspace split. Extracts two pristine leaf modules into path-only crates in one batch (they're independent):

  • homeboy-process (455 LOC, 20 importers) — process spawn/signal/lifecycle helpers; deps: homeboy-error + libc + ctrlc.
  • homeboy-finding (381 LOC, 22 importers) — structured finding/diagnostic types for audit/review output; serde only.

No crates.io. Path-only members; still ships as the single homeboy binary.

What changed

  • Two new crates under crates/.
  • src/core/process.rs and src/core/finding.rs moved via git mv (100% renames).
  • core/mod.rs re-exports both — all ~42 combined call sites unchanged.

Verification

  • cargo check -p homeboy-process -p homeboy-finding — passes.
  • cargo check --lib — passes, 0 errors.
  • cargo test on both crates — 10/10 pass.
  • Full build/test left to CI.

Progress + next

Crates now: redaction, error, engine-primitives, product-identity, output, process, finding (7). Next I'm taking on the deferred pathsdefaults dependency cycle as a dedicated inversion PR — it's on the critical path to the big runner extraction and the clean-leaf supply is thinning.

🤖 Generated with Claude Code

Extracts two pristine leaf modules into path-only crates:
- homeboy-process (455 LOC, 20 importers): process spawn/signal/lifecycle
  helpers; depends only on homeboy-error + libc + ctrlc.
- homeboy-finding (381 LOC, 22 importers): structured finding/diagnostic types
  for audit and review output; serde only.

Both re-exported via core/mod.rs so crate::core::{process,finding}::* call
sites are unchanged. Not published to crates.io; still ships as the single
homeboy binary. cargo check --lib passes; both crates' unit tests pass.
@chubes4
chubes4 merged commit 53eccb1 into main Jul 14, 2026
3 checks passed
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