-
Notifications
You must be signed in to change notification settings - Fork 79
feat(node-runtime-worker-thread): Advanced serialization for evaluation result COMPASS-4557 #572
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
Merged
Merged
Changes from all commits
Commits
Show all changes
22 commits
Select commit
Hold shift + click to select a range
5bf3b3a
refactor(node-runtime-worker-thread): Simplify promisified type
gribnoysup 1e32106
feat(node-runtime-worker-thread): Better serialization for errors thr…
gribnoysup 262e8d8
feat(node-runtime-worker-thread): Serialize errors thrown or returned…
gribnoysup a6ae152
refactor(node-runtime-worker-thread): Propagate serialization errors …
gribnoysup 355cd29
feat(node-runtime-worker-thread): Inspect complex, non-distinguishabl…
gribnoysup b917c98
fix(node-runtime-worker-thread): Use caller defined in beforeEach
gribnoysup d9b38f7
feat(node-runtime-worker-thread): Serialize shell-api return types fo…
gribnoysup 0c29a96
test(node-runtime-worker-thread): Add more tests for different types …
gribnoysup 3963910
fix(node-runtime-worker-thread): Fix bson missing from package-lock
gribnoysup 2944834
test(node-runtime-worker-thread): Fix anonymous fn inspection check f…
gribnoysup 9acceee
refactor(browser-runtime-core, node-runtime-worker-thread): Runtimes …
gribnoysup e42b23b
refactor(node-runtime-worker-thread): Simplify {de}serialization impl…
gribnoysup d0f3aef
refactor(node-runtime-worker-thread): Move v8 {de}serialize to rpc he…
gribnoysup 38be23a
refactor(shell-api, browser-repl, cli-repl, node-runtime-worker-threa…
gribnoysup 042da3d
fix(shell-api): Fix failing tests
gribnoysup 4846f1e
refactor(node-runtime-worker-thread): Remove custom bson assertion
gribnoysup be9ba41
fix(browser-repl): Fix more failing tests that depended on cursor pri…
gribnoysup 75b9cfb
Merge remote-tracking branch 'origin/master' into compass-4557-advanc…
gribnoysup 1ab1e9d
refactor(node-runtime-worker-thread): Pick properties instead of omit…
gribnoysup 6cd0e3b
refactor(node-runtime-worker-thread): Explicitly pass typed payloads …
gribnoysup 8a77045
chore(node-runtime-worker-thread): Remove confusing comments and repl…
gribnoysup 7066f06
refactor(node-runtime-worker-thread): Use enums instead of hardcoded …
gribnoysup File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
export { Runtime } from './runtime'; | ||
export { Runtime, RuntimeEvaluationListener, RuntimeEvaluationResult } from './runtime'; | ||
export { ContextValue, InterpreterEnvironment } from './interpreter'; | ||
export { OpenContextRuntime } from './open-context-runtime'; | ||
export { Autocompleter, Completion } from './autocompleter/autocompleter'; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