Bug 1998319 - Dynamic Plugins: dynamic route chunks are not lazy loading
Summary: Dynamic Plugins: dynamic route chunks are not lazy loading
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Dev Console
Version: 4.9
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ---
: 4.9.0
Assignee: cvogt
QA Contact: spathak@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-08-26 19:47 UTC by cvogt
Modified: 2021-10-18 17:49 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-18 17:49:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github openshift console pull 9875 0 None None None 2021-08-26 19:51:43 UTC
Red Hat Product Errata RHSA-2021:3759 0 None None None 2021-10-18 17:49:35 UTC

Description cvogt 2021-08-26 19:47:07 UTC
Description of problem:
All dynamic plugin route chunks are loading immediately when the application loads regardless of whether the route is currently being accessed or not. The root cause is the use of `useResolvedExtensions`


Version-Release number of selected component (if applicable):
4.9

How reproducible:


Steps to Reproduce:
1. load console
2. Use web inspector to observe chunks related to knative, helm, pipelines, etc on load.

Actual results:
chunks related to knative, helm, pipelines are fetched on load of any page


Expected results:
Certain chunks should only be fetched on pages that use them. For example the search page shouldn't load helm. But the helm release page should.


Additional info:

Comment 4 Mohammed Saud 2021-09-06 16:51:39 UTC
Verified on:
Build: 4.9.0-0.nightly-2021-09-06-055314
Browser: Firefox 91, Chrome 91

Comment 7 errata-xmlrpc 2021-10-18 17:49:21 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: OpenShift Container Platform 4.9.0 bug fix and security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2021:3759


Note You need to log in before you can comment on or make changes to this bug.