Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Website] Bugfix: Delist data-liberation-core.phar from the preloaded offline mode assets #2072

Merged
merged 1 commit into from
Dec 11, 2024

Conversation

adamziel
Copy link
Collaborator

Removes data-liberation-core.phar from the list of assets preloaded to support offline mode. It was implicitly added to that list in #2058.

The preloading triggers the following error:

Failed to execute 'addAll' on 'Cache': Cache.addAll(): duplicate requests

The error stops the initialization of the offline mode cache on the first page load. It still work on subsequent page loads. Still, this behavior breaks an E2E test in trunk.

Playground doesn't need to preload that asset. It is only required for a psecific flavor of the importWxr step and there's already an established pattern of not preloading plugins, e.g. the SQLite database integration plugin is not preloaded.

Testing instructions

Confirm the Chromium E2E tests pass

… offline mode assets

Removes data-liberation-core.phar from the list of assets preloaded to
support offline mode. It was implicitly added to that list in #2058.

The preloading triggers the following error:

```
Failed to execute 'addAll' on 'Cache': Cache.addAll(): duplicate requests
```

The error stops the initialization of the offline mode cache on the first
page load. It still work on subsequent page loads. Still, this behavior
breaks an E2E test in trunk.

Playground doesn't need to preload that asset. It is only required for
a psecific flavor of the importWxr step and there's already an established
pattern of not preloading plugins, e.g. the SQLite database integration plugin
is not preloaded.

 ## Testing instructions

Confirm the Chromium E2E tests pass
@adamziel adamziel added [Type] Bug An existing feature does not function as intended [Aspect] Website [Aspect] Offline Mode labels Dec 11, 2024
@adamziel adamziel merged commit 26660ad into trunk Dec 11, 2024
10 checks passed
@adamziel adamziel deleted the delist-data-liberation-phar-from-offline-assets branch December 11, 2024 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
[Aspect] Offline Mode [Aspect] Website [Type] Bug An existing feature does not function as intended
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant