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

chore(worker-runtime): remove worker proxy MONGOSH-1416 #2049

Merged
merged 31 commits into from
Sep 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
31 commits
Select commit Hold shift + click to select a range
e207e04
remove worker proxy
mabaasit Jul 1, 2024
2850bcf
break on interrupt - sync and async
mabaasit Jul 2, 2024
32ee3f8
handle listeners
mabaasit Jul 2, 2024
e63f930
fix emitter tests
mabaasit Jul 2, 2024
8037148
evaluationListener tests
mabaasit Jul 2, 2024
19dc941
remove interruptor
mabaasit Jul 2, 2024
8c5bbcd
clean up
mabaasit Jul 2, 2024
8b83717
istanbul
mabaasit Jul 2, 2024
f889ac3
fix ts error
mabaasit Jul 2, 2024
e470e69
fix ci test
mabaasit Jul 3, 2024
7cf0c0b
context tests
mabaasit Jul 22, 2024
8bfbe5d
chore(node-runtime-worker-thread): remove child process indirection, …
Anemy Jul 26, 2024
b6932d2
fixup
Anemy Jul 26, 2024
de5c8bd
Merge remote-tracking branch 'origin' into MONGOSH-1416-remove-proces…
mabaasit Aug 11, 2024
29c024e
wip tests
mabaasit Aug 12, 2024
77f2bae
serialization
mabaasit Aug 12, 2024
50a4332
remove serialization
mabaasit Aug 12, 2024
14e2e21
rpc tests
mabaasit Aug 12, 2024
0caedf3
clean up tests
mabaasit Aug 12, 2024
4f3c623
use setTimeout from node timers
mabaasit Aug 12, 2024
02e9906
clean up
mabaasit Aug 12, 2024
ee41104
add interruptor to webpack
mabaasit Aug 12, 2024
e1fe8cc
error message
mabaasit Aug 12, 2024
d8c1370
optional unref on setTimeout
mabaasit Aug 13, 2024
ee78d8d
Merge branch 'main' into MONGOSH-1416-remove-process-indirection
mabaasit Aug 14, 2024
7152978
register worker for mocha
mabaasit Aug 20, 2024
9ca98f3
Merge branch 'MONGOSH-1416-remove-process-indirection' of github.com:…
mabaasit Aug 20, 2024
e7447de
fix paths for windows
mabaasit Aug 29, 2024
7c9c126
Merge branch 'main' into MONGOSH-1416-remove-process-indirection
mabaasit Aug 29, 2024
ebdefc0
Update worker-runtime.ts
mabaasit Sep 2, 2024
0c61edd
Merge branch 'main' into MONGOSH-1416-remove-process-indirection
mabaasit Sep 2, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 19 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

This file was deleted.

5 changes: 3 additions & 2 deletions packages/node-runtime-worker-thread/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"node": ">=14.15.1"
},
"scripts": {
"test": "cross-env TS_NODE_PROJECT=./tsconfig.test.json mocha -r \"../../scripts/import-expansions.js\" --timeout 15000 -r ts-node/register \"./src/**/*.spec.ts\"",
"test": "cross-env TS_NODE_PROJECT=./tsconfig.test.json mocha -r \"../../scripts/import-expansions.js\" -r \"./tests/register-worker.js \" --timeout 15000 -r ts-node/register \"./src/**/*.spec.ts\"",
"pretest-ci": "node ../../scripts/run-if-package-requested.js npm run webpack-build -- --no-stats --no-devtool",
"test-ci": "node ../../scripts/run-if-package-requested.js npm test",
"test-coverage": "nyc --no-clean --cwd ../.. --reporter=none npm run test",
Expand Down Expand Up @@ -52,6 +52,7 @@
},
"dependencies": {
"interruptor": "^1.0.1",
"system-ca": "^2.0.1"
"system-ca": "^2.0.1",
"web-worker": "^1.3.0"
addaleax marked this conversation as resolved.
Show resolved Hide resolved
}
}

This file was deleted.

124 changes: 0 additions & 124 deletions packages/node-runtime-worker-thread/src/child-process-proxy.ts

This file was deleted.

Loading
Loading