Skip to content

[Security solution] Knowledge base unit tests#200207

Merged
stephmilovic merged 57 commits intoelastic:mainfrom
stephmilovic:kb_tests
Nov 18, 2024
Merged

[Security solution] Knowledge base unit tests#200207
stephmilovic merged 57 commits intoelastic:mainfrom
stephmilovic:kb_tests

Conversation

@stephmilovic
Copy link
Contributor

@stephmilovic stephmilovic commented Nov 14, 2024

Summary

Improves unit test coverage for the new knowledge base feature

@stephmilovic stephmilovic added Team:Security Generative AI Security Generative AI backport:version Backport to applied version labels v8.17.0 labels Nov 14, 2024
@stephmilovic stephmilovic marked this pull request as ready for review November 14, 2024 16:13
@stephmilovic stephmilovic requested a review from a team as a code owner November 14, 2024 16:13
@elasticmachine
Copy link
Contributor

Pinging @elastic/security-solution (Team: SecuritySolution)

Copy link
Contributor

@andrew-goldstein andrew-goldstein left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you @stephmilovic for improving the test coverage 🙏
LGTM 🚀

@stephmilovic
Copy link
Contributor Author

@elasticmachine merge upstream

@elasticmachine
Copy link
Contributor

💛 Build succeeded, but was flaky

Failed CI Steps

Test Failures

  • [job] [logs] Jest Tests #1 / OpenTimeline it should disable delete timeline if no timeline is selected

Metrics [docs]

✅ unchanged

History

@stephmilovic stephmilovic enabled auto-merge (squash) November 18, 2024 17:57
@stephmilovic stephmilovic merged commit d57e3b0 into elastic:main Nov 18, 2024
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.x

https://github.com/elastic/kibana/actions/runs/11900313544

@kibanamachine
Copy link
Contributor

💔 All backports failed

Status Branch Result
8.x Backport failed because of merge conflicts

You might need to backport the following PRs to 8.x:
- [Security solution] Assistant package + plugin dead code removal (#200235)

Manual backport

To create the backport manually run:

node scripts/backport --pr 200207

Questions ?

Please refer to the Backport tool documentation

stephmilovic added a commit to stephmilovic/kibana that referenced this pull request Nov 18, 2024
@stephmilovic
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
8.x

Note: Successful backport PRs will be merged automatically after passing CI.

Questions ?

Please refer to the Backport tool documentation

stephmilovic added a commit that referenced this pull request Nov 18, 2024
# Backport

This will backport the following commits from `main` to `8.x`:
- [[Security solution] Knowledge base unit tests
(#200207)](#200207)

<!--- Backport version: 8.9.8 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Steph
Milovic","email":"stephanie.milovic@elastic.co"},"sourceCommit":{"committedDate":"2024-11-18T20:13:58Z","message":"[Security
solution] Knowledge base unit tests
(#200207)","sha":"d57e3b0ea0a1b47975f317f48c6a4907702edf3e","branchLabelMapping":{"^v9.0.0$":"main","^v8.17.0$":"8.x","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","v9.0.0","Team:
SecuritySolution","Team:Security Generative
AI","backport:version","v8.17.0"],"number":200207,"url":"https://github.com/elastic/kibana/pull/200207","mergeCommit":{"message":"[Security
solution] Knowledge base unit tests
(#200207)","sha":"d57e3b0ea0a1b47975f317f48c6a4907702edf3e"}},"sourceBranch":"main","suggestedTargetBranches":["8.x"],"targetPullRequestStates":[{"branch":"main","label":"v9.0.0","labelRegex":"^v9.0.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/200207","number":200207,"mergeCommit":{"message":"[Security
solution] Knowledge base unit tests
(#200207)","sha":"d57e3b0ea0a1b47975f317f48c6a4907702edf3e"}},{"branch":"8.x","label":"v8.17.0","labelRegex":"^v8.17.0$","isSourceBranch":false,"state":"NOT_CREATED"}]}]
BACKPORT-->
CAWilson94 pushed a commit to CAWilson94/kibana that referenced this pull request Dec 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport:version Backport to applied version labels release_note:skip Skip the PR/issue when compiling release notes Team:Security Generative AI Security Generative AI Team: SecuritySolution Security Solutions Team working on SIEM, Endpoint, Timeline, Resolver, etc. v8.17.0 v9.0.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants