fix(stats): skip registry entries without keys
Release / release (push) Successful in 2m18s
CI / build (push) Successful in 1m3s

This commit is contained in:
dmg
2026-08-08 14:52:01 -04:00
parent 03acea6ba5
commit bd48e33ace
4 changed files with 16 additions and 1 deletions
+1
View File
@@ -10,3 +10,4 @@ description: Chronological record of material changes to the design knowledge bu
- Established the OKF v0.1 design bundle.
- Documented the existing configuration, event production, activity capture, snapshots, durable delivery, and release workflows as user stories.
- Made snapshot collection skip Bukkit registry entries whose keys are unavailable.
@@ -13,6 +13,7 @@ As a **server analyst**, I want periodic player location and statistic snapshots
- [x] Each configured interval captures every online player's world identity, coordinates, orientation, game mode, and biome.
- [x] Registry-backed snapshot values use Bukkit's stable `Keyed` contract so collection remains compatible with the supported Purpur runtime.
- [x] Unkeyed registry entries such as `EntityType.UNKNOWN` are skipped without throwing or interrupting snapshot collection.
- [x] Every Bukkit untyped, block, item, and entity statistic combination accepted by Bukkit is captured, including zero values.
- [x] Invalid statistic subtype combinations are skipped without stopping the snapshot.
- [x] Statistic reads are spread across ticks according to a configurable operation budget and run through Bukkit scheduling.