-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Obs AI assistant] Replace with double quotes #187327
Conversation
/ci |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]
To update your PR or re-run it, just comment with: |
@dgieselaar I took the liberty to do this. Wdyt? (there are not many cases that will need the double quotes but is def moving us to a safer place) |
...n/observability_ai_assistant_app/server/functions/query/correct_common_esql_mistakes.test.ts
Outdated
Show resolved
Hide resolved
…nt_app/server/functions/query/correct_common_esql_mistakes.test.ts Co-authored-by: Søren Louv-Jansen <[email protected]>
...n/observability_ai_assistant_app/server/functions/query/correct_common_esql_mistakes.test.ts
Outdated
Show resolved
Hide resolved
input: `FROM 'logs-2024-07-01','logs-2024-07-02' | LIMIT 10`, | ||
expectedOutput: 'FROM "logs-2024-07-01","logs-2024-07-02"\n| LIMIT 10', | ||
}); | ||
expectQuery({ input: `FROM logs-* | LIMIT 10`, expectedOutput: 'FROM logs-*\n| LIMIT 10' }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
can we add one here for backticks as well? i see the LLM do this all the time now 😄
⏳ Build in-progress
History
|
## Summary Follow up of elastic/elasticsearch#108395 ### Checklist - [ ] [Unit or functional tests](https://www.elastic.co/guide/en/kibana/master/development-tests.html) were updated or added to match the most common scenarios --------- Co-authored-by: Søren Louv-Jansen <[email protected]> (cherry picked from commit 7b635f3)
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
# Backport This will backport the following commits from `main` to `8.15`: - [[Obs AI assistant] Replace with double quotes (#187327)](#187327) <!--- Backport version: 9.4.3 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Stratoula Kalafateli","email":"[email protected]"},"sourceCommit":{"committedDate":"2024-07-05T10:54:45Z","message":"[Obs AI assistant] Replace with double quotes (#187327)\n\n## Summary\r\n\r\nFollow up of https://github.com/elastic/elasticsearch/pull/108395\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Søren Louv-Jansen <[email protected]>","sha":"7b635f3246d9f827380d4d89441cdfaf8aadd468","branchLabelMapping":{"^v8.16.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","backport:prev-minor","Team:Obs AI Assistant","ci:project-deploy-observability","v8.15.0","v8.16.0"],"title":"[Obs AI assistant] Replace with double quotes","number":187327,"url":"https://github.com/elastic/kibana/pull/187327","mergeCommit":{"message":"[Obs AI assistant] Replace with double quotes (#187327)\n\n## Summary\r\n\r\nFollow up of https://github.com/elastic/elasticsearch/pull/108395\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Søren Louv-Jansen <[email protected]>","sha":"7b635f3246d9f827380d4d89441cdfaf8aadd468"}},"sourceBranch":"main","suggestedTargetBranches":["8.15"],"targetPullRequestStates":[{"branch":"8.15","label":"v8.15.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.16.0","branchLabelMappingKey":"^v8.16.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/187327","number":187327,"mergeCommit":{"message":"[Obs AI assistant] Replace with double quotes (#187327)\n\n## Summary\r\n\r\nFollow up of https://github.com/elastic/elasticsearch/pull/108395\r\n\r\n### Checklist\r\n\r\n- [ ] [Unit or functional\r\ntests](https://www.elastic.co/guide/en/kibana/master/development-tests.html)\r\nwere updated or added to match the most common scenarios\r\n\r\n---------\r\n\r\nCo-authored-by: Søren Louv-Jansen <[email protected]>","sha":"7b635f3246d9f827380d4d89441cdfaf8aadd468"}}]}] BACKPORT--> Co-authored-by: Stratoula Kalafateli <[email protected]>
Summary
Follow up of elastic/elasticsearch#108395
Checklist