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

[Backport 2.x] [Auto Suggest] DQL Updates #7869

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 741c0d6 from #7593.

Update to DQL Autocomplete: #7391

Every file removal under `grammar/.antlr` can be ignored.

- [x] use official value suggestion methods instead of direct api call
- [x] removed language specified configuration
- [ ]  ~~added memoization for value suggestion to reduce number of calls made~~
- [x] removed core start from query suggestion function
- [x] added tests for value suggestion
- [x] added more test coverage for other general cases
- [ ] ~~[[RFC] Monaco Code Editor provider registration #7594](#7594) made changes based on this RFC~~
- [x] remove grammar/.antlr auto generated files
- [x] updated types in code completion and related files
- [x] fixed many group value suggestion bugs and edge cases with more robust parser visitor
- [x] fix group value NOT suggestion bugs
- [ ] ~~added basic keyword syntax highlighting~~

---------

Signed-off-by: Paul Sebastian <[email protected]>
Co-authored-by: opensearch-changeset-bot[bot] <154024398+opensearch-changeset-bot[bot]@users.noreply.github.com>
(cherry picked from commit 741c0d6)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

❌ Invalid Changelog Heading

The '## Changelog' heading in your PR description is either missing or malformed. Please make sure that your PR description includes a '## Changelog' heading with proper spelling, capitalization, spacing, and Markdown syntax.

Copy link

codecov bot commented Aug 27, 2024

Codecov Report

Attention: Patch coverage is 78.68852% with 13 lines in your changes missing coverage. Please review.

Project coverage is 64.28%. Comparing base (d7a8cb4) to head (84f9d12).
Report is 10 commits behind head on 2.x.

Files with missing lines Patch % Lines
...c/plugins/data/public/antlr/dql/code_completion.ts 81.35% 0 Missing and 11 partials ⚠️
...s/data/public/autocomplete/autocomplete_service.ts 0.00% 1 Missing ⚠️
...ashboards_react/public/code_editor/code_editor.tsx 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##              2.x    #7869      +/-   ##
==========================================
+ Coverage   64.26%   64.28%   +0.02%     
==========================================
  Files        3652     3651       -1     
  Lines       80663    80681      +18     
  Branches    12836    12844       +8     
==========================================
+ Hits        51838    51867      +29     
+ Misses      25652    25639      -13     
- Partials     3173     3175       +2     
Flag Coverage Δ
Linux_1 30.28% <0.00%> (-0.02%) ⬇️
Linux_2 56.00% <ø> (ø)
Linux_3 40.77% <80.00%> (+0.03%) ⬆️
Linux_4 31.52% <0.00%> (-0.02%) ⬇️
Windows_1 30.30% <0.00%> (-0.02%) ⬇️
Windows_2 55.96% <ø> (ø)
Windows_3 40.77% <80.00%> (+0.04%) ⬆️
Windows_4 31.52% <0.00%> (-0.02%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@ashwin-pc ashwin-pc added the discover for discover reinvent label Aug 28, 2024
@ashwin-pc ashwin-pc merged commit 6feda9a into 2.x Aug 28, 2024
69 of 71 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
autocut Skip the changelog verification check on backports discover for discover reinvent discover-next failed changeset v2.17.0 valued-contributor
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants