elide-dev / elide

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

feat: entrypoint work pt 4 #1084

Closed sgammon closed 1 month ago

sgammon commented 1 month ago

Draft Powered by Pull Request Badge

Summary

Continued general work toward new entrypoint, via Clikt and Rust. For the first time, Elide can actually be run through the CLI entrypoint using this new setup.

Pass ELIDE_EXPERIMENTAL=true to enable this new code path. No options or arguments are supported yet.

Changelog

codecov[bot] commented 1 month ago

Codecov Report

Attention: Patch coverage is 71.10390% with 178 lines in your changes missing coverage. Please review.

Project coverage is 53.18%. Comparing base (4e85082) to head (4c42b15).

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/elide-dev/elide/pull/1084/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/1084?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 #1084 +/- ## ========================================== + Coverage 48.19% 53.18% +4.99% ========================================== Files 394 405 +11 Lines 13653 14207 +554 Branches 2339 2394 +55 ========================================== + Hits 6580 7556 +976 + Misses 6361 5898 -463 - Partials 712 753 +41 ``` | [Flag](https://app.codecov.io/gh/elide-dev/elide/pull/1084/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/1084/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | `?` | | | [jvm](https://app.codecov.io/gh/elide-dev/elide/pull/1084/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | `53.18% <71.10%> (+4.99%)` | :arrow_up: | | [lib](https://app.codecov.io/gh/elide-dev/elide/pull/1084/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | `53.18% <71.10%> (+4.99%)` | :arrow_up: | | [native](https://app.codecov.io/gh/elide-dev/elide/pull/1084/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | `79.39% <79.61%> (?)` | | | [plugin](https://app.codecov.io/gh/elide-dev/elide/pull/1084/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | `?` | | 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/1084?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | Coverage Δ | | |---|---|---| | [crates/base/src/crc.rs](https://app.codecov.io/gh/elide-dev/elide/pull/1084?src=pr&el=tree&filepath=crates%2Fbase%2Fsrc%2Fcrc.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-Y3JhdGVzL2Jhc2Uvc3JjL2NyYy5ycw==) | `100.00% <100.00%> (ø)` | | | [...ckages/cli/src/main/kotlin/elide/tool/cli/Elide.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1084?src=pr&el=tree&filepath=packages%2Fcli%2Fsrc%2Fmain%2Fkotlin%2Felide%2Ftool%2Fcli%2FElide.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvY2xpL3NyYy9tYWluL2tvdGxpbi9lbGlkZS90b29sL2NsaS9FbGlkZS5rdA==) | `36.79% <ø> (ø)` | | | [crates/entry/src/bin/elide.rs](https://app.codecov.io/gh/elide-dev/elide/pull/1084?src=pr&el=tree&filepath=crates%2Fentry%2Fsrc%2Fbin%2Felide.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-Y3JhdGVzL2VudHJ5L3NyYy9iaW4vZWxpZGUucnM=) | `70.00% <83.33%> (ø)` | | | [...c/main/kotlin/elide/tool/cli/AbstractSubcommand.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1084?src=pr&el=tree&filepath=packages%2Fcli%2Fsrc%2Fmain%2Fkotlin%2Felide%2Ftool%2Fcli%2FAbstractSubcommand.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvY2xpL3NyYy9tYWluL2tvdGxpbi9lbGlkZS90b29sL2NsaS9BYnN0cmFjdFN1YmNvbW1hbmQua3Q=) | `63.93% <90.00%> (+9.23%)` | :arrow_up: | | [...otlin/elide/tool/cli/cmd/tool/ToolInvokeCommand.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1084?src=pr&el=tree&filepath=packages%2Fcli%2Fsrc%2Fmain%2Fkotlin%2Felide%2Ftool%2Fcli%2Fcmd%2Ftool%2FToolInvokeCommand.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvY2xpL3NyYy9tYWluL2tvdGxpbi9lbGlkZS90b29sL2NsaS9jbWQvdG9vbC9Ub29sSW52b2tlQ29tbWFuZC5rdA==) | `1.89% <0.00%> (ø)` | | | [crates/model/src/lang.rs](https://app.codecov.io/gh/elide-dev/elide/pull/1084?src=pr&el=tree&filepath=crates%2Fmodel%2Fsrc%2Flang.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-Y3JhdGVzL21vZGVsL3NyYy9sYW5nLnJz) | `92.59% <92.59%> (ø)` | | | [crates/project/src/config.rs](https://app.codecov.io/gh/elide-dev/elide/pull/1084?src=pr&el=tree&filepath=crates%2Fproject%2Fsrc%2Fconfig.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-Y3JhdGVzL3Byb2plY3Qvc3JjL2NvbmZpZy5ycw==) | `0.00% <0.00%> (ø)` | | | [.../main/kotlin/elide/tool/cli/AbstractToolCommand.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1084?src=pr&el=tree&filepath=packages%2Fcli%2Fsrc%2Fmain%2Fkotlin%2Felide%2Ftool%2Fcli%2FAbstractToolCommand.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvY2xpL3NyYy9tYWluL2tvdGxpbi9lbGlkZS90b29sL2NsaS9BYnN0cmFjdFRvb2xDb21tYW5kLmt0) | `62.31% <0.00%> (-4.85%)` | :arrow_down: | | [...in/elide/runtime/plugins/AbstractLanguagePlugin.kt](https://app.codecov.io/gh/elide-dev/elide/pull/1084?src=pr&el=tree&filepath=packages%2Fengine%2Fsrc%2Fmain%2Fkotlin%2Felide%2Fruntime%2Fplugins%2FAbstractLanguagePlugin.kt&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-cGFja2FnZXMvZW5naW5lL3NyYy9tYWluL2tvdGxpbi9lbGlkZS9ydW50aW1lL3BsdWdpbnMvQWJzdHJhY3RMYW5ndWFnZVBsdWdpbi5rdA==) | `0.00% <0.00%> (ø)` | | | [crates/deps/src/catalog.rs](https://app.codecov.io/gh/elide-dev/elide/pull/1084?src=pr&el=tree&filepath=crates%2Fdeps%2Fsrc%2Fcatalog.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev#diff-Y3JhdGVzL2RlcHMvc3JjL2NhdGFsb2cucnM=) | `0.00% <0.00%> (ø)` | | | ... and [9 more](https://app.codecov.io/gh/elide-dev/elide/pull/1084?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=elide-dev) | | ... and [27 files with indirect coverage changes](https://app.codecov.io/gh/elide-dev/elide/pull/1084/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/1084?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/1084?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 [4e85082...4c42b15](https://app.codecov.io/gh/elide-dev/elide/pull/1084?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).
github-advanced-security[bot] commented 1 month ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

socket-security[bot] commented 1 month ago

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

Package New capabilities Transitives Size Publisher

View full report↗︎

sonarcloud[bot] commented 1 month ago

Quality Gate Passed Quality Gate passed

Issues
6 New issues
0 Accepted issues

Measures
0 Security Hotspots
2.5% Coverage on New Code
0.0% Duplication on New Code

See analysis details on SonarCloud