Project

General

Profile

Actions

Refactor #33886

open

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

Fix early loads of constants

Added by Ondřej Ezr about 3 years ago. Updated over 2 years ago.

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

Description

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


Subtasks 26 (3 open23 closed)

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

Updated by The Foreman Bot about 3 years ago

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

Updated by Ondřej Ezr about 3 years ago

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

Updated by The Foreman Bot about 3 years ago

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

Updated by Leos Stejskal about 3 years ago

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

Also available in: Atom PDF