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

permit_concurrent_loads is not needed with zeitwerk autoloader #537

Conversation

jrafanie
Copy link
Member

@jrafanie jrafanie commented Dec 4, 2023

This was only needed for classic autoloader. The core "freedom" patch made zeitwerk autoloader bypass the interlock anyway, so now that we're only supporting zeitwerk, this is no longer needed.

Co-dependency:
ManageIQ/manageiq#22801

Part of the rails 7 upgrade: ManageIQ/manageiq#22052

@miq-bot miq-bot added the wip label Dec 4, 2023
@jrafanie jrafanie changed the title [WIP] permit_concurrent_loads is not needed with zeitwerk autoloader permit_concurrent_loads is not needed with zeitwerk autoloader Dec 4, 2023
@jrafanie jrafanie removed the wip label Dec 4, 2023
@Fryguy Fryguy self-assigned this Dec 6, 2023
This was only needed for classic autoloader.  The core "freedom" patch made zeitwerk autoloader
bypass the interlock anyway, so now that we're only supporting zeitwerk, this is no longer
needed.

Co-dependency:
ManageIQ/manageiq#22801

Part of the rails 7 upgrade: ManageIQ/manageiq#22052
@jrafanie jrafanie force-pushed the drop_as_dependencies_interlock_with_classic_autoloader_gone branch from 31df202 to f685f12 Compare December 18, 2023 20:56
@miq-bot
Copy link
Member

miq-bot commented Dec 18, 2023

Some comments on commit jrafanie@f685f12

lib/miq_automation_engine/engine/miq_ae_engine/miq_ae_method.rb

  • ⚠️ - 149 - Detected puts. Remove all debugging statements.

@miq-bot
Copy link
Member

miq-bot commented Dec 18, 2023

Checked commit jrafanie@f685f12 with ruby 2.7.8, rubocop 1.56.3, haml-lint 0.51.0, and yamllint
1 file checked, 0 offenses detected
Everything looks fine. 🏆

@jrafanie
Copy link
Member Author

This is ready to go since we were already defaulting to zeitwerk on quinteros

@Fryguy Fryguy merged commit 29852c4 into ManageIQ:master Dec 19, 2023
2 checks passed
@Fryguy
Copy link
Member

Fryguy commented Jan 5, 2024

Backported to quinteros in commit 344e02a.

commit 344e02aa10fb242c36236ead687f2694ce18cb16
Author: Jason Frey <fryguy9@gmail.com>
Date:   Tue Dec 19 14:33:34 2023 -0500

    Merge pull request #537 from jrafanie/drop_as_dependencies_interlock_with_classic_autoloader_gone
    
    permit_concurrent_loads is not needed with zeitwerk autoloader
    
    (cherry picked from commit 29852c42ad3240874945edcb16ea4b3de50ed6a0)

Fryguy added a commit that referenced this pull request Jan 5, 2024
…with_classic_autoloader_gone

permit_concurrent_loads is not needed with zeitwerk autoloader

(cherry picked from commit 29852c4)
@jrafanie jrafanie deleted the drop_as_dependencies_interlock_with_classic_autoloader_gone branch January 31, 2024 16:40
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