[CI] rust-server: Raise the ChunkEvent frame-size cap to 152 bytes (#44773)
Co-authored-by: metamergebot <metamergebot@users.noreply.github.com>
This commit is contained in:
co-authored by
metamergebot
parent
07950be745
commit
f39c2693aa
@@ -1231,12 +1231,12 @@ mod tests {
|
||||
}
|
||||
|
||||
/// The common frame must stay small: logprob/hidden columns are boxed behind
|
||||
/// `ChunkExtras`.
|
||||
/// `ChunkExtras`. 152 since the matched stop token rides in the frame (#42637).
|
||||
#[test]
|
||||
fn chunk_event_frame_stays_small() {
|
||||
let sz = std::mem::size_of::<ChunkEvent>();
|
||||
assert!(
|
||||
sz <= 144,
|
||||
sz <= 152,
|
||||
"ChunkEvent grew to {sz} bytes; keep rare columns behind ChunkExtras"
|
||||
);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user