Skip to content

Conversation

@kpamnany
Copy link
Collaborator

@kpamnany kpamnany commented Nov 12, 2025

PR Description

Applies during image generation (i.e. when using --output-o). When --drop-edges is specified, do not serialize edges into the image.

Checklist

Requirements for merging:

@github-actions
Copy link

This PR is stale because it has been open 30 days with no activity. Comment or remove stale label, or this PR will be closed in 5 days.

@github-actions github-actions bot added the stale This pull request is inactive label Jan 12, 2026
@kpamnany kpamnany removed the stale This pull request is inactive label Jan 12, 2026
Copy link
Member

@Drvi Drvi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, since Cody saw it:)

Copy link

@topolarity topolarity left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not upstreamable in this form, but should be appropriate for frozen-world workflows.

Looks good to me!

jl_array_ptr_1d_push(_jl_debug_method_invalidation, loctag);
loctag = jl_box_int32((int32_t)idx);
jl_array_ptr_1d_push(_jl_debug_method_invalidation, loctag);
if (jl_array_len(callee_ids) > 0) {

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We've discussed this before, but just for posterity:

If you want this to be upstreamable, this should be a replaced with a "frozen world check" in the else branch. As is, this loads the code without checking that you did the "world dance" correctly, which could cause invalidated code to run.

@kpamnany kpamnany merged commit a391ffc into v1.10.2+RAI Feb 5, 2026
2 checks passed
@kpamnany kpamnany deleted the kp-drop-edges branch February 5, 2026 20:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants