Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use bootsnap 1.8.1 for psych 4 / 3 compatibility #21963

Merged

Conversation

jrafanie
Copy link
Member

Psych unsafe_load was added for psych 4 / 3 compatibility but was only available
in 3.3.2 and newer.

Prior to this change, bootsnap 1.8.0 would be break on psych 3.3.1 and older.

Bootsnap added psych 4 compatibility in 1.8.0 by using unsafe_load but this
doesn't work with 3.3.1 or older:
Shopify/bootsnap#368

Bootnap 1.8.1 allows older versions of psych to be compatible via:
Shopify/bootsnap#369

Discovered this possible problem while debugging ManageIQ/sprint_statistics#70

Psych unsafe_load was added for psych 4 / 3 compatibility but was only available
in 3.3.2 and newer.

Prior to this change, bootsnap 1.8.0 would be break on psych 3.3.1 and older.

Bootsnap added psych 4 compatibility in 1.8.0 by using unsafe_load but this
doesn't work with 3.3.1 or older:
Shopify/bootsnap#368

Bootnap 1.8.1 allows older versions of psych to be compatible via:
Shopify/bootsnap#369
@jrafanie
Copy link
Member Author

cc @jeffibm @MelsHyrule @GilbertCherrie Can one of you verify this PR? I did a quick run through of the UI but didn't really have data to click around much. My guess is dev mode code reloading is what might be problematic with a bootsnap version change.

@Fryguy Fryguy self-assigned this Jun 28, 2022
@miq-bot
Copy link
Member

miq-bot commented Jun 28, 2022

Checked commit jrafanie@5136659 with ruby 2.6.9, rubocop 1.19.1, haml-lint 0.35.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. ⭐

@Fryguy
Copy link
Member

Fryguy commented Jun 28, 2022

Merging since we have a review from UI - we can revert if it causes problem, but I'm not expecting it.

@Fryguy Fryguy merged commit c902910 into ManageIQ:master Jun 28, 2022
@jrafanie jrafanie deleted the use_bootsnap_181_for_psych_4_3_compatibility branch June 28, 2022 17:09
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.

None yet

4 participants