v0.3.12-pre.008-fix.001
This commit is contained in:
@@ -6,7 +6,7 @@ resolver = "3"
|
||||
members = ["crates/ksp-app-backfill-desk", "crates/ksp-app-config-desk", "crates/ksp-app-solprices-desk", "crates/ksp-app-store-desk", "crates/ksp-app-wallet-desk", "crates/ksp-config-lib", "crates/ksp-core-lib", "crates/ksp-interface-lib", "crates/ksp-job-api", "crates/ksp-job-backfill-lib", "crates/ksp-logging-lib", "crates/ksp-offchain-transport-lib", "crates/ksp-onchain-transport-lib", "crates/ksp-program-api", "crates/ksp-raw-transaction-lib", "crates/ksp-store-api", "crates/ksp-store-lib", "crates/ksp-store-postgres-lib", "crates/ksp-wallet-lib", "crates/ksp-worker-api", "crates/ksp-worker-raw-transaction-ingest-lib"]
|
||||
|
||||
[workspace.package]
|
||||
version = "0.3.12-pre.8"
|
||||
version = "0.3.12-pre.8.fix.1"
|
||||
edition = "2024"
|
||||
license = "MIT"
|
||||
repository = "https://git.sasedev.com/Sasedev/khadhroony-solana-project"
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// file: crates/ksp-worker-raw-transaction-ingest-lib/src/lib.rs
|
||||
// version: 15
|
||||
// version: 16
|
||||
|
||||
#![warn(missing_docs)]
|
||||
#![deny(unreachable_pub)]
|
||||
@@ -16,7 +16,7 @@
|
||||
//! admission path; BlockMeta/Slot remain continuity-only signals. Hydration is coalesced by network/signature/commitment
|
||||
//! under bounded in-flight and pending budgets. A bounded run-local processing frontier projects hydration pending,
|
||||
//! oldest pending slot and highest unblocked actually observed slot. The productive source now also projects safe Transport reconnect/replay state and faults
|
||||
//! conservatively when Transport proves a replay-retention continuity gap; historical repair remains outside this crate.
|
||||
//! conservatively when Transport proves a replay-retention continuity gap; history repair remains outside this crate.
|
||||
|
||||
mod admission;
|
||||
mod error;
|
||||
|
||||
107
deltas/0.3.12/pre.008-fix.001.md
Normal file
107
deltas/0.3.12/pre.008-fix.001.md
Normal file
@@ -0,0 +1,107 @@
|
||||
<!-- file: deltas/0.3.12/pre.008-fix.001.md -->
|
||||
<!-- version: 1 -->
|
||||
|
||||
# Delta `0.3.12-pre.008-fix.001` — correction du faux positif hardening `historical`
|
||||
|
||||
## Base requise
|
||||
|
||||
```text
|
||||
0.3.12-pre.008
|
||||
workspace.package.version = 0.3.12-pre.8
|
||||
```
|
||||
|
||||
Le gate opérateur de `pre.008` valide les audits Rust/Markdown, `cargo check`, Clippy strict, 388 tests unitaires Transport, 51 `public_api` Transport, 43 `release_completeness` Transport, 63 tests unitaires Worker et 9 `dependency_boundary` Worker.
|
||||
|
||||
L'unique échec est le canari `pre_010_production_surface_has_no_historical_backfill_or_retriever_contract`, car la documentation de crate Worker contient la phrase `historical repair remains outside this crate`.
|
||||
|
||||
## Objectif
|
||||
|
||||
Corriger uniquement ce faux positif documentaire sans modifier ni affaiblir le canari hardening.
|
||||
|
||||
## Version
|
||||
|
||||
```text
|
||||
workspace.package.version = 0.3.12-pre.8.fix.1
|
||||
```
|
||||
|
||||
## Modification
|
||||
|
||||
Dans `ksp-worker-raw-transaction-ingest-lib/src/lib.rs` :
|
||||
|
||||
```text
|
||||
historical repair remains outside this crate
|
||||
```
|
||||
|
||||
devient :
|
||||
|
||||
```text
|
||||
history repair remains outside this crate
|
||||
```
|
||||
|
||||
Le token `historical` reste interdit par le canari existant. Aucun code productif, contrat, dépendance, type, import ou comportement n'est modifié.
|
||||
|
||||
## Fichiers modifiés
|
||||
|
||||
```text
|
||||
Cargo.toml
|
||||
crates/ksp-worker-raw-transaction-ingest-lib/src/lib.rs
|
||||
docs/validation/029-V0_3_12_YELLOWSTONE_HYDRATION_CONTINUITY.md
|
||||
```
|
||||
|
||||
## Fichier ajouté
|
||||
|
||||
```text
|
||||
deltas/0.3.12/pre.008-fix.001.md
|
||||
```
|
||||
|
||||
## Fichiers supprimés
|
||||
|
||||
```text
|
||||
aucun
|
||||
```
|
||||
|
||||
## Invariants préservés
|
||||
|
||||
Le correctif ne modifie pas :
|
||||
|
||||
```text
|
||||
Transport reconnect/from_slot/ReplayInfo
|
||||
projection source-neutral Worker
|
||||
processing frontier run-local
|
||||
coalescence/hydration HTTP
|
||||
admission/persistence
|
||||
politique proven continuity gap -> source fault
|
||||
API publique
|
||||
backfill/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
|
||||
canari statique des tokens historiques/backfill/retriever dans src/
|
||||
contrôle diff exact contre pre.008
|
||||
reconstruction du delta sur la base pre.008
|
||||
unzip -t de l'archive finale
|
||||
```
|
||||
|
||||
## Validations non exécutées localement
|
||||
|
||||
L'environnement d'assemblage ne fournit pas Cargo/rustc/rustfmt. Le gate opérateur doit être rejoué :
|
||||
|
||||
```text
|
||||
cargo fmt --all
|
||||
cargo check --workspace
|
||||
cargo clippy --workspace --all-targets --all-features -- -D warnings
|
||||
cargo test -p ksp-onchain-transport-lib
|
||||
cargo test -p ksp-worker-raw-transaction-ingest-lib
|
||||
```
|
||||
|
||||
## Décisions
|
||||
|
||||
Le canari hardening reste strict ; une phrase documentaire ne doit pas utiliser un token réservé à l'absence de surface historique si cela provoque un faux positif structurel.
|
||||
|
||||
## Questions ouvertes
|
||||
|
||||
Aucune.
|
||||
@@ -1,5 +1,5 @@
|
||||
<!-- file: docs/validation/029-V0_3_12_YELLOWSTONE_HYDRATION_CONTINUITY.md -->
|
||||
<!-- version: 16 -->
|
||||
<!-- version: 17 -->
|
||||
|
||||
# Validation v0.3.12 — Yellowstone + hydration HTTP + continuité de run du Worker RawTransaction
|
||||
|
||||
@@ -1652,3 +1652,31 @@ cargo tree --duplicates
|
||||
|
||||
Dans l'environnement d'assemblage, `cargo`, `rustc` et `rustfmt` ne sont pas installés ; aucun gate Cargo local n'est revendiqué.
|
||||
|
||||
## 71. Gate opérateur `pre.008` et fix `.001`
|
||||
|
||||
Le gate opérateur de `0.3.12-pre.008` valide :
|
||||
|
||||
```text
|
||||
audits Rust/Markdown : PASS
|
||||
cargo check --workspace : PASS
|
||||
cargo clippy --workspace --all-targets --all-features -- -D warnings : PASS
|
||||
ksp-onchain-transport-lib : 388 unit tests PASS, 51 public_api PASS, 43 release_completeness PASS
|
||||
ksp-worker-raw-transaction-ingest-lib : 63 unit tests PASS, 9 dependency_boundary PASS
|
||||
```
|
||||
|
||||
Les smokes réseau Transport restent explicitement `ignored`, conformément à leur politique opérateur.
|
||||
|
||||
L'unique échec est `pre_010_production_surface_has_no_historical_backfill_or_retriever_contract` dans `hardening`. Le canari interdit volontairement le token `historical` dans toute source production Worker. `pre.008` avait introduit ce mot uniquement dans la documentation de crate :
|
||||
|
||||
```text
|
||||
historical repair remains outside this crate
|
||||
```
|
||||
|
||||
Aucun contrat, import, dépendance, type ou appel historique/backfill/retriever n'est présent. Le fix `.001` conserve donc le canari strict inchangé et reformule uniquement cette documentation en :
|
||||
|
||||
```text
|
||||
history repair remains outside this crate
|
||||
```
|
||||
|
||||
Le fix ne modifie ni reconnect/replay, ni `from_slot`, ni `ReplayInfo`, ni la processing frontier, ni l'hydration, ni l'admission/persistence, ni l'API publique.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user