v0.2.12-pre.003-fix.001

This commit is contained in:
2026-08-27 09:37:55 +02:00
parent 5a165296d9
commit afc50c1e48
5 changed files with 128 additions and 6 deletions

View File

@@ -1,5 +1,5 @@
<!-- file: docs/validation/015-V0_2_12_SOL_PRICES_DESK.md -->
<!-- version: 4 -->
<!-- version: 5 -->
# Validation `0.2.12` — SOL Prices Desk + intégration Wallet Desk
@@ -269,3 +269,29 @@ python3 scripts/audit_markdown_tables.py README.md ... deltas PASS
validation syntaxique des JSON modifiés PASS
cargo fmt/check/clippy/test NOT RUN — cargo indisponible dans le sandbox
```
## 16. Gate `0.2.12-pre.003-fix.001`
Le gate opérateur du `27 août 2026` sur `0.2.12-pre.3` a établi :
```text
cargo fmt --all PASS
python3 scripts/audit_rust_workspace_rules.py PASS
python3 scripts/audit_markdown_tables.py ... deltas/0.2.12 PASS
cargo check --workspace PASS
cargo clippy --workspace --all-targets FAIL — compilation du test config_composition
cargo test -p ksp-app-solprices-desk FAIL — même défaut de compilation
```
Le défaut est limité au canari `solprices_desk_default_composite_builds_provider_neutral_offchain_service` : son message `assert!` formatait `{environment:?}` sur un `Result<ConfigEnvironment, Error>`. Comme `ConfigEnvironment` n'implémente volontairement pas `Debug`, ce formatage imposait un contrat non requis au type de succès.
`pre.003-fix.001` retire uniquement cette interpolation et conserve le `is_ok()` suivi du `match` explicite existant. Aucun `Debug` n'est ajouté à `ConfigEnvironment`, aucun `unwrap`/`expect`/`panic` n'est introduit, et aucun comportement runtime n'est modifié.
Validations sandbox après matérialisation du fix :
```text
python3 scripts/audit_rust_workspace_rules.py PASS
python3 scripts/audit_markdown_tables.py README.md ... deltas PASS
cargo fmt/check/clippy/test NOT RUN — cargo indisponible dans le sandbox
```