From 56c658dec8eaa8371b6259b9237c230f3f909c58 Mon Sep 17 00:00:00 2001 From: Rongsong Shen Date: Tue, 25 Aug 2026 07:05:47 +0000 Subject: [PATCH] chore(wolf): checkpoint buglog.json (1024 bugs) --- .wolf/buglog.json | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/.wolf/buglog.json b/.wolf/buglog.json index c2d9f311..6cbfb14f 100644 --- a/.wolf/buglog.json +++ b/.wolf/buglog.json @@ -18674,6 +18674,25 @@ ], "occurrences": 1, "last_seen": "2026-08-24T21:40:00Z" + }, + { + "id": "bug-1683", + "timestamp": "2026-08-25T00:05:00Z", + "error_message": "xceadmin pytest failure: test_send_frame_writes_exact_known_good_byte_sequence (src/xceadmin/tests/test_wire.py:200). Test sends a 4-byte payload b'xce!' via wire.send_frame() over a real TLS socket to a raw capture handler that reads exactly 12 bytes (8-byte length header + 4-byte payload) directly off the wire, bypassing this module's own recv_frame() decoder. Expected the captured bytes to be struct.pack('=Q', 4) + b'xce!' (header correctly encodes length=4, followed by the literal payload bytes). Actual captured bytes: the 8-byte header is correct (b'\\x04\\x00\\x00\\x00\\x00\\x00\\x00\\x00', i.e. length=4 little-endian native uint64_t), but the trailing 4 bytes are all zero (b'\\x00\\x00\\x00\\x00') instead of b'xce!' -- the real payload bytes never reached the wire. 1 failed, 266 passed, 3 skipped -- isolated to this one test.", + "file": "src/xceadmin/src/xcecommon/wire.py", + "root_cause": "Not yet root-caused. The correct length header (4) but zeroed payload bytes on a real TLS stream (not a test-harness artifact -- TCP/TLS doesn't spontaneously inject zero bytes) points at send_frame() itself writing/allocating a zeroed buffer for the payload portion of the frame instead of copying in the actual argument bytes -- candidates: an off-by-one or wrong-source-buffer bug in how the header and payload are concatenated/written (e.g. writing len(payload) zero bytes from an uninitialized bytearray instead of the payload argument, or a struct.pack/memoryview slicing bug that addresses the wrong buffer). Needs a direct read of send_frame()'s implementation to confirm.", + "fix": "Not yet fixed -- investigating.", + "tags": [ + "xceadmin", + "xcecommon", + "wire-protocol", + "python", + "framing", + "test-failure" + ], + "related_bugs": [], + "occurrences": 1, + "last_seen": "2026-08-25T00:05:00Z" } ] }