Skip to content

Conversation

@kibanamachine
Copy link
Contributor

Backport

This will backport the following commits from main to 9.1:

Questions ?

Please refer to the Backport tool documentation

…mained in the list until page refreshed (elastic#230450)

## Summary

1. The last system prompt was deleted successfully but remained in the
list until page refreshed:
elastic#230376

Steps to verify item 1:

- Create some system prompts and delete them:
```
POST kbn:/api/security_ai_assistant/prompts/_bulk_action
{
  "create": [
    {
      "id": "",
      "content": "xxx0",
      "name": "xxxx0",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    },
    {
      "id": "",
      "content": "xxx1",
      "name": "xxxx1",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    },
    {
      "id": "",
      "content": "xxx2",
      "name": "xxxx2",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    },
    {
      "id": "",
      "content": "xxx3",
      "name": "xxxx3",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    },
    {
      "id": "",
      "content": "xxx4",
      "name": "xxxx4",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    },
    {
      "id": "",
      "content": "xxx5",
      "name": "xxxx5",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    },
    {
      "id": "",
      "content": "xxx6",
      "name": "xxxx6",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    },
    {
      "id": "",
      "content": "xxx7",
      "name": "xxxx7",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    },
    {
      "id": "",
      "content": "xxx8",
      "name": "xxxx8",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    },
    {
      "id": "",
      "content": "xxx9",
      "name": "xxxx9",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    },
    {
      "id": "",
      "content": "xxx10",
      "name": "xxxx10",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    },
    {
      "id": "",
      "content": "xxx11",
      "name": "xxxx11",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    },
    {
      "id": "",
      "content": "xxx12",
      "name": "xxxx12",
      "promptType": "system",
      "consumer": "management",
      "conversations": []
    }
  ]
}
```

2. Conversation title overflow in settings:
<img width="2557" height="810" alt="Screenshot 2025-08-04 at 15 59 53"
src="https://github.com/user-attachments/assets/5648cafe-a9e7-4043-a5ab-207133d86f7b"
/>
<img width="1511" height="768" alt="Screenshot 2025-08-04 at 16 56 32"
src="https://github.com/user-attachments/assets/502925de-9018-4b16-a33f-03c8d5715494"
/>

---------

Co-authored-by: kibanamachine <42973632+kibanamachine@users.noreply.github.com>
(cherry picked from commit e1b08cd)
@kibanamachine kibanamachine merged commit 46781cb into elastic:9.1 Aug 6, 2025
16 checks passed
@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

Async chunks

Total size of all lazy-loaded chunks that will be downloaded as the user navigates the app

id before after diff
securitySolution 9.8MB 9.8MB +51.0B

Page load bundle

Size of the bundles that are downloaded on every page load. Target size is below 100kb

id before after diff
elasticAssistant 273.7KB 273.7KB -32.0B

cc @angorayc

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport This PR is a backport of another PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants