tremor-rs / tremor-runtime

Main Tremor Project Rust Codebase
https://www.tremor.rs
Apache License 2.0
866 stars 126 forks source link

WIP - tremor-script VM #2650

Open Licenser opened 3 months ago

Licenser commented 3 months ago

Pull request

Description

Related

Checklist

Performance

codecov[bot] commented 3 months ago

Codecov Report

Attention: Patch coverage is 1.13208% with 1572 lines in your changes missing coverage. Please review.

Project coverage is 78.08%. Comparing base (bff8093) to head (11500a3).

Files with missing lines Patch % Lines
tremor-script/src/vm/compiler/impls/imut_expr.rs 0.00% 565 Missing :warning:
tremor-script/src/vm.rs 0.00% 467 Missing :warning:
tremor-script/src/vm/compiler/impls.rs 0.00% 233 Missing :warning:
tremor-script/src/vm/compiler.rs 0.00% 160 Missing :warning:
tremor-script/src/vm/op.rs 0.00% 73 Missing :warning:
tremor-script/src/vm/compiler/impls/mut_expr.rs 0.00% 49 Missing :warning:
tremor-script/src/interpreter.rs 48.27% 15 Missing :warning:
tremor-script/src/ast.rs 0.00% 3 Missing :warning:
tremor-value/src/value.rs 0.00% 3 Missing :warning:
tremor-script/src/ast/eq.rs 0.00% 2 Missing :warning:
... and 1 more

:exclamation: There is a different number of reports uploaded between BASE (bff8093) and HEAD (11500a3). Click for more details.

HEAD has 4 uploads less than BASE | Flag | BASE (bff8093) | HEAD (11500a3) | |------|------|------| |unittests|17|15| |tremorruntime|1|0| |tremorscript|1|0|
Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/graphs/tree.svg?width=650&height=150&src=pr&token=d1bhuZGcOK&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs)](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) ```diff @@ Coverage Diff @@ ## main #2650 +/- ## =========================================== - Coverage 91.22% 78.08% -13.15% =========================================== Files 309 311 +2 Lines 60078 56398 -3680 =========================================== - Hits 54805 44036 -10769 - Misses 5273 12362 +7089 ``` | [Flag](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | Coverage Δ | | |---|---|---| | [e2e-command](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `10.87% <0.00%> (-0.42%)` | :arrow_down: | | [e2e-integration](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `48.56% <0.81%> (-1.84%)` | :arrow_down: | | [e2e-unit](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `12.10% <0.69%> (-0.48%)` | :arrow_down: | | [e2etests](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `50.80% <1.13%> (-1.93%)` | :arrow_down: | | [tremorapi](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `13.98% <0.00%> (-0.53%)` | :arrow_down: | | [tremorcodec](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `62.63% <0.00%> (-0.04%)` | :arrow_down: | | [tremorcommon](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `63.04% <ø> (ø)` | | | [tremorconnectors](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `27.67% <0.00%> (-1.20%)` | :arrow_down: | | [tremorconnectorsaws](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `10.70% <0.00%> (-0.58%)` | :arrow_down: | | [tremorconnectorsazure](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `4.45% <0.00%> (-0.25%)` | :arrow_down: | | [tremorconnectorsgcp](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `24.27% <0.00%> (-1.05%)` | :arrow_down: | | [tremorconnectorsobjectstorage](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `0.05% <0.00%> (-0.01%)` | :arrow_down: | | [tremorconnectorsotel](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `11.97% <0.00%> (-0.61%)` | :arrow_down: | | [tremorconnectorstesthelpers](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `68.25% <ø> (ø)` | | | [tremorinflux](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `87.71% <ø> (ø)` | | | [tremorinterceptor](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `54.25% <0.00%> (-0.04%)` | :arrow_down: | | [tremorpipeline](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `29.35% <0.18%> (-1.82%)` | :arrow_down: | | [tremorruntime](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `?` | | | [tremorscript](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `?` | | | [tremorsystem](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `5.38% <0.00%> (-0.40%)` | :arrow_down: | | [tremorvalue](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `69.45% <0.00%> (-0.10%)` | :arrow_down: | | [unittests](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | `66.30% <0.18%> (-22.79%)` | :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=tremor-rs#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | Coverage Δ | | |---|---|---| | [tremor-script/src/ast/binary.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?src=pr&el=tree&filepath=tremor-script%2Fsrc%2Fast%2Fbinary.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-dHJlbW9yLXNjcmlwdC9zcmMvYXN0L2JpbmFyeS5ycw==) | `30.45% <100.00%> (-68.21%)` | :arrow_down: | | [tremor-script/src/ast/raw.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?src=pr&el=tree&filepath=tremor-script%2Fsrc%2Fast%2Fraw.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-dHJlbW9yLXNjcmlwdC9zcmMvYXN0L3Jhdy5ycw==) | `67.28% <100.00%> (-30.26%)` | :arrow_down: | | [...emor-script/src/ast/visitors/impls/const\_folder.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?src=pr&el=tree&filepath=tremor-script%2Fsrc%2Fast%2Fvisitors%2Fimpls%2Fconst_folder.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-dHJlbW9yLXNjcmlwdC9zcmMvYXN0L3Zpc2l0b3JzL2ltcGxzL2NvbnN0X2ZvbGRlci5ycw==) | `64.44% <100.00%> (-33.07%)` | :arrow_down: | | [tremor-script/src/errors.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?src=pr&el=tree&filepath=tremor-script%2Fsrc%2Ferrors.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-dHJlbW9yLXNjcmlwdC9zcmMvZXJyb3JzLnJz) | `20.52% <ø> (-49.19%)` | :arrow_down: | | [tremor-script/src/interpreter/imut\_expr.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?src=pr&el=tree&filepath=tremor-script%2Fsrc%2Finterpreter%2Fimut_expr.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-dHJlbW9yLXNjcmlwdC9zcmMvaW50ZXJwcmV0ZXIvaW11dF9leHByLnJz) | `55.30% <100.00%> (-34.86%)` | :arrow_down: | | [tremor-script/src/lib.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?src=pr&el=tree&filepath=tremor-script%2Fsrc%2Flib.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-dHJlbW9yLXNjcmlwdC9zcmMvbGliLnJz) | `100.00% <ø> (ø)` | | | [tremor-script/src/script.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?src=pr&el=tree&filepath=tremor-script%2Fsrc%2Fscript.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-dHJlbW9yLXNjcmlwdC9zcmMvc2NyaXB0LnJz) | `93.87% <ø> (-0.25%)` | :arrow_down: | | [tremor-script/src/ast/eq.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?src=pr&el=tree&filepath=tremor-script%2Fsrc%2Fast%2Feq.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-dHJlbW9yLXNjcmlwdC9zcmMvYXN0L2VxLnJz) | `7.34% <0.00%> (-88.51%)` | :arrow_down: | | [tremor-script/src/extractor/re.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?src=pr&el=tree&filepath=tremor-script%2Fsrc%2Fextractor%2Fre.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-dHJlbW9yLXNjcmlwdC9zcmMvZXh0cmFjdG9yL3JlLnJz) | `0.00% <0.00%> (-91.43%)` | :arrow_down: | | [tremor-script/src/ast.rs](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?src=pr&el=tree&filepath=tremor-script%2Fsrc%2Fast.rs&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs#diff-dHJlbW9yLXNjcmlwdC9zcmMvYXN0LnJz) | `57.60% <0.00%> (-35.36%)` | :arrow_down: | | ... and [8 more](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) | | ... and [103 files with indirect coverage changes](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs) ------ [Continue to review full report in Codecov by Sentry](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?dropdown=coverage&src=pr&el=continue&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs). > **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=tremor-rs) > `Δ = absolute (impact)`, `ø = not affected`, `? = missing data` > Powered by [Codecov](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?dropdown=coverage&src=pr&el=footer&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs). Last update [bff8093...11500a3](https://app.codecov.io/gh/tremor-rs/tremor-runtime/pull/2650?dropdown=coverage&src=pr&el=lastupdated&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=tremor-rs). 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=tremor-rs).