Project

General

Profile

Refactor #31742

Turn on eager_load for development

Added by Lukas Zapletal 9 months ago. Updated 6 months ago.

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

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 8 months ago

Fixes #31742 - enable eager_load in dev environment

History

#1 Updated by The Foreman Bot 9 months ago

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

#2 Updated by Lukas Zapletal 8 months ago

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

#3 Updated by The Foreman Bot 8 months ago

  • Fixed in Releases 2.5.0 added

#4 Updated by Lukas Zapletal 8 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Tomer Brisker 6 months ago

  • Category set to Development tools

Also available in: Atom PDF