Project

General

Profile

Refactor #31742

Turn on eager_load for development

Added by Lukas Zapletal almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Category:
Development tools
Target version:
-
Difficulty:
trivial
Triaged:
Yes
Bugzilla link:
Fixed in Releases:
Found in Releases:
Red Hat JIRA:

Description

We have some features which lists all classes (e.g. descendants of a class) during boot. This creates situations when Foreman does not behave the same as in production and it can lead to confusion for users who don’t know about this problem. For example, when working on Subscription API (Foreman events and webhooks), you actually need to turn on eager_load to be able to do anything reasonable.

Discussion: https://community.theforeman.org/t/rfc-turn-eager-load-on-for-development/22125


Related issues

Related to Foreman - Bug #31977: Turn on eager_load for testNew

Associated revisions

Revision 245d23de (diff)
Added by Lukas Zapletal over 1 year ago

Fixes #31742 - enable eager_load in dev environment

History

#1 Updated by The Foreman Bot almost 2 years ago

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

#2 Updated by Lukas Zapletal over 1 year ago

  • Related to Bug #31977: Turn on eager_load for test added

#3 Updated by The Foreman Bot over 1 year ago

  • Fixed in Releases 2.5.0 added

#4 Updated by Lukas Zapletal over 1 year ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Tomer Brisker over 1 year ago

  • Category set to Development tools

Also available in: Atom PDF