Skip to content

Conversation

vtjnash
Copy link
Member

@vtjnash vtjnash commented Apr 18, 2025

While #58156 was supposed to be fairly trivial, it ended up uncovering many bugs in the unusual ways that trimming and binding partition had been added to the serialization format. This attempts to reorganize them to be handled more consistently and with fewer mistakes.

@vtjnash vtjnash added the backport 1.12 Change should be backported to release-1.12 label Apr 18, 2025
@vtjnash vtjnash force-pushed the jn/staticdata-trim-binding-mistakes branch 2 times, most recently from dc0fd48 to ab07d2e Compare April 18, 2025 18:52
Attempting to prune backedges instead ended up uncovering a lot of
number of mistakes in the trim code which became particularly egregious
after the BindingPartition additions. This was making the tests result
in corrupt results sometimes, depending on the local visitor order.

Additionally, need to make sure we respect the `const` flag inside
mutable types during serialization (not replacing Ptr values with
C_NULL), since inference may rely on that.
@vtjnash vtjnash force-pushed the jn/staticdata-trim-binding-mistakes branch from ab07d2e to fdba408 Compare April 19, 2025 16:05
@vtjnash vtjnash merged commit 828e3a1 into master Apr 19, 2025
3 of 7 checks passed
@vtjnash vtjnash deleted the jn/staticdata-trim-binding-mistakes branch April 19, 2025 16:17
@KristofferC KristofferC mentioned this pull request Apr 29, 2025
53 tasks
LebedevRI pushed a commit to LebedevRI/julia that referenced this pull request May 2, 2025
While JuliaLang#58156 was supposed to be fairly trivial, it ended up uncovering
many bugs in the unusual ways that trimming and binding partition had
been added to the serialization format. This attempts to reorganize them
to be handled more consistently and with fewer mistakes.
KristofferC pushed a commit that referenced this pull request May 5, 2025
While #58156 was supposed to be fairly trivial, it ended up uncovering
many bugs in the unusual ways that trimming and binding partition had
been added to the serialization format. This attempts to reorganize them
to be handled more consistently and with fewer mistakes.

(cherry picked from commit 828e3a1)
@KristofferC KristofferC removed the backport 1.12 Change should be backported to release-1.12 label May 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants