[pulsar-next] Main editor test suite crashing when run in its entirety #1205
Labels
bug
Something isn't working
pulsar-next
Related to the version of Pulsar that runs on the latest Electron
Thanks in advance for your bug report!
What happened?
We're very close to having all of the editor tests pass in PulsarNext, but there's an out-of-memory crash happening in CI and locally that needs attending to.
Here's some representative output from a recent CI test run:
You can see how close it gets to the end of the suite.
What's odd is how reliably this occurs locally, too, and seemingly in the same place. It happens to me whether I'm running the editor specs from the GUI or from the terminal. I can't even find evidence that the JS heap is too large — Activity Monitor on macOS doesn't report an obnoxious amount of memory usage, for instance.
When individual test suites are run in isolation locally, they pass (notwithstanding the small number of legit failures remaining).
Some things we could try:
wasm-tree-sitter-language-mode-spec.js
— which might implicate this as WASM-related or might just be coincidental.EXPORT NODE_OPTIONS="--max_old_space_size=8192"
didn't seem to do anything for me, but maybe it needs to be something different in an Electron environment.Pulsar version
PulsarNext 1.124.0
Which OS does this happen on?
❓ Other(Please specify in the OS details field below)
OS details
Multiple — observed in CI in both macOS and Windows
Which CPU architecture are you running this on?
Apple M-series
What steps are needed to reproduce this?
Run
ATOM_JASMINE_REPORTER="list" yarn start --test spec
Additional Information:
No response
The text was updated successfully, but these errors were encountered: