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

Use dot #3

Open
wants to merge 2 commits into
base: service_introspection
Choose a base branch
from

Conversation

minggangw
Copy link

No description provided.

@minggangw
Copy link
Author

@wayneparrott I submit a draft PR base on your branch service_introspection and run it on my local dev, it seems that the *_Event.js can be generated. Please take a look when you have time, thanks!

@minggangw minggangw force-pushed the service_introspection branch from da157f4 to ca61670 Compare April 24, 2023 10:41
Comment on lines -261 to -269
await Promise.all([
...pkg.messages.map((messageInfo) =>
generateMessageJSStruct(messageInfo, dir)
),
...pkg.services.map((serviceInfo) =>
generateServiceJSStruct(serviceInfo, dir)
),
...pkg.actions.map((actionInfo) => generateActionJSStruct(actionInfo, dir)),
]);
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I found this regression introduced by RobotWebTools#726, it caused the test fails because the JS message files haven't been generated yet when the npm test starts. I think we need to roll out this fix asap.

We need to put all the Promises into an arry here and pass it to Promise.all()

@minggangw
Copy link
Author

The case below is starting to fail consistently on the rolling build, haven't looked into it.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant