elide-dev / elide

fast polyglot runtime
https://elide.dev
MIT License
100 stars 16 forks source link

Feature: Entrypoint V2, Part 3 #1055

Closed sgammon closed 3 months ago

sgammon commented 4 months ago

Draft Powered by Pull Request Badge

Summary

Continued implementation of Elide's new entrypoint; implements a stronger structure for our crates, on top of our third_party C code, and integrating with our Kotlin layer. In essence, Rust will act as the glue between the system and our tooling drivers.

Feature additions coming soon.

Structurally, this is how it works:

Screenshot 2024-07-01 at 2 17 43 PM

Changelog

Fixes and closes elide-dev/elide#1025

socket-security[bot] commented 4 months ago

👍 Dependency issues cleared. Learn more about Socket for GitHub ↗︎

This PR previously contained dependency changes with security issues that have been resolved, removed, or ignored.

Ignoring: npm/@biomejs/biome@1.8.3

View full report↗︎

Next steps

Take a deeper look at the dependency

Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support [AT] socket [DOT] dev.

Remove the package

If you happen to install a dependency that Socket reports as Known Malware you should immediately remove it and select a different dependency. For other alert types, you may may wish to investigate alternative packages or consider if there are other ways to mitigate the specific risk posed by the dependency.

Mark a package as acceptable risk

To ignore an alert, reply with a comment starting with @SocketSecurity ignore followed by a space separated list of ecosystem/package-name@version specifiers. e.g. @SocketSecurity ignore npm/foo@1.0.0 or ignore all packages with @SocketSecurity ignore-all

sgammon commented 4 months ago

@SocketSecurity ignore npm/@biomejs/biome@1.8.3

socket-security[bot] commented 4 months ago

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

Package New capabilities Transitives Size Publisher
npm/@biomejs/biome@1.8.3 shell 0 152 kB dominionl
npm/@esbuild/android-arm@0.23.0 None 0 11.7 MB evanw
npm/@esbuild/android-arm64@0.23.0 None 0 10.3 MB evanw
npm/@esbuild/android-x64@0.23.0 None 0 11.7 MB evanw
npm/@esbuild/darwin-arm64@0.23.0 None 0 9.58 MB evanw
npm/@esbuild/darwin-x64@0.23.0 None 0 10.2 MB evanw
npm/@esbuild/freebsd-arm64@0.23.0 None 0 9.31 MB evanw
npm/@esbuild/freebsd-x64@0.23.0 None 0 9.97 MB evanw
npm/@esbuild/linux-arm@0.23.0 None 0 9.5 MB evanw
npm/@esbuild/linux-arm64@0.23.0 None 0 9.31 MB evanw
npm/@esbuild/linux-ia32@0.23.0 None 0 9.45 MB evanw
npm/@esbuild/linux-loong64@0.23.0 None 0 9.63 MB evanw
npm/@esbuild/linux-mips64el@0.23.0 None 0 10.8 MB evanw
npm/@esbuild/linux-ppc64@0.23.0 None 0 9.7 MB evanw
npm/@esbuild/linux-riscv64@0.23.0 None 0 9.31 MB evanw
npm/@esbuild/linux-s390x@0.23.0 None 0 10.4 MB evanw
npm/@esbuild/linux-x64@0.23.0 None 0 9.97 MB evanw
npm/@esbuild/netbsd-x64@0.23.0 None 0 9.95 MB evanw
npm/@esbuild/openbsd-x64@0.23.0 None 0 9.98 MB evanw
npm/@esbuild/sunos-x64@0.23.0 None 0 9.95 MB evanw
npm/@esbuild/win32-arm64@0.23.0 None 0 9.41 MB evanw
npm/@esbuild/win32-ia32@0.23.0 None 0 9.71 MB evanw
npm/@esbuild/win32-x64@0.23.0 None 0 10.2 MB evanw
npm/@types/estree@1.0.0 None 0 25.7 kB types
npm/data-uri-to-buffer@4.0.1 None 0 10 kB tootallnate
npm/diff@5.1.0 None 0 390 kB kpdecker
npm/esbuild@0.23.0 environment, filesystem, network, shell +2 20.5 MB evanw
npm/fetch-blob@3.2.0 None +2 7.67 MB endless
npm/formdata-polyfill@4.0.10 None 0 32.2 kB endless
npm/is-buffer@2.0.5 None 0 4.59 kB feross
npm/kleur@4.1.5 None 0 20.3 kB lukeed
npm/mdast-util-definitions@5.1.1 None +5 83.4 kB wooorm
npm/mdast-util-to-hast@13.2.0 None +9 380 kB wooorm
npm/mri@1.2.0 None 0 13.3 kB lukeed
npm/node-fetch@3.3.0 network 0 107 kB node-fetch-bot
npm/sade@1.8.1 None 0 31.5 kB lukeed
npm/unist-builder@3.0.0 None 0 11.7 kB wooorm
npm/unist-util-generated@2.0.1 None 0 10.1 kB wooorm
npm/uvu@0.5.6 None +1 62.5 kB lukeed
npm/vfile-location@4.0.1 None +3 99 kB wooorm

