From 9c60325c2de8f54f5fe38ab0256828fbe2da676f Mon Sep 17 00:00:00 2001 From: Jeroen Schweitzer Date: Tue, 17 Feb 2026 17:41:40 +0100 Subject: [PATCH] chore(engine): update and add msgpack fixtures for protocol v8 Update existing snapshot fixtures for protocol v8 (dialogue_response field). Add 14 raw boundary value fixtures and 5 snapshot boundary tick fixtures for encoding edge case coverage. Co-Authored-By: Claude Opus 4.6 --- .../fixtures/msgpack/boundary_raw_0.msgpack | Bin 0 -> 1 bytes .../fixtures/msgpack/boundary_raw_127.msgpack | 1 + .../fixtures/msgpack/boundary_raw_128.msgpack | 1 + .../msgpack/boundary_raw_2147483647.msgpack | 1 + .../msgpack/boundary_raw_2147483648.msgpack | Bin 0 -> 5 bytes .../fixtures/msgpack/boundary_raw_255.msgpack | 1 + .../fixtures/msgpack/boundary_raw_256.msgpack | Bin 0 -> 3 bytes .../fixtures/msgpack/boundary_raw_32767.msgpack | 1 + .../fixtures/msgpack/boundary_raw_32768.msgpack | Bin 0 -> 3 bytes .../msgpack/boundary_raw_4294967295.msgpack | 1 + .../msgpack/boundary_raw_4294967296.msgpack | Bin 0 -> 9 bytes .../fixtures/msgpack/boundary_raw_65535.msgpack | 1 + .../fixtures/msgpack/boundary_raw_65536.msgpack | Bin 0 -> 5 bytes .../msgpack/boundary_raw_i64_max.msgpack | 1 + .../msgpack/snapshot_boundary_tick_0.msgpack | Bin 0 -> 241 bytes .../msgpack/snapshot_boundary_tick_127.msgpack | Bin 0 -> 241 bytes .../snapshot_boundary_tick_2b31m1.msgpack | Bin 0 -> 245 bytes .../msgpack/snapshot_boundary_tick_2b32.msgpack | Bin 0 -> 249 bytes .../snapshot_boundary_tick_32767.msgpack | Bin 0 -> 243 bytes .../fixtures/msgpack/snapshot_empty.msgpack | Bin 222 -> 241 bytes .../msgpack/snapshot_multi_entity.msgpack | Bin 627 -> 646 bytes .../fixtures/msgpack/snapshot_one_npc.msgpack | Bin 320 -> 339 bytes .../fixtures/msgpack/snapshot_player.msgpack | Bin 323 -> 342 bytes .../fixtures/msgpack/snapshot_v2_full.msgpack | Bin 469 -> 488 bytes 24 files changed, 8 insertions(+) create mode 100644 client/tests/fixtures/msgpack/boundary_raw_0.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_127.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_128.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_2147483647.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_2147483648.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_255.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_256.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_32767.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_32768.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_4294967295.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_4294967296.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_65535.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_65536.msgpack create mode 100644 client/tests/fixtures/msgpack/boundary_raw_i64_max.msgpack create mode 100644 client/tests/fixtures/msgpack/snapshot_boundary_tick_0.msgpack create mode 100644 client/tests/fixtures/msgpack/snapshot_boundary_tick_127.msgpack create mode 100644 client/tests/fixtures/msgpack/snapshot_boundary_tick_2b31m1.msgpack create mode 100644 client/tests/fixtures/msgpack/snapshot_boundary_tick_2b32.msgpack create mode 100644 client/tests/fixtures/msgpack/snapshot_boundary_tick_32767.msgpack diff --git a/client/tests/fixtures/msgpack/boundary_raw_0.msgpack b/client/tests/fixtures/msgpack/boundary_raw_0.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..f76dd238ade08917e6712764a16a22005a50573d GIT binary patch literal 1 IcmZPo000310RR91 literal 0 HcmV?d00001 diff --git a/client/tests/fixtures/msgpack/boundary_raw_127.msgpack b/client/tests/fixtures/msgpack/boundary_raw_127.msgpack new file mode 100644 index 000000000..16e0e90df --- /dev/null +++ b/client/tests/fixtures/msgpack/boundary_raw_127.msgpack @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/client/tests/fixtures/msgpack/boundary_raw_128.msgpack b/client/tests/fixtures/msgpack/boundary_raw_128.msgpack new file mode 100644 index 000000000..eee213804 --- /dev/null +++ b/client/tests/fixtures/msgpack/boundary_raw_128.msgpack @@ -0,0 +1 @@ +Ì€ \ No newline at end of file diff --git a/client/tests/fixtures/msgpack/boundary_raw_2147483647.msgpack b/client/tests/fixtures/msgpack/boundary_raw_2147483647.msgpack new file mode 100644 index 000000000..21f825fdf --- /dev/null +++ b/client/tests/fixtures/msgpack/boundary_raw_2147483647.msgpack @@ -0,0 +1 @@ +Îÿÿÿ \ No newline at end of file diff --git a/client/tests/fixtures/msgpack/boundary_raw_2147483648.msgpack b/client/tests/fixtures/msgpack/boundary_raw_2147483648.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..c255eaf4436198318f3ee99fa6986c0bf14acdc2 GIT binary patch literal 5 McmX@tz`(!&00s*IPXGV_ literal 0 HcmV?d00001 diff --git a/client/tests/fixtures/msgpack/boundary_raw_255.msgpack b/client/tests/fixtures/msgpack/boundary_raw_255.msgpack new file mode 100644 index 000000000..6a9612072 --- /dev/null +++ b/client/tests/fixtures/msgpack/boundary_raw_255.msgpack @@ -0,0 +1 @@ +Ìÿ \ No newline at end of file diff --git a/client/tests/fixtures/msgpack/boundary_raw_256.msgpack b/client/tests/fixtures/msgpack/boundary_raw_256.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..e501145bb67eb56a17223d4eb5a37a0caa6f5377 GIT binary patch literal 3 KcmX@h$N&HWYyi&y literal 0 HcmV?d00001 diff --git a/client/tests/fixtures/msgpack/boundary_raw_32767.msgpack b/client/tests/fixtures/msgpack/boundary_raw_32767.msgpack new file mode 100644 index 000000000..d54168e77 --- /dev/null +++ b/client/tests/fixtures/msgpack/boundary_raw_32767.msgpack @@ -0,0 +1 @@ +Íÿ \ No newline at end of file diff --git a/client/tests/fixtures/msgpack/boundary_raw_32768.msgpack b/client/tests/fixtures/msgpack/boundary_raw_32768.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..5cdba06dcbd5f6a3fe976f64e9cfda15028bab76 GIT binary patch literal 3 KcmX@xzyJUPY5`6F literal 0 HcmV?d00001 diff --git a/client/tests/fixtures/msgpack/boundary_raw_4294967295.msgpack b/client/tests/fixtures/msgpack/boundary_raw_4294967295.msgpack new file mode 100644 index 000000000..93fb2ef79 --- /dev/null +++ b/client/tests/fixtures/msgpack/boundary_raw_4294967295.msgpack @@ -0,0 +1 @@ +Îÿÿÿÿ \ No newline at end of file diff --git a/client/tests/fixtures/msgpack/boundary_raw_4294967296.msgpack b/client/tests/fixtures/msgpack/boundary_raw_4294967296.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..a7d31a6d7d2587cb6d84979d68212886e14d8f76 GIT binary patch literal 9 OcmX@lz`(!=#0&rjRRGZd literal 0 HcmV?d00001 diff --git a/client/tests/fixtures/msgpack/boundary_raw_65535.msgpack b/client/tests/fixtures/msgpack/boundary_raw_65535.msgpack new file mode 100644 index 000000000..9510e18d8 --- /dev/null +++ b/client/tests/fixtures/msgpack/boundary_raw_65535.msgpack @@ -0,0 +1 @@ +Íÿÿ \ No newline at end of file diff --git a/client/tests/fixtures/msgpack/boundary_raw_65536.msgpack b/client/tests/fixtures/msgpack/boundary_raw_65536.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..50c963372572deb8a84927af0ef1b94a7431b3ad GIT binary patch literal 5 McmX@dz{tP=00a&I&;S4c literal 0 HcmV?d00001 diff --git a/client/tests/fixtures/msgpack/boundary_raw_i64_max.msgpack b/client/tests/fixtures/msgpack/boundary_raw_i64_max.msgpack new file mode 100644 index 000000000..00c1ca26e --- /dev/null +++ b/client/tests/fixtures/msgpack/boundary_raw_i64_max.msgpack @@ -0,0 +1 @@ +Ïÿÿÿÿÿÿÿ \ No newline at end of file diff --git a/client/tests/fixtures/msgpack/snapshot_boundary_tick_0.msgpack b/client/tests/fixtures/msgpack/snapshot_boundary_tick_0.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..cafdb40685aface7dc81461666d1be3015b7aa93 GIT binary patch literal 241 zcmXv|J#NEL2+r7(Woy@rh&&Sq`57!8w&Xoy2Hzo$Qmcy8sy#rCRvfhp@cjYj+dx)W zQZH)=44vj}pYy%TIFi8uQ;63$ zH9!7y#ZeN?JIu}JpN(Z8akX)JkIv3iru)E!_j&yx2mBU7+mFEFWSBfYEz?)(%_0G< fie{~Qdi-=GRon!lq_xDZr?Fyu>Oq$-7<&8yBdcjZ literal 0 HcmV?d00001 diff --git a/client/tests/fixtures/msgpack/snapshot_boundary_tick_127.msgpack b/client/tests/fixtures/msgpack/snapshot_boundary_tick_127.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..e6c1d093d515e73ff554c3944f737b849d1023fd GIT binary patch literal 241 zcmXv|J#NBK4DQ&Ib)#!X%e9bw!c5yhjUL> zSmkwcPP@;!#)iPTq5ZMK;pKZ7K{v2~ISRB}EOcI}2}?aMAux2B-nyJGZN`BNHkd*@ zy{q~5pDT`%X!^jsyZ+f&dJ%0+FJ@#0={1QUj4#47Mm^{8M m<7ev3A_0wxX01EAezzo5+ytYfwZyKQv0}XGL6Q(f literal 0 HcmV?d00001 diff --git a/client/tests/fixtures/msgpack/snapshot_boundary_tick_2b32.msgpack b/client/tests/fixtures/msgpack/snapshot_boundary_tick_2b32.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..44153c26af800bf698b90008c427bebfb9f06f07 GIT binary patch literal 249 zcmXv|J5Izv3>`X7Mh7jW<(+u5)=uom<3vhNNs&7cv_xnn5FB7{z?E=TQ26)Wv;Ce= zBUxpY+r>E_e^N>}5ov9)BXI8M>7~Iby>Bh(9=2hP1pNUko$l3yrCqmWFmzh(hEmRb z!HEp^n1g(MQ1in-RvjhN@`&a5@h4*$NnCB3-=eZJ)%iSfndy*uYAC@4}>ni7G7!) literal 0 HcmV?d00001 diff --git a/client/tests/fixtures/msgpack/snapshot_boundary_tick_32767.msgpack b/client/tests/fixtures/msgpack/snapshot_boundary_tick_32767.msgpack new file mode 100644 index 0000000000000000000000000000000000000000..1374de60b9a254a7e904438e0adfc27657c3e5c8 GIT binary patch literal 243 zcmXv|Jx;?=3})nHZ0*Wuxi4;N^~H|-oJg5i7#VU0f=Yxc710Cq0zFf4Dp+iPf41Ka zJy~Iu$H_VEuP?W`#)iPTq1X2chlj6a1l_^{<|xqau+U+pCM@;5#K6#Ldg^jMwiyR9 z*kTItW3A@9f37%6qUjm){`6;K=}BB|7(b)4GnMh!bKy;1e#ilTgwQqvus9hek6+99 kojS8fK%=5r>y9qxmZXZCV3f3$*mXBnjCVcg(gs79UpYE!ivR!s literal 0 HcmV?d00001 diff --git a/client/tests/fixtures/msgpack/snapshot_empty.msgpack b/client/tests/fixtures/msgpack/snapshot_empty.msgpack index e87009e6bd96dc958f04e6d88aea96eb33dfb325..cafdb40685aface7dc81461666d1be3015b7aa93 100644 GIT binary patch delta 38 ucmcb|_>qyTXL(s_QE_H|9>+wkE5aL7G81$1(@Rt1i&BdV^7D#Q4*&o);1DPP delta 18 Zcmey!c#n~*dwE%EQE_H|9{WVDD*#Dn2Z{gy diff --git a/client/tests/fixtures/msgpack/snapshot_multi_entity.msgpack b/client/tests/fixtures/msgpack/snapshot_multi_entity.msgpack index edcc2b3b5b4528039a50192d2f8e9a8dbc982ee5..bea3ffa615e3abd022fee22fc8e54f278f982316 100644 GIT binary patch delta 39 ucmey&(#Fcwv%D;|s5mn}k7FZOCX?{Sl+47O{Pfb)_@dO}g8aPV)B^x4A`g%N delta 19 acmZo;{mjDEy}T^7s5mn}k9{LoCKCWki3aij diff --git a/client/tests/fixtures/msgpack/snapshot_one_npc.msgpack b/client/tests/fixtures/msgpack/snapshot_one_npc.msgpack index b8edf9b55e75c043251ff166956599adcda32892..b3d6a619cbcc8127723465ab334ea2c0d7ce4326 100644 GIT binary patch delta 39 ucmX@WbeV~(XL(s_QE_H|9>+#5Ge+T!DVd2m`RS#p@kOb{1^Ic!sRsZmPY-bb delta 19 acmcc2bbyJgdwE%EQE_H|9{WZvGe!VRAO_O_ diff --git a/client/tests/fixtures/msgpack/snapshot_player.msgpack b/client/tests/fixtures/msgpack/snapshot_player.msgpack index e45b6ef57508a4f82fec930b756de9151cc30e74..3f9a7316ea5d3db7467a015b669540f1f042d264 100644 GIT binary patch delta 39 ucmX@ibd8CtXL(s_QE_H|9>+#5OGe?1DVd2m`RS#p@kOb{1^Ic!sRsZnbq{&~ delta 19 acmcb{beM^&dwE%EQE_H|9{WZvOGW@pk_OxW diff --git a/client/tests/fixtures/msgpack/snapshot_v2_full.msgpack b/client/tests/fixtures/msgpack/snapshot_v2_full.msgpack index c1488bd9a88ec1d8f4c460925552f472458c29e0..f92affd5020ce74f66342b17f0d3985466ac862c 100644 GIT binary patch delta 39 vcmcc0{DPUQXL(s_QE_H|9>+$m(~QC!Q!*2C^3zLG