Project

General

Profile

Refactor #33886

Feature #29991: Enable Zeitwerk autoload mode for Rails 6+

Fix early loads of constants

Added by Ondřej Ezr 8 months ago. Updated 4 months ago.

Status:
Ready For Testing
Priority:
Normal
Assignee:
Category:
Rails
Target version:
-
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Fixed in Releases:
Found in Releases:

Description

Constants for Zeitwerk can't be loaded prematurely (before Rails is finished loading)


Subtasks

Refactor #33887: Postpone CacheManager recache after rails is initializedRejectedOndřej Ezr
Refactor #33888: Postpone Setting load to after_initializationNew
Refactor #33889: Postpone FogExtensions after initializationNew
Refactor #33890: Require foreman/gettext directlyClosed
Refactor #33891: require Telemetry constantsDuplicate
Refactor #33892: Postpone setting validations to to_prepareClosedOndřej Ezr
Refactor #33949: Fix early load of plugin fact parsersClosedLeos Stejskal
Refactor #33950: Fix early load of ForemanInternal in initializerClosedLeos Stejskal
Refactor #33957: Require Foreman::Util in initializersClosedLeos Stejskal
Refactor #33964: Load Menu::Loader in 'to_prepare'ClosedLeos Stejskal
Refactor #33967: Move basic ActiveRecord::Base custom extensions to ApplicationRecordClosedLeos Stejskal
Refactor #33968: Fix loading of Foreman::Telemetry in initializersClosedLeos Stejskal
Refactor #33975: Move menu loader from registries to servicesNew
Refactor #33989: Delay Initialization of ApiPie that depends on Model classesClosedLeos Stejskal
Refactor #33991: Require /lib dependencies in initializers/foreman.rb ClosedLeos Stejskal
Refactor #34005: Require middlewares properlyClosed
Refactor #34006: Plugin and its rbac_support are using Role and Permission models too earlyClosedOndřej Ezr
Refactor #34009: Add plugin after_initialize hookClosedOndřej Ezr
Refactor #34010: Add initialization method to RbacRegistryClosedOndřej Ezr
Refactor #34011: Move add_permissions_to_default_roles to rbac_registryRejected
Refactor #34012: Move add_all_permissions_to_default_roles to RbacRegistryRejected
Refactor #34013: Move add_resource_permissions_to_default_roles to RbacRegistryRejected
Refactor #34014: Move role creation into RbacRegistryRejected
Refactor #34015: Move permission creation in DB to RbacRegistryRejected
Refactor #34350: Require 'foreman/telemetry' in ldap initializerClosedLeos Stejskal
Refactor #34353: Fix early load of fog_extensionsClosedLeos Stejskal

History

#1 Updated by The Foreman Bot 8 months ago

  • Assignee set to Ondřej Ezr
  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8910 added

#2 Updated by Ondřej Ezr 8 months ago

  • Status changed from Ready For Testing to New
  • Pull request deleted (https://github.com/theforeman/foreman/pull/8910)

#3 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/foreman/pull/8938 added

#4 Updated by Leos Stejskal 7 months ago

  • Pull request deleted (https://github.com/theforeman/foreman/pull/8938)

Also available in: Atom PDF