v0.2.6-pre.007-fix.002
This commit is contained in:
116
deltas/0.2.6/pre.007-fix.002.md
Normal file
116
deltas/0.2.6/pre.007-fix.002.md
Normal file
@@ -0,0 +1,116 @@
|
||||
<!-- file: deltas/0.2.6/pre.007-fix.002.md -->
|
||||
<!-- version: 1 -->
|
||||
|
||||
# Delta `0.2.6-pre.007-fix.002` — correction du diagnostic Debug du canari ConfigEnvironment
|
||||
|
||||
## Base requise
|
||||
|
||||
```text
|
||||
0.2.6-pre.007-fix.001 appliquée
|
||||
workspace.package.version = 0.2.6-pre.7.fix.1
|
||||
```
|
||||
|
||||
La validation opérateur confirme :
|
||||
|
||||
```text
|
||||
cargo fmt --all OK
|
||||
python3 scripts/audit_rust_workspace_rules.py clean
|
||||
cargo check --workspace OK
|
||||
cargo clippy --workspace --all-targets échec compilation test config_composition
|
||||
cargo test -p ksp-app-wallet-desk même échec compilation
|
||||
```
|
||||
|
||||
Le défaut est exclusivement dans le message d'assertion du canari `wallet_desk_composite_transport_profile_builds_get_balance_pool`. Après le passage correct à `ConfigEnvironment::load()`, l'expression `{environment:?}` tente de formatter `Result<ConfigEnvironment, Error>` ; cela exige `ConfigEnvironment: Debug`, trait volontairement absent.
|
||||
|
||||
## Type de livraison
|
||||
|
||||
```text
|
||||
ksp-general-0.2.6-pre.007-fix.002.zip
|
||||
```
|
||||
|
||||
Le signal technique devient :
|
||||
|
||||
```text
|
||||
workspace.package.version = 0.2.6-pre.7.fix.2
|
||||
commit = v0.2.6-pre.007-fix.002
|
||||
```
|
||||
|
||||
`ksp-app-wallet-desk/package.json` et `tauri.conf.json` suivent `0.2.6-pre.7.fix.2`.
|
||||
|
||||
## Correction
|
||||
|
||||
Le canari ne demande plus de représentation `Debug` du snapshot d'environnement :
|
||||
|
||||
```rust
|
||||
let environment = ksp_config_lib::ConfigEnvironment::load();
|
||||
assert!(environment.is_ok(), "public Config environment snapshot should load");
|
||||
```
|
||||
|
||||
Le test continue ensuite à vérifier :
|
||||
|
||||
```text
|
||||
ConfigEnvironment::load()
|
||||
-> resolve_transport_config_profile(selection_source = Composite)
|
||||
-> HttpTransportPool::new(...)
|
||||
-> route getBalance / role default
|
||||
```
|
||||
|
||||
`ConfigEnvironment` reste volontairement non-`Debug`; aucune API Config n'est élargie pour les besoins du test.
|
||||
|
||||
## Fichiers ajoutés
|
||||
|
||||
```text
|
||||
deltas/0.2.6/pre.007-fix.002.md
|
||||
```
|
||||
|
||||
## Fichiers modifiés
|
||||
|
||||
```text
|
||||
Cargo.toml
|
||||
ROADMAP.md
|
||||
crates/ksp-app-wallet-desk/package.json
|
||||
crates/ksp-app-wallet-desk/tauri.conf.json
|
||||
crates/ksp-app-wallet-desk/tests/config_composition.rs
|
||||
docs/plans/002-FUNCTIONAL_RELEASE_SEQUENCE.md
|
||||
docs/plans/013-V0_2_6_WALLET_DESK_PLAN.md
|
||||
```
|
||||
|
||||
## Fichiers supprimés
|
||||
|
||||
```text
|
||||
aucun
|
||||
```
|
||||
|
||||
## Hors scope
|
||||
|
||||
Le fix ne modifie pas :
|
||||
|
||||
```text
|
||||
ConfigEnvironment runtime
|
||||
resolve_transport_config_profile
|
||||
HttpTransportPool / getBalance
|
||||
WalletSession / VIEW / OWNER
|
||||
WalletBalanceDto
|
||||
frontend
|
||||
Config documents / secrets
|
||||
Logging
|
||||
```
|
||||
|
||||
Aucune dépendance Cargo ou npm n'est ajoutée ou modifiée.
|
||||
|
||||
## Validation opérateur requise
|
||||
|
||||
```bash
|
||||
cargo fmt --all
|
||||
python3 scripts/audit_rust_workspace_rules.py
|
||||
cargo check --workspace
|
||||
cargo clippy --workspace --all-targets
|
||||
cargo test -p ksp-config-lib
|
||||
cargo test -p ksp-app-wallet-desk
|
||||
cargo test --workspace
|
||||
|
||||
KSP_WALLETS_DIRECTORY=var/wallet-desk-pre007 \
|
||||
cargo tauri dev -c crates/ksp-app-wallet-desk/tauri.conf.json
|
||||
```
|
||||
|
||||
Aucune commande npm directe n'est nécessaire. `cargo tauri build -c crates/ksp-app-wallet-desk/tauri.conf.json` reste réservé à la toute dernière validation de `0.2.6`.
|
||||
Reference in New Issue
Block a user