Support var removals on integration upgrade#238542
Support var removals on integration upgrade#238542MichelLosier merged 7 commits intoelastic:mainfrom
Conversation
…rade" This reverts commit 88600e7.
|
/ci |
|
Pinging @elastic/fleet (Team:Fleet) |
💚 Build Succeeded
Metrics [docs]
|
|
Starting backport for target branches: 8.18, 8.19, 9.1, 9.2 |
Resolves: elastic#235242 * On package policy upgrade: * Adds support for checking global var additions on package upgrade * Removes stale variables (global, input, or stream) from the original package policy that are no longer defined in the new package version. (cherry picked from commit 1c86d1b)
💔 Some backports could not be created
Note: Successful backport PRs will be merged automatically after passing CI. Manual backportTo create the backport manually run: Questions ?Please refer to the Backport tool documentation |
Resolves: elastic#235242 * On package policy upgrade: * Adds support for checking global var additions on package upgrade * Removes stale variables (global, input, or stream) from the original package policy that are no longer defined in the new package version. (cherry picked from commit 1c86d1b) # Conflicts: # x-pack/platform/plugins/shared/fleet/server/services/package_policy.ts
Resolves: elastic#235242 * On package policy upgrade: * Adds support for checking global var additions on package upgrade * Removes stale variables (global, input, or stream) from the original package policy that are no longer defined in the new package version. (cherry picked from commit 1c86d1b) # Conflicts: # x-pack/platform/plugins/shared/fleet/server/services/package_policy.ts
Resolves: elastic#235242 * On package policy upgrade: * Adds support for checking global var additions on package upgrade * Removes stale variables (global, input, or stream) from the original package policy that are no longer defined in the new package version. (cherry picked from commit 1c86d1b) # Conflicts: # x-pack/platform/plugins/shared/fleet/server/services/package_policy.ts
💚 All backports created successfully
Note: Successful backport PRs will be merged automatically after passing CI. Questions ?Please refer to the Backport tool documentation |
Resolves: elastic#235242 * On package policy upgrade: * Adds support for checking global var additions on package upgrade * Removes stale variables (global, input, or stream) from the original package policy that are no longer defined in the new package version. (cherry picked from commit 1c86d1b) # Conflicts: # x-pack/platform/plugins/shared/fleet/server/services/package_policy.ts
# Backport This will backport the following commits from `main` to `9.1`: - [Support var removals on integration upgrade (#238542)](#238542) <!--- Backport version: 10.1.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Michel Losier","email":"michel.losier@elastic.co"},"sourceCommit":{"committedDate":"2025-10-15T16:21:04Z","message":"Support var removals on integration upgrade (#238542)\n\nResolves: https://github.com/elastic/kibana/issues/235242\n\n* On package policy upgrade:\n * Adds support for checking global var additions on package upgrade\n* Removes stale variables (global, input, or stream) from the original\npackage policy that are no longer defined in the new package version.","sha":"1c86d1b098457bebfbf008da7a9da781306bfe07","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","backport:all-open","v9.3.0"],"title":"Support var removals on integration upgrade","number":238542,"url":"https://github.com/elastic/kibana/pull/238542","mergeCommit":{"message":"Support var removals on integration upgrade (#238542)\n\nResolves: https://github.com/elastic/kibana/issues/235242\n\n* On package policy upgrade:\n * Adds support for checking global var additions on package upgrade\n* Removes stale variables (global, input, or stream) from the original\npackage policy that are no longer defined in the new package version.","sha":"1c86d1b098457bebfbf008da7a9da781306bfe07"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/238542","number":238542,"mergeCommit":{"message":"Support var removals on integration upgrade (#238542)\n\nResolves: https://github.com/elastic/kibana/issues/235242\n\n* On package policy upgrade:\n * Adds support for checking global var additions on package upgrade\n* Removes stale variables (global, input, or stream) from the original\npackage policy that are no longer defined in the new package version.","sha":"1c86d1b098457bebfbf008da7a9da781306bfe07"}},{"url":"https://github.com/elastic/kibana/pull/239189","number":239189,"branch":"9.2","state":"OPEN"}]}] BACKPORT-->
# Backport This will backport the following commits from `main` to `8.19`: - [Support var removals on integration upgrade (#238542)](#238542) <!--- Backport version: 10.1.0 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Michel Losier","email":"michel.losier@elastic.co"},"sourceCommit":{"committedDate":"2025-10-15T16:21:04Z","message":"Support var removals on integration upgrade (#238542)\n\nResolves: https://github.com/elastic/kibana/issues/235242\n\n* On package policy upgrade:\n * Adds support for checking global var additions on package upgrade\n* Removes stale variables (global, input, or stream) from the original\npackage policy that are no longer defined in the new package version.","sha":"1c86d1b098457bebfbf008da7a9da781306bfe07","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","backport:all-open","v9.3.0"],"title":"Support var removals on integration upgrade","number":238542,"url":"https://github.com/elastic/kibana/pull/238542","mergeCommit":{"message":"Support var removals on integration upgrade (#238542)\n\nResolves: https://github.com/elastic/kibana/issues/235242\n\n* On package policy upgrade:\n * Adds support for checking global var additions on package upgrade\n* Removes stale variables (global, input, or stream) from the original\npackage policy that are no longer defined in the new package version.","sha":"1c86d1b098457bebfbf008da7a9da781306bfe07"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/238542","number":238542,"mergeCommit":{"message":"Support var removals on integration upgrade (#238542)\n\nResolves: https://github.com/elastic/kibana/issues/235242\n\n* On package policy upgrade:\n * Adds support for checking global var additions on package upgrade\n* Removes stale variables (global, input, or stream) from the original\npackage policy that are no longer defined in the new package version.","sha":"1c86d1b098457bebfbf008da7a9da781306bfe07"}},{"url":"https://github.com/elastic/kibana/pull/239189","number":239189,"branch":"9.2","state":"OPEN"}]}] BACKPORT-->
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
Resolves: elastic#235242 * On package policy upgrade: * Adds support for checking global var additions on package upgrade * Removes stale variables (global, input, or stream) from the original package policy that are no longer defined in the new package version.
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
1 similar comment
|
Looks like this PR has backport PRs but they still haven't been merged. Please merge them ASAP to keep the branches relatively in sync. |
|
Starting backport for target branches: 8.19, 9.1 |
Trying to cancel the above run since these backports are already merged. Might need a backport to 9.2 though. |
# Backport This will backport the following commits from `main` to `9.2`: - [Support var removals on integration upgrade (#238542)](#238542) <!--- Backport version: 9.6.6 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sorenlouv/backport) <!--BACKPORT [{"author":{"name":"Michel Losier","email":"michel.losier@elastic.co"},"sourceCommit":{"committedDate":"2025-10-15T16:21:04Z","message":"Support var removals on integration upgrade (#238542)\n\nResolves: https://github.com/elastic/kibana/issues/235242\n\n* On package policy upgrade:\n * Adds support for checking global var additions on package upgrade\n* Removes stale variables (global, input, or stream) from the original\npackage policy that are no longer defined in the new package version.","sha":"1c86d1b098457bebfbf008da7a9da781306bfe07","branchLabelMapping":{"^v9.3.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:fix","Team:Fleet","backport:all-open","v9.3.0"],"title":"Support var removals on integration upgrade","number":238542,"url":"https://github.com/elastic/kibana/pull/238542","mergeCommit":{"message":"Support var removals on integration upgrade (#238542)\n\nResolves: https://github.com/elastic/kibana/issues/235242\n\n* On package policy upgrade:\n * Adds support for checking global var additions on package upgrade\n* Removes stale variables (global, input, or stream) from the original\npackage policy that are no longer defined in the new package version.","sha":"1c86d1b098457bebfbf008da7a9da781306bfe07"}},"sourceBranch":"main","suggestedTargetBranches":[],"targetPullRequestStates":[{"branch":"main","label":"v9.3.0","branchLabelMappingKey":"^v9.3.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/238542","number":238542,"mergeCommit":{"message":"Support var removals on integration upgrade (#238542)\n\nResolves: https://github.com/elastic/kibana/issues/235242\n\n* On package policy upgrade:\n * Adds support for checking global var additions on package upgrade\n* Removes stale variables (global, input, or stream) from the original\npackage policy that are no longer defined in the new package version.","sha":"1c86d1b098457bebfbf008da7a9da781306bfe07"}}]}] BACKPORT--> Co-authored-by: Michel Losier <michel.losier@elastic.co>
Resolves: elastic#235242 * On package policy upgrade: * Adds support for checking global var additions on package upgrade * Removes stale variables (global, input, or stream) from the original package policy that are no longer defined in the new package version.
Resolves: elastic#235242 * On package policy upgrade: * Adds support for checking global var additions on package upgrade * Removes stale variables (global, input, or stream) from the original package policy that are no longer defined in the new package version.
Summary
Resolves: #235242
Other notes:
To reproduce
integrationsrepo, pull this branch from this PR https://github.com/elastic/integrations/pull/13588/fileselastic-package buildxpack.fleet.registryUrl: http://0.0.0.0:8080Release notes
Checklist
Check the PR satisfies following conditions.
Reviewers should verify this PR satisfies this list as well.
release_note:breakinglabel should be applied in these situations.release_note:*label is applied per the guidelinesbackport:*labels.Identify risks
Does this PR introduce any risks? For example, consider risks like hard to test bugs, performance regression, potential of data loss.
Describe the risk, its severity, and mitigation for each identified risk. Invite stakeholders and evaluate how to proceed before merging.