Files
Martin Vogel f47d042237 fix(extract): a compacted result's scope events have no headroom
Compaction copies every record array into one exact-size block and then
sets each array's capacity to its count, so that nothing appends into the
dead headroom behind it. The scope events joined compaction without
joining that list: their capacity kept its extraction value, and an event
appended to a compacted result would be written in place, over whatever
the block holds next.

Nothing appends scope events after extraction today, so no graph changes.
The test compacts a Protobuf result, checks that the scope array is
exactly sized, appends one event and checks that the array grew into new
memory with every earlier event unchanged.

Signed-off-by: Martin Vogel <martin.vogel.tech@gmail.com>
2026-11-23 18:35:20 +01:00
..