View full report↗︎

codecov[bot] commented 4 months ago

Codecov Report

Attention: Patch coverage is 19.03720% with 370 lines in your changes missing coverage. Please review.

Project coverage is 48.19%. Comparing base (a8dddbd) to head (7b0f9ed).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/elide-dev/elide/pull/1055/graphs/tree.svg?width=650&height=150&src=pr&token=FXxhJlpKG3&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev)](https://app.codecov.io/gh/elide-dev/elide/pull/1055?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) ```diff @@ Coverage Diff @@ ## main #1055 +/- ## ========================================== - Coverage 55.15% 48.19% -6.97% ========================================== Files 329 394 +65 Lines 10613 13653 +3040 Branches 1775 2339 +564 ========================================== + Hits 5854 6580 +726 - Misses 4158 6361 +2203 - Partials 601 712 +111 ``` | [Flag](https://app.codecov.io/gh/elide-dev/elide/pull/1055/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | Coverage Δ | | |---|---|---| | [gradle](https://app.codecov.io/gh/elide-dev/elide/pull/1055/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | `48.19% <19.03%> (-6.97%)` | :arrow_down: | | [jvm](https://app.codecov.io/gh/elide-dev/elide/pull/1055/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | `48.19% <19.03%> (-6.97%)` | :arrow_down: | | [lib](https://app.codecov.io/gh/elide-dev/elide/pull/1055/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | `48.19% <19.03%> (-6.97%)` | :arrow_down: | | [plugin](https://app.codecov.io/gh/elide-dev/elide/pull/1055/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | `48.19% <19.03%> (-6.97%)` | :arrow_down: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files](https://app.codecov.io/gh/elide-dev/elide/pull/1055?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | Coverage Δ | | |---|---|---| | [...ase/src/jvmMain/kotlin/elide/runtime/jvm/Logger.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1055?src=pr&el=tree&filepath=packages%2Fbase%2Fsrc%2FjvmMain%2Fkotlin%2Felide%2Fruntime%2Fjvm%2FLogger.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvYmFzZS9zcmMvanZtTWFpbi9rb3RsaW4vZWxpZGUvcnVudGltZS9qdm0vTG9nZ2VyLmt0) | `100.00% <100.00%> (ø)` | | | [...ages/cli/src/main/kotlin/elide/tool/cli/Statics.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1055?src=pr&el=tree&filepath=packages%2Fcli%2Fsrc%2Fmain%2Fkotlin%2Felide%2Ftool%2Fcli%2FStatics.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvY2xpL3NyYy9tYWluL2tvdGxpbi9lbGlkZS90b29sL2NsaS9TdGF0aWNzLmt0) | `50.00% <100.00%> (ø)` | | | [.../elide/tool/cli/options/EngineJavaScriptOptions.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1055?src=pr&el=tree&filepath=packages%2Fcli%2Fsrc%2Fmain%2Fkotlin%2Felide%2Ftool%2Fcli%2Foptions%2FEngineJavaScriptOptions.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvY2xpL3NyYy9tYWluL2tvdGxpbi9lbGlkZS90b29sL2NsaS9vcHRpb25zL0VuZ2luZUphdmFTY3JpcHRPcHRpb25zLmt0) | `41.66% <ø> (ø)` | | | [.../cli/src/main/kotlin/elide/tool/code/CodeSource.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1055?src=pr&el=tree&filepath=packages%2Fcli%2Fsrc%2Fmain%2Fkotlin%2Felide%2Ftool%2Fcode%2FCodeSource.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvY2xpL3NyYy9tYWluL2tvdGxpbi9lbGlkZS90b29sL2NvZGUvQ29kZVNvdXJjZS5rdA==) | `0.00% <ø> (ø)` | | | [.../main/kotlin/elide/tool/err/DefaultErrorHandler.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1055?src=pr&el=tree&filepath=packages%2Fcli%2Fsrc%2Fmain%2Fkotlin%2Felide%2Ftool%2Ferr%2FDefaultErrorHandler.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvY2xpL3NyYy9tYWluL2tvdGxpbi9lbGlkZS90b29sL2Vyci9EZWZhdWx0RXJyb3JIYW5kbGVyLmt0) | `72.72% <ø> (ø)` | | | [...s/cli/src/main/kotlin/elide/tool/err/ErrorTests.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1055?src=pr&el=tree&filepath=packages%2Fcli%2Fsrc%2Fmain%2Fkotlin%2Felide%2Ftool%2Ferr%2FErrorTests.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvY2xpL3NyYy9tYWluL2tvdGxpbi9lbGlkZS90b29sL2Vyci9FcnJvclRlc3RzLmt0) | `0.00% <ø> (ø)` | | | [...cli/src/main/kotlin/elide/tool/lint/Diagnostics.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1055?src=pr&el=tree&filepath=packages%2Fcli%2Fsrc%2Fmain%2Fkotlin%2Felide%2Ftool%2Flint%2FDiagnostics.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvY2xpL3NyYy9tYWluL2tvdGxpbi9lbGlkZS90b29sL2xpbnQvRGlhZ25vc3RpY3Mua3Q=) | `0.00% <ø> (ø)` | | | [...cli/src/main/kotlin/elide/tool/testing/SelfTest.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1055?src=pr&el=tree&filepath=packages%2Fcli%2Fsrc%2Fmain%2Fkotlin%2Felide%2Ftool%2Ftesting%2FSelfTest.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvY2xpL3NyYy9tYWluL2tvdGxpbi9lbGlkZS90b29sL3Rlc3RpbmcvU2VsZlRlc3Qua3Q=) | `0.00% <ø> (ø)` | | | [...rc/main/kotlin/elide/runtime/exec/GuestExecutor.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1055?src=pr&el=tree&filepath=packages%2Fengine%2Fsrc%2Fmain%2Fkotlin%2Felide%2Fruntime%2Fexec%2FGuestExecutor.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvZW5naW5lL3NyYy9tYWluL2tvdGxpbi9lbGlkZS9ydW50aW1lL2V4ZWMvR3Vlc3RFeGVjdXRvci5rdA==) | `0.00% <ø> (ø)` | | | [...ntime/gvm/internals/intrinsics/js/JsPromiseImpl.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1055?src=pr&el=tree&filepath=packages%2Fgraalvm%2Fsrc%2Fmain%2Fkotlin%2Felide%2Fruntime%2Fgvm%2Finternals%2Fintrinsics%2Fjs%2FJsPromiseImpl.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvZ3JhYWx2bS9zcmMvbWFpbi9rb3RsaW4vZWxpZGUvcnVudGltZS9ndm0vaW50ZXJuYWxzL2ludHJpbnNpY3MvanMvSnNQcm9taXNlSW1wbC5rdA==) | `47.76% <ø> (-1.50%)` | :arrow_down: | | ... and [22 more](https://app.codecov.io/gh/elide-dev/elide/pull/1055?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | | ... and [50 files with indirect coverage changes](https://app.codecov.io/gh/elide-dev/elide/pull/1055/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/elide-dev/elide/pull/1055?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev). > **Legend** - [Click here to learn more](https://docs.codecov.io/docs/codecov-delta?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/elide-dev/elide/pull/1055?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev). Last update [a8dddbd...7b0f9ed](https://app.codecov.io/gh/elide-dev/elide/pull/1055?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev). Read the [comment docs](https://docs.codecov.io/docs/pull-request-comments?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev).