Skip to main content

batuta/stack/releaser_preflight/
mod.rs

1//! Release Preflight Checks
2//!
3//! Preflight check methods for ReleaseOrchestrator extracted from releaser.rs.
4//! Contains all check_* methods for various quality gates.
5//!
6//! The common command-execution pattern is factored into [`helpers::run_check_command`],
7//! which handles argument parsing, spawning, UTF-8 decoding, and the
8//! not-found / general-error branches that every check shares.
9
10mod checks;
11pub mod helpers;
12
13#[cfg(test)]
14mod tests;
15
16// Re-export helper functions for use by other modules
17pub use helpers::{
18    parse_count_from_json_multi, parse_value_from_json, run_check_command, score_check_result,
19};