v0.3.14-pre.009
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
// file: crates/ksp-worker-raw-transaction-ingest-lib/tests/release_completeness.rs
|
||||
// version: 27
|
||||
// version: 28
|
||||
|
||||
//! Release-completeness canaries through the `v0.3.14-pre.008` continuity reconciliation tranche.
|
||||
//! Release-completeness canaries through the `v0.3.14-pre.009` multi-source health-policy tranche.
|
||||
|
||||
#[test]
|
||||
fn pre_010_production_module_inventory_is_exact() -> std::io::Result<()> {
|
||||
@@ -343,3 +343,27 @@ fn v0_3_14_pre_008_reconciliation_canaries_are_present_without_public_surface_or
|
||||
assert!(!root.contains("pub use self::continuity::RawTransactionIngestSourceLossDecision"));
|
||||
return;
|
||||
}
|
||||
|
||||
#[test]
|
||||
fn v0_3_14_pre_009_health_policy_canaries_are_present_without_public_source_identity_growth() {
|
||||
let continuity_tests = include_str!("../unit_tests/continuity.rs");
|
||||
let hardening = include_str!("hardening.rs");
|
||||
let resource_tests = include_str!("../unit_tests/runtime_resources.rs");
|
||||
let snapshot_tests = include_str!("../unit_tests/snapshot.rs");
|
||||
let root = include_str!("../src/lib.rs");
|
||||
for required in [
|
||||
"pre_009_health_projection_distinguishes_future_coverage_from_open_gap_reconciliation",
|
||||
"pre_009_health_projection_rejects_duplicate_and_unknown_active_sources",
|
||||
"v0_3_14_pre_009_inventory_health_projection_tracks_reconciled_coverage",
|
||||
"v0_3_14_pre_009_health_requires_present_and_future_coverage_before_healthy",
|
||||
] {
|
||||
assert!(
|
||||
continuity_tests.contains(required) || resource_tests.contains(required) || snapshot_tests.contains(required),
|
||||
"required pre.009 health canary missing: {required}"
|
||||
);
|
||||
}
|
||||
assert!(hardening.contains("v0_3_14_pre_009_health_policy_is_present_future_coverage_gated_and_source_neutral"));
|
||||
assert!(!root.contains("SourceHealthByKey"));
|
||||
assert!(!root.contains("pub use self::continuity::RawTransactionIngestTargetCoverage"));
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user