Fix ee css bundles not loading
What does this MR do and why?
It turns out that prefer_specialized_assets
intializer needs to be
placed correctly. Otherwise when we add new initializers, it will be
shifted and hence cause it to be executed too late (after we start
accepting requests)
Related issue: #360202 (closed)
See #360202 (comment 920432529) for root cause analysis
To re-produce see the linked issue. It's hard to see any difference from the original bug report, so see below for another reproduction
Screenshots or screen recordings
We can see the EE CSS loading correctly by:
- Going to http://127.0.0.1:3000/groups/twitter/-/epic_boards
- Click
Create list
- Click
Select a label
Before | With fix |
---|---|
These are strongly recommended to assist reviewers and reduce the time to merge your change.
How to set up and validate locally
Numbered steps to set up and validate the change are strongly suggested.
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.