v0.3.12-pre.007-fix.002
This commit is contained in:
108
deltas/0.3.12/pre.007-fix.002.md
Normal file
108
deltas/0.3.12/pre.007-fix.002.md
Normal file
@@ -0,0 +1,108 @@
|
||||
<!-- file: deltas/0.3.12/pre.007-fix.002.md -->
|
||||
<!-- version: 1 -->
|
||||
|
||||
# Delta `0.3.12-pre.007-fix.002` — correction du canari d'inventaire des watches
|
||||
|
||||
## Base requise
|
||||
|
||||
```text
|
||||
0.3.12-pre.007-fix.001
|
||||
workspace.package.version = 0.3.12-pre.7.fix.1
|
||||
```
|
||||
|
||||
Le gate opérateur de `pre.007-fix.001` a validé les audits Rust/Markdown, `cargo check`, Clippy strict et les 61 tests unitaires Worker. L'unique échec restant provient du test d'intégration `dependency_boundary`, qui comptait encore exactement deux `tokio::sync::watch::channel` dans `runtime.rs`.
|
||||
|
||||
Depuis `pre.007`, une troisième watch run-local transporte légitimement la projection latest-value de processing frontier.
|
||||
|
||||
## Objectif
|
||||
|
||||
Corriger uniquement ce canari structurel obsolète, sans modifier le runtime ni le contrat fonctionnel de la processing frontier.
|
||||
|
||||
## Version
|
||||
|
||||
```text
|
||||
workspace.package.version = 0.3.12-pre.7.fix.2
|
||||
```
|
||||
|
||||
## Modifications
|
||||
|
||||
### Canari `dependency_boundary`
|
||||
|
||||
Le test distingue désormais explicitement les usages de watch dans `runtime.rs` :
|
||||
|
||||
```text
|
||||
2 x watch::channel(false) : stop external-control + stop private-source
|
||||
1 x watch::channel(RawTransactionIngestProcessingFrontierProjection::empty()) : frontier run-local latest-value
|
||||
3 x watch::channel au total dans runtime.rs
|
||||
```
|
||||
|
||||
Le canari conserve aussi l'invariant d'une seule watch de snapshot concret dans `snapshot.rs`.
|
||||
|
||||
Aucun test n'est affaibli : le contrôle devient plus précis qu'un simple comptage global.
|
||||
|
||||
## Fichiers modifiés
|
||||
|
||||
```text
|
||||
Cargo.toml
|
||||
crates/ksp-worker-raw-transaction-ingest-lib/tests/dependency_boundary.rs
|
||||
docs/validation/029-V0_3_12_YELLOWSTONE_HYDRATION_CONTINUITY.md
|
||||
```
|
||||
|
||||
## Fichier ajouté
|
||||
|
||||
```text
|
||||
deltas/0.3.12/pre.007-fix.002.md
|
||||
```
|
||||
|
||||
## Fichiers supprimés
|
||||
|
||||
```text
|
||||
aucun
|
||||
```
|
||||
|
||||
## Invariants préservés
|
||||
|
||||
Le correctif ne modifie pas :
|
||||
|
||||
```text
|
||||
runtime.rs
|
||||
pending / settled
|
||||
compaction des slots
|
||||
processing_frontier_slot
|
||||
oldest_pending_slot
|
||||
hydration_pending
|
||||
source Yellowstone productive
|
||||
coalescence / hydration HTTP
|
||||
admission / persistence
|
||||
API publique
|
||||
reconnect / from_slot / ReplayInfo / repair
|
||||
```
|
||||
|
||||
## Validations exécutées dans l'environnement d'assemblage
|
||||
|
||||
```text
|
||||
python3 scripts/audit_rust_workspace_rules.py
|
||||
python3 scripts/audit_markdown_tables.py README.md RULES.md ROADMAP.md CHANGELOG.md docs prompts crates deltas
|
||||
contrôle statique de l'inventaire des watches runtime/snapshot
|
||||
reconstruction du delta sur base pre.007-fix.001
|
||||
unzip -t de l'archive finale
|
||||
```
|
||||
|
||||
## Validations non exécutées localement
|
||||
|
||||
L'environnement d'assemblage ne fournit pas Cargo/rustc/rustfmt. Les gates Cargo doivent être rejoués par l'opérateur :
|
||||
|
||||
```text
|
||||
cargo fmt --all
|
||||
cargo check --workspace
|
||||
cargo clippy --workspace --all-targets --all-features -- -D warnings
|
||||
cargo test -p ksp-worker-raw-transaction-ingest-lib
|
||||
```
|
||||
|
||||
## Décisions
|
||||
|
||||
Aucune nouvelle décision fonctionnelle.
|
||||
|
||||
## Questions ouvertes
|
||||
|
||||
Aucune nouvelle question ouverte introduite par ce fix.
|
||||
Reference in New Issue
Block a user