v0.1.2-pre.004-fix.004
This commit is contained in:
95
deltas/0.1.2/pre.004-fix.004.md
Normal file
95
deltas/0.1.2/pre.004-fix.004.md
Normal file
@@ -0,0 +1,95 @@
|
||||
<!-- file: deltas/0.1.2/pre.004-fix.004.md -->
|
||||
<!-- version: 1 -->
|
||||
|
||||
# Delta 0.1.2-pre.004-fix.004
|
||||
|
||||
## Base requise
|
||||
|
||||
Livraison précédente :
|
||||
|
||||
```text
|
||||
0.1.2-pre.004-fix.003
|
||||
```
|
||||
|
||||
La base porte :
|
||||
|
||||
```text
|
||||
workspace.package.version = "0.1.2-pre.4.fix.3"
|
||||
Cargo.toml header version = 34
|
||||
```
|
||||
|
||||
## Validation remontée
|
||||
|
||||
Après application de `pre.004-fix.003` :
|
||||
|
||||
```text
|
||||
cargo fmt --all OK
|
||||
cargo check --workspace OK
|
||||
cargo test --workspace OK
|
||||
cargo clippy --workspace --all-targets WARNING
|
||||
```
|
||||
|
||||
Tous les tests fonctionnels passent désormais, y compris le test runtime global couvrant takeover, sorties non bloquantes, hot reload, fichier, stripping ANSI et initialisation unique.
|
||||
|
||||
Clippy signale uniquement :
|
||||
|
||||
```text
|
||||
clippy::vec_init_then_push
|
||||
```
|
||||
|
||||
sur la construction du `Vec` reloadable après création du composite `Targets -> sinks`.
|
||||
|
||||
## Correction
|
||||
|
||||
La construction :
|
||||
|
||||
```rust
|
||||
let mut layers = RuntimeLayers::new();
|
||||
layers.push(takeover_layer);
|
||||
```
|
||||
|
||||
est remplacée par :
|
||||
|
||||
```rust
|
||||
let layers = vec![takeover_layer];
|
||||
```
|
||||
|
||||
Aucun comportement runtime, test, setting, writer, filtre ou contrat public n'est modifié.
|
||||
|
||||
## Version technique
|
||||
|
||||
Ce correctif modifie du Rust. La version workspace devient :
|
||||
|
||||
```text
|
||||
workspace.package.version = "0.1.2-pre.4.fix.4"
|
||||
```
|
||||
|
||||
et l'en-tête du `Cargo.toml` racine devient :
|
||||
|
||||
```text
|
||||
# version: 35
|
||||
```
|
||||
|
||||
## Fichiers du delta
|
||||
|
||||
```text
|
||||
Cargo.toml
|
||||
crates/ksp-logging-lib/src/runtime.rs
|
||||
docs/plans/004-V0_1_2_LOGGING_FOUNDATION_PLAN.md
|
||||
deltas/0.1.2/pre.004-fix.004.md
|
||||
```
|
||||
|
||||
## Validations à exécuter
|
||||
|
||||
```bash
|
||||
cargo fmt --all
|
||||
cargo check --workspace
|
||||
cargo clippy --workspace --all-targets
|
||||
cargo test --workspace
|
||||
```
|
||||
|
||||
Aucune dépendance n'est modifiée. Après validation propre, la tranche suivante reste :
|
||||
|
||||
```text
|
||||
0.1.2-pre.005 — intégration + concurrence + saturation + audits
|
||||
```
|
||||
Reference in New Issue
Block a user