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

remove all duplicated logic, move all macroses and query parsing functionality to golang, and compile golang parser to WASM #690

Open
wants to merge 78 commits into
base: master
Choose a base branch
from

Conversation

lunaticusgreen
Copy link
Collaborator

@lunaticusgreen lunaticusgreen commented Dec 10, 2024

fix #688

@Slach Slach self-requested a review December 11, 2024 07:41
@Slach Slach added this to the 3.4.0 milestone Dec 11, 2024
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12363460870

Details

  • 331 of 699 (47.35%) changed or added relevant lines in 12 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-3.6%) to 72.177%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/eval_query.go 42 46 91.3%
src/datasource/backend-resources/backendResources.ts 8 12 66.67%
pkg/datasource.go 18 24 75.0%
src/datasource/datasource.ts 46 59 77.97%
pkg/resource_handler_replace_time_filters.go 37 56 66.07%
pkg/resource_handler_get_complete_ast.go 0 31 0.0%
pkg/resource_create_query.go 76 110 69.09%
pkg/resource_handler_get_ast_property.go 0 47 0.0%
pkg/resource_handler_apply_adhoc_filters.go 87 141 61.7%
src/datasource/helpers/index.ts 14 83 16.87%
Files with Coverage Reduction New Missed Lines %
src/datasource/datasource.ts 1 62.57%
Totals Coverage Status
Change from base Build 12278256209: -3.6%
Covered Lines: 2904
Relevant Lines: 3929

💛 - Coveralls

1 similar comment
@coveralls
Copy link

Pull Request Test Coverage Report for Build 12363460870

Details

  • 331 of 699 (47.35%) changed or added relevant lines in 12 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-3.6%) to 72.177%

Changes Missing Coverage Covered Lines Changed/Added Lines %
pkg/eval_query.go 42 46 91.3%
src/datasource/backend-resources/backendResources.ts 8 12 66.67%
pkg/datasource.go 18 24 75.0%
src/datasource/datasource.ts 46 59 77.97%
pkg/resource_handler_replace_time_filters.go 37 56 66.07%
pkg/resource_handler_get_complete_ast.go 0 31 0.0%
pkg/resource_create_query.go 76 110 69.09%
pkg/resource_handler_get_ast_property.go 0 47 0.0%
pkg/resource_handler_apply_adhoc_filters.go 87 141 61.7%
src/datasource/helpers/index.ts 14 83 16.87%
Files with Coverage Reduction New Missed Lines %
src/datasource/datasource.ts 1 62.57%
Totals Coverage Status
Change from base Build 12278256209: -3.6%
Covered Lines: 2904
Relevant Lines: 3929

💛 - Coveralls

@coveralls
Copy link

coveralls commented Dec 17, 2024

Pull Request Test Coverage Report for Build 12413524231

Details

  • 118 of 214 (55.14%) changed or added relevant lines in 5 files are covered.
  • 1 unchanged line in 1 file lost coverage.
  • Overall coverage decreased (-2.4%) to 73.546%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/datasource/wasm.ts 19 22 86.36%
pkg/eval_query.go 35 43 81.4%
src/datasource/datasource.ts 47 63 74.6%
src/datasource/helpers/index.ts 14 83 16.87%
Files with Coverage Reduction New Missed Lines %
src/datasource/datasource.ts 1 58.38%
Totals Coverage Status
Change from base Build 12408610410: -2.4%
Covered Lines: 2635
Relevant Lines: 3478

💛 - Coveralls

pkg/datasource.go Outdated Show resolved Hide resolved
@Slach Slach changed the title remove all duplicated logic, move all macroses and query parsing functionality to BE remove all duplicated logic, move all macroses and query parsing functionality to golang, and compile golang parser to WASM Dec 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rewrite parser to golang only
4 participants