LibraryDependencyResolver::getMinimalRepresentativeSubset() calculates dependencies incorrectly

Created on 9 November 2023, about 1 year ago
Updated 5 February 2024, 9 months ago

Problem/Motivation

LibraryDependencyResolver::getMinimalRepresentativeSubset is used as part of the new asset pipeline which is used to generate urls and dependencies. This can be a pretty big deal for high performance websites as the consequence can be that the generated hash when generating the js / css file and when delivering said file wont match, causing increase load as the website now need to generate the file on every request.

Steps to reproduce

I will provide a patch with a test case, as that is the easiest way to reproduce the error.

Proposed resolution

Correct the code in getMinimalRepresentativeSubset

πŸ› Bug report
Status

Fixed

Version

10.1 ✨

Component
Asset libraryΒ  β†’

Last updated about 11 hours ago

No maintainer
Created by

πŸ‡©πŸ‡°Denmark googletorp

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024