-
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
[Fleet] Fix datastream settings on package upgrade and package policy creation #147368
Conversation
Pinging @elastic/fleet (Team:Fleet) |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
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.
Great, thanks for all the tests 👍
@shahzad31 this test is always failing but it does seem to be related to any of my change here, and I was not able to get it failing locally |
@elasticmachine merge upstream |
8eb7595
to
ef2484e
Compare
@elasticmachine merge upstream |
@elasticmachine merge upstream |
@elasticmachine merge upstream |
652a0f6
to
2531462
Compare
2531462
to
08195b3
Compare
💚 Build Succeeded
Metrics [docs]Async chunks
Page load bundle
Unknown metric groupsESLint disabled in files
ESLint disabled line counts
Total ESLint disabled count
History
To update your PR or re-run it, just comment with: cc @nchaulet |
@nchaulet As you likely understand I'm slightly concern by this. We should have tests in place that the issues found in #147034 (comment) are fixed. |
@ruflin I added unit tests that cover the changes here |
In #147034 (comment) I left a question around the following scenario:
Can you comment on what the expected behaviour after this PR is? Especially interested in your thoughts around namespaces. |
@ruflin Does your package policy version is up to date with the system package installed? I think I may have found an issue here |
Not sure I fully understand. For testing I use this PR: elastic/integrations#4749 Then the |
Description
Related to #147034
That PR fix a few bugs with the synthetic source experimental datastream feature:
disabled because of this as the original package policy and the updated one are not different
testing
There is no package using the
source_mode: synthetic
feature for now but you can edit locally a package or use this test package https://github.com/elastic/kibana/tree/main/x-pack/test/fleet_api_integration/apis/fixtures/test_packages/non_epr_fields/1.0.0All the changes are covered by unit tests