Closed andrewazores closed 1 month ago
Possibly related to https://github.com/cryostatio/cryostat-web/pull/1207
Since #1276 the WebSocket error still appears but it doesn't block anything in the UI from loading, ex. the target selector list is populated, so this doesn't seem like a significant blocking issue.
The preview actually has other issues with various API requests supposedly not being stubbed out and failing. For example, Recordings > Create fails.
Current Behavior
When running the mirage preview locally with
yarn start:dev:preview
the preview works as expected.However, when the preview is built and published by CI, the web-client has a WebSocket error at launch and this causes it to fail to update its target list.
Expected Behavior
The surge.sh deployment should work the same as the local preview.
Steps To Reproduce
Run
yarn start:dev:preview
and check behaviour.Compare against http://cryostatio-cryostat-web-cryostat-v30.surge.sh/ and http://cryostatio-cryostat-web-main.surge.sh/
Environment
No response
Anything else?