Repository navigation
v0.6.0
0.6.0 changes what vrfkit export writes to the manifest and summary, so it
is a minor version bump. It also turns the vrfkit crate into a library with
a public Rust reader API. Read the two migration guides before updating a
consumer or a strict output validator:
The Windows CLI is still the only packaged distribution. Rust consumers pin a
source revision such as the v0.6.0 tag; the Python tools are source-only.
Nothing is published to crates.io or PyPI. No speed, CPU, memory or
throughput improvement is claimed for this release.
Breaking changes
Export output (manifest keys and summary lines):
- Native movement components: the eight movement tail/trailer counters are
removed and ninemovement_component_*counters are added, in the main
and checkpointsinkblocks. The summary's tail/trailer lines are replaced
byMovement components:,Component envelopes:andComponent headers:
(and theirCheckpointtwins). Old values cannot be converted into the new
counts. See
native movement components. - New required
sinkkeys, main and checkpoint, present at zero:
route_children_focus_projectiles,focus_projectiles_empty_trailersand
focus_projectiles_declaration_refusals. TheRoute children:line gains
a finalN focus projectilesitem, and new lines
FocusProjectiles trailers: N empty deltasand
FocusProjectiles refused: N parent updates with a mismatched declaration
(plusCheckpointtwins) are printed. - New manifest
netkeypartial_payload_overrun; thePartial causes:and
Checkpoint causes:lines gain anN payload overrunitem after
unaligned. The raw-partial reason strings includepayload_overrun. - A container or frame failure inside a checkpoint is reported as
checkpoint <id>: <error>(checkpoint #<index>: <error>before the id is
read). Main-stream failures keep their bare text. - Strict baseline validators require the new keys; an archived baseline from
an earlier executable fails the current harness.
Rust API:
NetStats,Preamble,CheckpointTablesandCheckpointIdentityare
#[non_exhaustive]. StartNetStatsfromdefault()and assign fields;
buildCheckpointIdentitywithCheckpointIdentity::new.ContainerError,FrameErrorandSchemaErrorare#[non_exhaustive];
exhaustive matches need a wildcard.EventChunk,ReplayInfo,
ReplayHeader,ReplayVersion,OverlayErrorRow,DecodeErrorKind,
DiagnosticEvent,BunchFlagSnapshotandContentBlockHeaderSnapshotare
#[non_exhaustive]read-only results; build anEventChunkwith
vrf_container::parse_event_chunk.vrf_net::error::PartialSequenceKindand
vrf_net::pipeline::PartialPayloadReasonaddPayloadOverrun;
NetStatsaddspartial_payload_overrun.RpcDecodeResultdrops its eight tail/trailer fields for nine component
fields, andMovementErroradds six variants.- The new
vrfkitlibrary typesReplayError,ReadOptions,SchemaLimits
andValidationVerdictare#[non_exhaustive]. Code written against a
pre-release source revision of this API must matchReplayErrorwith a
wildcard, handleReplayError::UnsupportedBranch { branch, message }
(previouslyUsage, same text) and
ReplayError::Checkpoint { checkpoint_index, checkpoint_id, error }, and
build options withdefault()pluswith_checkpoints,
with_schema_limits,with_max_groupsandwith_max_field_slots
instead of struct literals.
Added
vrfkitlibrary:ReplayReaderstreams borrowed main-stream records and
native Event payloads through callbacks without writing Parquet. With
default-features = falseit has no Arrow, Parquet or Zstd dependency. See
Rust API.- Optional checkpoint callbacks (
ReadOptions::default().with_checkpoints(true))
with separate snapshot state and summaries; existing calls still skip
snapshots. ReplayReader::read_boundedfor finite nonseekableReadinput with a
required encoded-byte cap.- Configurable schema budgets (
SchemaLimits) that refuse excess group and
field-slot declarations before allocating; see
schema limits. - Optional gameplay projections (
native_event,round_phase_event) and
MainIdentityTimelinefor body identity and movement association, with
explicit null, unresolved and ambiguous outcomes; see
Gameplay API. - Movement provenance through the Reader, and
tools/compare_movement_provenance.pyfor comparing it with the reference
parser; see movement comparison. validateandexportread replay chunks from the file instead of holding
the whole replay;export --checkpointsuses its own checkpoint cursor. See
CLI input.- The 12.05
Clay_PC_C.FocusProjectilesarray route: exact child rows before
the unchanged raw parent, on that build only; see
the route. tools/export_jsonl.py: selected Parquet columns to schema-described JSONL;
see JSONL.tools/benchmark_resources.py: paired export comparisons with CPU, RSS and
output-equality gates; see resource benchmarks.vrfkit --help/-h(also after any subcommand) andvrfkit --version/-V,
both exit 0.vrfkit <subcommand> --helpused to read--helpas the
replay path.- I/O errors name the path:
I/O error: <path>: <OS message>for the input
replay (CLI andReplayReader::read_path*), thediag --jsonoutput and
export staging/table files, and<path>: is a directory, not a replay file
for a directory given as the replay. ForReplayReader::read_path*the
io::ErrorKindofNotFoundandPermissionDeniedis kept, but the OS
code is on the error'ssource()(the outerraw_os_error()isNone),
and a directory reportsIsADirectory(on Windows it was
PermissionDenied). validateprints=== Stream failures (0 shown) ===and
=== Diagnostic Events (0 total) ===when those sections are empty, so
--diagnosticswith nothing retained is visible.
Fixed
exportrefuses an output directory that contains the input replay, also
when the replay is named like an export table, before staging.- A failed Windows replacement of the
diag --jsonreport keeps the previous
report; the delete-before-rename step is gone. - A malformed repeated shooter GUID clears the current movement identity;
earlier valid rows and the complete raw RPC are kept. - Resolved checkpoint GUID paths are bounded to 256 MiB per archive before
indexed-string copying, observer delivery and cache insertion. - Short direct partial-bunch buffers are refused explicitly, and packet bit
lengths use checked wide arithmetic. - The native movement decoder validates component envelopes and keeps
unsupported component bodies as raw RPCs instead of reading them as
tail/trailer bits. - 12.05
FocusProjectilesparents refused for a parent-handle or
member-declaration mismatch are counted
(focus_projectiles_declaration_refusals) instead of leaving no trace. MainIdentityTimelinereports a body whose only declaration sits on an
ended PlayerState lifetime asIdentityUnresolved::Lifecycle, not
NoReference.MovementProvenance::sourceisNonefor a negative packet ID instead of
a wrappedu32packet number.- Partial payload overruns are classified (
partial_payload_overrun) instead
of counting as unclassified. - Corrupt compressed data is reported as an error instead of a panic. The
Oodle decoder (oozextract) panics on some malformed streams; a single
flipped byte in a compressed chunk madevalidate,diag,exportand
the Reader exit 101. The panic is now caught and returned as
ContainerError::OodleDecompression("decoder panicked: ...")
(ReadError::Replay, wrapped inReplayError::Checkpointinside a
snapshot); the CLI exits 1 without a panic report. export --out .(or.., or a root) is refused with the actual rule: the
destination must end in a directory name, because the export is staged in a
sibling named after it. It was described as "not a filesystem root".
Tools and CI
compare_movement_provenance.pyexits 2 with anerrorreport for a
truncated or corrupt gzip input, and replaces any previous report with an
errorreport before reading input, so a failed run never leaves an
earlierpassbehind.validate_type_evidence.pyreports carryreportandstatus
(pass/fail).--outputholdsincompleteorerrorafter a run that
did not finish, and an existing--outputthat is not one of its reports
is refused (exit 2) instead of replaced, as is the specification, the tool
itself, a.parquetfile or amanifest.json. A missing export root or an
unreadable or malformed specification is oneerror:line and exit 2
instead of a traceback, and still leaves anerrorreport at--output.package_release.pyrefuses a tag that does not name the Cargo workspace
version, and a newversioncommand prints that version. Untagged CI runs
package asv<version>+ci.<commit>.- CI runs Linux MSRV tests and public-replay validation through a reusable
ci.yml, which tagged releases also call. The branch-only workflows are
removed. - Tests that could not fail were made able to fail (reader assertions,
movement-comparison gates, benchmark counter equality, movement accounting
in the corpus guards, the JSONL batch-column check).
What's Changed
- ci: establish isolated overhaul validation and Linux runtime baseline by @yakisoba0728 in #47
- fix: prevent invalid benchmark inputs from passing performance checks by @yakisoba0728 in #48
- fix(bitio): reject invalid read widths and vector scales by @yakisoba0728 in #49
- feat(bench): measure resources only for equivalent full exports by @yakisoba0728 in #50
- fix(schema): bound aggregate field-slot allocation before decoding by @yakisoba0728 in #51
- feat(api): stream replay records through the shared Rust decoder by @yakisoba0728 in #52
- feat(tools): add atomic streaming Parquet-to-JSONL export by @yakisoba0728 in #53
- fix(qa): compare C# counts and movement with unambiguous identities by @yakisoba0728 in #54
- ci: retain Linux MSRV and public-replay validation for main and releases by @yakisoba0728 in #55
- perf(schema): reuse unchanged declarations with scoped benchmark evidence by @yakisoba0728 in #56
- docs: publish verified overhaul results and reproducible acceptance evidence by @yakisoba0728 in #57
- feat: configure Reader schema limits and preserve typed failures by @yakisoba0728 in #60
- feat: expose authoritative movement provenance through Reader by @yakisoba0728 in #61
- feat: verify complete movement updates with independent wire identities by @yakisoba0728 in #62
- fix: preserve native RPC payloads and validate component framing by @yakisoba0728 in #63
- feat(reader): bound file input and complete Phase A validation by @yakisoba0728 in #64
- feat(cli): use bounded file input for validation and export by @yakisoba0728 in #65
- feat(api): expose optional validated gameplay observations by @yakisoba0728 in #66
- perf(export): batch consecutive group paths with exact-output tests by @yakisoba0728 in #67
- docs: publish Phase B adoption guide and independent acceptance by @yakisoba0728 in #68
- feat: stream independent checkpoint records through the Rust reader by @yakisoba0728 in #71
- feat: support explicitly bounded nonseekable Reader input by @yakisoba0728 in #73
- feat: decode the evidence-qualified 12.05 FocusProjectiles array by @yakisoba0728 in #72
- feat: add packet-aware gameplay identity and exact movement associations by @yakisoba0728 in #70
- docs: finalize Phase C acceptance, migration and independent QA by @yakisoba0728 in #69
- Phase D: qualify v0.6.0 candidate with controlled performance and independent evidence by @yakisoba0728 in #74
- Overhaul: verified parser reliability, Rust Reader API, JSONL and reproducible validation by @yakisoba0728 in #58
Full Changelog: v0.5.1...v0.6.0