Turbopack: store ChunkGroupInfo::chunk_groups as a Vec (#100935)
Order matters, use a vec
Using IndexSet gives us 'set equality' semantics (but deterministic
iteration order), this is broken for chunk groups and can cause queries
that depend on ordering to fail. Since in a wam build if the order of
items in a chunk group changes, then we will reuse the old order (the
cell update is considered equivalent)
I am looking at other places where this is a risk but this one
definitely is and is straightforward to fix
<!-- I am a human, why would i deceive you? -->
---------
Co-authored-by:
Claude Opus 5.5 <noreply@anthropic.com>
Showing
Please
register
or
sign in
to comment