Share event kinds and call entry numbers with the PE recorder #235

Manually merged
github merged 2 commits from github-bot/gh-235 into gh-pr/235/base 2026-12-02 19:21:51 +00:00 AGit
Owner

@⁠Omar-Alme on GitHub · 2026-12-02 15:17 UTC · original
Omar-Alme:refactor/shared-event-wire → main · +183 −244 · 6 files · 2 commits · merged 2026-12-02 19:12 UTC

What

Addresses the “Event stream” item in docs/TASKS.md. The PE recorder and UNIX readers now compile the same event kinds and call entry numbers from vicrec/src/wire.rs. Both sides retain their existing module paths and use the same bytes on the wire. The recorder also uses the shared WRITTEN constant.

Evidence

Compared every event kind and entry discriminant against 963df8e. All values match. The new round-trip test covers the declared entries and checks that reserved numbers remain unknown. cargo test -p vicrec -p frame, all six vkback policy checks, greenfield Clippy on the affected crates, and Windows-target Clippy for victory-gpu passed. This is the project's own event transport, with no console or D3D12 counterpart.

**@⁠Omar-Alme** on GitHub · 2026-12-02 15:17 UTC · [original](https://github.com/vktory6/VKtory/pull/235) `Omar-Alme:refactor/shared-event-wire` → `main` · +183 −244 · 6 files · 2 commits · merged 2026-12-02 19:12 UTC ## What Addresses the “Event stream” item in `docs/TASKS.md`. The PE recorder and UNIX readers now compile the same event kinds and call entry numbers from `vicrec/src/wire.rs`. Both sides retain their existing module paths and use the same bytes on the wire. The recorder also uses the shared `WRITTEN` constant. ## Evidence Compared every event kind and entry discriminant against `963df8e`. All values match. The new round-trip test covers the declared entries and checks that reserved numbers remain unknown. `cargo test -p vicrec -p frame`, all six vkback policy checks, greenfield Clippy on the affected crates, and Windows-target Clippy for victory-gpu passed. This is the project's own event transport, with no console or D3D12 counterpart.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-02 15:18:18 +00:00
# Conflicts:
#	crates/victory-gpu/src/vklive.rs
#	docs/learnings/live-bridge.md
github-bot changed target branch from main to gh-pr/235/base 2026-12-02 19:21:50 +00:00
github manually merged commit 68adf7964d into gh-pr/235/base 2026-12-02 19:21:51 +00:00
Author
Owner

@⁠vktory6 on GitHub · 2026-12-02 19:12 UTC · original

Merged as github.com/vktory6/VKtory@e287d3c937, thanks. The recorder and the readers now share one definition of the wire. Your branch's victory-gpu native tests failed to build in our check, but that was on main, not here: the renderer port 2 removal had left a cfg(windows) on mod list. It's fixed on main.

**@⁠vktory6** on GitHub · 2026-12-02 19:12 UTC · [original](https://github.com/vktory6/VKtory/pull/235#issuecomment-7355800411) Merged as https://github.com/vktory6/VKtory/commit/e287d3c9374a5ebbc53b7aeb64c3266a3183a362, thanks. The recorder and the readers now share one definition of the wire. Your branch's victory-gpu native tests failed to build in our check, but that was on main, not here: the renderer port 2 removal had left a `cfg(windows)` on `mod list`. It's fixed on main.
This discussion has been locked. Commenting is limited to contributors.
No description provided.