0.3.15-pre.012-fix.003

This commit is contained in:
2026-09-16 22:22:48 +02:00
parent 888ce3f35f
commit d56de4ace9
4 changed files with 90 additions and 16 deletions

View File

@@ -0,0 +1,70 @@
<!-- file: deltas/0.3.15/pre.012-fix.003.md -->
<!-- version: 1 -->
# Delta `0.3.15-pre.012-fix.003`
## Base
```text
base archive : ksp-general-0.3.15-pre.012-fix.002.zip
base SHA-256 : b8b0026a46f301449b9eaacc689eb4bbc9747381d1f4ff5bc5bb8e35bcf57d37
base version : 0.3.15-pre.12.fix.2
```
## Motif du fix
Le gate opérateur de `pre.012-fix.002` échoue uniquement sous Clippy strict : deux branches du nouveau canari terminal utilisent `assert!(false, ...)`, rejeté par `clippy::assertions_on_constants` avec `-D warnings`. Les tests Desk/Worker exécutés séparément passent, et le live Mainnet ne reproduit pas le terminal `Unhealthy/Faulted` : Yellowstone et HTTP Block Polling terminent proprement avec diagnostic terminal sans fault ni compteur d'erreur.
## Correction
Le canari `pre_012_fix_002_terminal_fault_logging_keeps_safe_route_identity_and_worker_cause_counters` conserve les mêmes bornes de surface, mais remplace les deux assertions constantes par une assertion dynamique `Option::is_some()` suivie d'un `let-else` sans `panic!`, `unreachable!`, `unwrap()` ni `expect()`.
Aucun code de production n'est modifié.
## Version
```text
workspace.package.version : 0.3.15-pre.12.fix.3
root Cargo header counter : 625
```
## Frontières
Aucun changement de comportement pour :
```text
Raw Transaction Ingest Desk runtime / monitoring / IPC / frontend
Config / Transport / Store
Worker / Common RAW
acquisition / replay / repair
Start / Stop / shutdown
politique health / fault
```
## Validation attendue
Le gate opérateur doit notamment confirmer :
```text
cargo fmt --all -- --check
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test -p ksp-app-raw-transaction-ingest-desk --all-targets --all-features
```
## Inventaire exact du delta
Ajout :
```text
deltas/0.3.15/pre.012-fix.003.md
```
Modifications :
```text
Cargo.toml
crates/ksp-app-raw-transaction-ingest-desk/tests/desktop_contract.rs
docs/validation/032-V0_3_15_RAW_TRANSACTION_INGEST_DESK.md
```
Suppressions : aucune.