Questions about prepend_mod automatic execution

Everyone can contribute. Help move this issue forward while earning points, leveling up and collecting rewards.

prepend_mod is a great invention that allows EE/JH to extend the functionality of CE in a separate directory.

When using it, we need to declare it explicitly, such as Project.prepend_mod.

I can imagine the advantage of doing this, it can give a clear hint to the people reading the code, telling them that EE/JH may have an extension here.

However sometimes it is a bit inconvenient, especially for JH.

  • Adding: It is often necessary to submit a MR to Upstream to add a line of prepend_mod;
  • Removing: If Upstream removes prepend_mod due to refactoring, this may break JH

Questions:

Does Upstream have any plans to make prepend_mod automatically execute without explicit declaration?

Is performance the main reason? Are there other reasons?

Thanks!

/CC @godfat-gitlab

/CC @prajnamas @daveliu

Edited by 🤖 GitLab Bot 🤖