Skip to content

[ES|QL] Make autocomplete fully marker-free - follow up#271222

Draft
bartoval wants to merge 3 commits into
elastic:mainfrom
bartoval:esql/autocomplete-marker-free-ast
Draft

[ES|QL] Make autocomplete fully marker-free - follow up#271222
bartoval wants to merge 3 commits into
elastic:mainfrom
bartoval:esql/autocomplete-marker-free-ast

Conversation

@bartoval
Copy link
Copy Markdown
Contributor

@bartoval bartoval commented May 26, 2026

Summary

In this PR #260618, I continued the existing marker cleanup work, following the current logic to avoid to break something. This clean well all cases that go through the cleanup functions, but there were still two or three cases that did not pass through them.
After reconsidering the problem, I decided to remove the marker immediately after parsing. This should cover all cases, including PROMQL.

  • Another thing is to have separated correctQuerySyntax from Marker management

@bartoval bartoval self-assigned this May 26, 2026
@infra-vault-gh-plugin-prod
Copy link
Copy Markdown

🤖 Jobs for this PR can be triggered through checkboxes. 🚧

ℹ️ To trigger the CI, please tick the checkbox below 👇

  • Click to trigger kibana-pull-request for this PR!
  • Click to trigger kibana-deploy-project-from-pr for this PR!
  • Click to trigger kibana-deploy-cloud-from-pr for this PR!
  • Click to trigger kibana-entity-store-performance-from-pr for this PR!
  • Click to trigger kibana-storybooks-from-pr for this PR!

@bartoval bartoval changed the title autocomplete marker free [ES|QL] Make autocomplete fully marker-free May 26, 2026
@bartoval bartoval force-pushed the esql/autocomplete-marker-free-ast branch from 26ed90d to c64c8fc Compare May 26, 2026 20:20
@bartoval bartoval changed the title [ES|QL] Make autocomplete fully marker-free [ES|QL] Make autocomplete fully marker-free -follow up May 28, 2026
@bartoval bartoval force-pushed the esql/autocomplete-marker-free-ast branch from c64c8fc to 04385b0 Compare May 29, 2026 04:33
@bartoval bartoval force-pushed the esql/autocomplete-marker-free-ast branch from 1607426 to 2e87a2b Compare May 29, 2026 15:03
@bartoval bartoval force-pushed the esql/autocomplete-marker-free-ast branch from 2e87a2b to 5a08fa0 Compare May 29, 2026 15:44
@bartoval bartoval changed the title [ES|QL] Make autocomplete fully marker-free -follow up [ES|QL] Make autocomplete fully marker-free - follow up Jun 1, 2026
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.

1 participant