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

test: fix runtime ci #1932

Merged
merged 30 commits into from
Dec 21, 2023
Merged

test: fix runtime ci #1932

merged 30 commits into from
Dec 21, 2023

Conversation

ivan-tymoshenko
Copy link
Member

No description provided.

Copy link
Member

@mcollina mcollina left a comment

Choose a reason for hiding this comment

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

lgtm

@ivan-tymoshenko ivan-tymoshenko changed the title test: increase runtime test timeout to 1m test: fix runtime ci Dec 15, 2023
@ivan-tymoshenko ivan-tymoshenko force-pushed the fix-runtime-ci branch 2 times, most recently from 4538cbd to f42b963 Compare December 15, 2023 13:31
@@ -43,16 +45,25 @@ class RuntimeApi {

setGlobalDispatcher(globalDispatcher)
this.#dispatcher = globalDispatcher

process.on('SIGINT', async () => {
Copy link
Member

Choose a reason for hiding this comment

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

This should be moved to the top-level worker file.

@@ -7,7 +7,7 @@
"plt-runtime": "./runtime.mjs"
},
"scripts": {
"test": "npm run lint && node ./test/runner.js test/cli/*.test.mjs && tsd",
"test": "npm run lint && node ./test/runner.js && tsd",
Copy link
Member

Choose a reason for hiding this comment

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

add back the cli stuff?

parentPort.postMessage(res)

if (command === 'plt:stop-services') {
console.log('terminate worker thread')
process.exit() // Exit the worker thread.
Copy link
Member

Choose a reason for hiding this comment

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

I think this process.exit hould be moved to the top-level worker file

@ivan-tymoshenko ivan-tymoshenko force-pushed the fix-runtime-ci branch 4 times, most recently from 9b18886 to 272bcf8 Compare December 21, 2023 09:24
mcollina and others added 5 commits December 21, 2023 14:13
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Copy link

Updated and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
vite 5.0.7...5.0.10 None +2/-2 5.77 MB vitebot

🚮 Removed packages: pino@8.16.2, pino-pretty@10.2.3, tap@16.3.9

ivan-tymoshenko and others added 11 commits December 21, 2023 15:15
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
Signed-off-by: Matteo Collina <hello@matteocollina.com>
@mcollina mcollina merged commit d82ad24 into main Dec 21, 2023
78 of 85 checks passed
@mcollina mcollina deleted the fix-runtime-ci branch December 21, 2023 21:44
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.

None yet

2 participants