v0.3.3-pre.006

This commit is contained in:
2026-08-30 13:06:33 +02:00
parent 66a3926adb
commit 1352a61d70
15 changed files with 891 additions and 36 deletions

View File

@@ -1,5 +1,5 @@
<!-- file: docs/validation/020-V0_3_3_STORE_POSTGRES_RAW_TRANSACTION.md -->
<!-- version: 8 -->
<!-- version: 9 -->
# Validation `0.3.3` — Store/PostgreSQL RawTransaction vertical slice
@@ -580,12 +580,21 @@ cap 500/1000 dans Store pagination
- observation write séparée, key identique/divergente, absent/purged : PASS statique/unit design ;
- `Conflict` / `ReferenceNotFound` / `WriteFailed` sans texte serveur : PASS statique ;
- preuve PostgreSQL concurrente/rollback réelle : différée à `pre.009` ;
- gate Cargo opérateur : À EXÉCUTER.
- gate opérateur complet du 2026-08-30 : PASS (`check`, Clippy, Store/API/PostgreSQL/Config, no-default-features ; 30 tests unit backend).
### `pre.006`
- list/cursor/order/ranges ;
- hostile cursor matrix.
- `list_raw_transactions` backend-specific et mauvais réseau pré-I/O : PASS statique/unit design ;
- ordre total ASC/DESC `(slot, signature)` et keyset stricte sans OFFSET : PASS statique ;
- bornes inclusives et exclusion `Purged` : PASS statique ;
- cursor V1 fixe 109 octets, magic/version/last key/digest : PASS unit design ;
- binding digest network/direction/range + replay hostile rejeté : PASS unit design ;
- taille/magic/version/digest/random bytes hostiles : PASS unit design ;
- `last_slot` hors range rejeté : PASS unit design ;
- `LIMIT requested + 1`, limite `i64::MAX - 1`, aucun cap worker : PASS unit/statique ;
- index V001 `(slot, signature)` partiel réutilisé, migration inchangée : PASS statique ;
- snapshot inter-pages explicitement non garanti : PASS doc ;
- gate Cargo opérateur : À EXÉCUTER.
### `pre.007`
@@ -622,7 +631,7 @@ cap 500/1000 dans Store pagination
- publication stable.
## 22. Gate courant `pre.005`
## 22. Gate courant `pre.006`
```bash
cargo fmt --all
@@ -687,4 +696,15 @@ cargo check -p ksp-store-lib --no-default-features
- [PASS] référence canonique absente classée `ReferenceNotFound` ;
- [PASS] erreurs physiques d'écriture classées `WriteFailed` sans conserver le texte PostgreSQL ;
- [PASS] aucune migration SQL modifiée et aucun scope pagination/rétention mutante ouvert ;
- [À FAIRE] gate Cargo opérateur complet de `pre.005`.
- [PASS] gate Cargo opérateur complet de `pre.005` fourni le 2026-08-30.
### `pre.006` — état de la tranche
- [PASS] bridge `list_raw_transactions` ajouté sans type PostgreSQL public ;
- [PASS] keyset stricte ASC/DESC sur `(slot, signature)`, sans `OFFSET` ;
- [PASS] bornes de slots inclusives et tombstones `Purged` exclus ;
- [PASS] cursor V1 fixe 109 octets et digest lié à la query ;
- [PASS] replay network/direction/range et cursor hostile classés `QueryInvalid` ;
- [PASS] limite physique `requested <= i64::MAX - 1`, au-delà `PageLimitUnsupported` sans clamp ;
- [PASS] aucune migration SQL modifiée, aucun scope rétention mutante/façade ouvert ;
- [À FAIRE] gate Cargo opérateur complet de `pre.006`.