Project

General

Profile

Actions

Refactor #31742

closed

Turn on eager_load for development

Added by Lukas Zapletal over 3 years ago. Updated about 3 years ago.

Status:
Closed
Priority:
Normal
Category:
Development tools
Target version:
-
Difficulty:
trivial
Triaged:
Yes
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 1 (1 open0 closed)

Related to Foreman - Bug #31977: Turn on eager_load for testReady For TestingEwoud Kohl van WijngaardenActions
Actions #1

Updated by The Foreman Bot over 3 years ago

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

Updated by Lukas Zapletal over 3 years ago

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

Updated by The Foreman Bot over 3 years ago

  • Fixed in Releases 2.5.0 added
Actions #4

Updated by Lukas Zapletal over 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Tomer Brisker about 3 years ago

  • Category set to Development tools
Actions

Also available in: Atom PDF