Files
games/deltas/0.3.5/alpha.9.fix.1.md

104 lines
3.0 KiB
Markdown
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
<!-- file: deltas/0.3.5/alpha.9.fix.1.md -->
<!-- version: 1 -->
# Delta 0.3.5-alpha.9.fix.1
## Base requise
`0.3.5-alpha.9`.
La gate utilisateur du 2026-09-22 valide :
- fmt et les trois audits ;
- `cargo check --workspace` ;
- les tests `game-realtime-webtransport-lib`, y compris les `2/2` tests datagram ;
- le smoke datagram natif, terminé par `game-realtime-webtransport-datagram-smoke: PASS` ;
- `cargo check`, Clippy et build de `game-realtime-webtransport-lib` sur `wasm32-unknown-unknown` ;
- les graphes de dépendances attendus.
La gate complète échoue uniquement sur Clippy workspace avec `missing_docs` pour le crate dintégration `crates/common/game-realtime-webtransport-lib/tests/datagrams.rs`. Les tests et le smoke datagram eux-mêmes sont verts.
`alpha.9` n'est donc pas historisée comme validée avant ce correctif.
## Cause
Chaque fichier sous `tests/` est compilé comme un crate dintégration autonome. La règle workspace :
```text
missing_docs = "warn"
```
devient bloquante sous :
```text
cargo clippy --workspace --all-targets --all-features -- -D warnings
```
Le nouveau `tests/datagrams.rs` documente ses tests mais ne possédait pas de rustdoc `//!` au niveau crate.
## Correction
La version technique passe à :
```text
0.3.5-alpha.9.fix.1
```
Le correctif ajoute uniquement une documentation de niveau crate à `tests/datagrams.rs`. Il n'ajoute aucune exception `allow`, ne modifie aucun test et ne change :
- ni la surface datagram de `WebTransportSession` ;
- ni le framing fiable ;
- ni `RealtimeConnection` ;
- ni les backends natif/WASM ;
- ni les deadlines ;
- ni les dépendances ;
- ni le smoke datagram.
## Fichiers modifiés
```text
Cargo.toml
README.md
crates/common/game-realtime-webtransport-lib/tests/datagrams.rs
docs/plans/005-V0_3_5_WEBTRANSPORT_QUIC_POC_PLAN.md
```
Nouveau fichier :
```text
deltas/0.3.5/alpha.9.fix.1.md
```
Aucun `history/0.3.5/alpha.9.md` n'est créé avant une gate entièrement verte.
## Validation attendue
```bash
cargo fmt --all
cargo fmt --all -- --check
python3 scripts/audit_rust_workspace_rules.py
python3 scripts/audit_markdown_tables.py README.md RULES.md ROADMAP.md CHANGELOG.md docs prompts crates Android Web deltas history
python3 scripts/audit_distribution_layout.py
cargo check --workspace
cargo clippy --workspace --all-targets --all-features -- -D warnings
cargo test -p game-realtime-webtransport-lib --all-targets --all-features
cargo run -p game-realtime-webtransport-datagram-smoke
cargo check -p game-realtime-webtransport-lib --target wasm32-unknown-unknown
cargo clippy -p game-realtime-webtransport-lib --target wasm32-unknown-unknown --lib -- -D warnings
cargo build -p game-realtime-webtransport-lib --target wasm32-unknown-unknown
```
Le smoke doit terminer par :
```text
game-realtime-webtransport-datagram-smoke: PASS
```
## Après validation
Créer `history/0.3.5/alpha.9.fix.1.md` à partir des sorties réellement fournies, puis ouvrir `0.3.5-alpha.10` pour les mesures comparatives bornées WebSocket / WebTransport fiable, avec les datagrams mesurés séparément.