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

Message bundle loading causing global failures in CI test environment #11258

Open
2 of 6 tasks
nwhittaker opened this issue Jan 10, 2025 · 0 comments
Open
2 of 6 tasks
Labels
0 - new New issues that need assignment. ArcGIS Field Apps Issues logged by ArcGIS Field Apps team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive needs triage Planning workflow - pending design/dev review.

Comments

@nwhittaker
Copy link
Contributor

Check existing issues

Actual Behavior

About 50% of our CI test runs fail with many could not fetch component message bundle errors. The suspicion is that some tests finish quickly and disconnect transient Calcite elements from the DOM before the elements are done hydrating.

Expected Behavior

Message bundle loading is canceled or does not throw after an element is disconnected. If the element is reconnected, perhaps throw then, or retry loading the message bundle.

Reproduction Sample

https://github.com/ArcGIS/acadia-web

Reproduction Steps

Unable to reproduce locally.

Reproduction Version

2.13.2

Relevant Info

Linux, x64, Chrome

Chrome flags

--no-sandbox: null
--headless
--crash-dumps-dir=/tmp
--disable-dev-shm-usage
--disable-gpu
--disable-software-rasterizer
--mute-audio
--remote-debugging-port=0
--window-size=1440,900

Stack trace

global failure: Error: could not fetch component message bundle
Error: could not fetch component message bundle
    at i (https://localhost:41529/calcite-components-2.13.2/p-3a1a720c.js:6:328)
    at https://localhost:41529/calcite-components-2.13.2/p-3a1a720c.js:6:291

Regression?

No response

Priority impact

impact - p3 - not time sensitive

Impact

A workaround for Field Apps is to swallow the error in QUnit's onUncaughtException handler. It's also possible this becomes a non-issue for us after upgrading to Calcite 3.

Calcite package

  • @esri/calcite-components
  • @esri/calcite-components-react
  • @esri/calcite-design-tokens
  • @esri/calcite-ui-icons
  • @esri/eslint-plugin-calcite-components

Esri team

ArcGIS Field Apps

@nwhittaker nwhittaker added 0 - new New issues that need assignment. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. needs triage Planning workflow - pending design/dev review. labels Jan 10, 2025
@github-actions github-actions bot added ArcGIS Field Apps Issues logged by ArcGIS Field Apps team members. calcite-components Issues specific to the @esri/calcite-components package. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive labels Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0 - new New issues that need assignment. ArcGIS Field Apps Issues logged by ArcGIS Field Apps team members. bug Bug reports for broken functionality. Issues should include a reproduction of the bug. calcite-components Issues specific to the @esri/calcite-components package. impact - p3 - not time sensitive User set priority impact status of p3 - not time sensitive needs triage Planning workflow - pending design/dev review.
Projects
None yet
Development

No branches or pull requests

1 participant