Closed
Description
New Issue Checklist
- I am not disclosing a vulnerability.
- I am not just asking a question.
- I have searched through existing issues.
- I can reproduce the issue with the latest version of Parse Server.
Issue Description
Module import is async, importing as module can currently cause a race issue. A developer do not have any guarantee that the code will be loaded before he try to run some cloud code functions. We have some recurrent CI fails due to #7560.
See #7560 (comment)
Steps to reproduce
Actual Outcome
Random CI fails
Expected Outcome
No flacky
Environment
beta
Server
- Parse Server version:
5.0.0-beta.1
- Operating system:
all
- Local or remote host (AWS, Azure, Google Cloud, Heroku, Digital Ocean, etc):
action
Database
- System (MongoDB or Postgres):
all
- Database version:
all
- Local or remote host (MongoDB Atlas, mLab, AWS, Azure, Google Cloud, etc):
all
Client
- SDK (iOS, Android, JavaScript, PHP, Unity, etc):
beta
- SDK version:
beta