Skip to content

[streams][lifecycle] find inherited lifecycle on creation#226125

Merged
klacabane merged 1 commit intoelastic:mainfrom
klacabane:226120-fix-inherit-lifecycle-on-creation
Jul 2, 2025
Merged

[streams][lifecycle] find inherited lifecycle on creation#226125
klacabane merged 1 commit intoelastic:mainfrom
klacabane:226120-fix-inherit-lifecycle-on-creation

Conversation

@klacabane
Copy link
Contributor

@klacabane klacabane commented Jul 2, 2025

Summary

Closes #226120

If a wired child stream defines an inherit lifecycle the parent's lifecycle is not picked up when we first create it

@klacabane klacabane added release_note:skip Skip the PR/issue when compiling release notes Team:obs-onboarding Observability Onboarding Team backport:version Backport to applied version labels Feature:Streams This is the label for the Streams Project v9.1.0 v8.19.0 v9.2.0 labels Jul 2, 2025
@klacabane klacabane marked this pull request as ready for review July 2, 2025 10:07
@klacabane klacabane requested a review from a team as a code owner July 2, 2025 10:07
@elasticmachine
Copy link
Contributor

Pinging @elastic/obs-ux-logs-team (Team:obs-ux-logs)

Copy link
Contributor

@flash1293 flash1293 left a comment

Choose a reason for hiding this comment

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

Tested and works as expected, LGTM

@elasticmachine
Copy link
Contributor

💚 Build Succeeded

Metrics [docs]

✅ unchanged

@klacabane klacabane merged commit bba949b into elastic:main Jul 2, 2025
26 checks passed
@kibanamachine
Copy link
Contributor

Starting backport for target branches: 8.19, 9.1

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

kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 2, 2025
…6125)

## Summary
Closes elastic#226120

If a wired child stream defines an inherit lifecycle the parent's
lifecycle is not picked up when we first create it

(cherry picked from commit bba949b)
kibanamachine pushed a commit to kibanamachine/kibana that referenced this pull request Jul 2, 2025
…6125)

## Summary
Closes elastic#226120

If a wired child stream defines an inherit lifecycle the parent's
lifecycle is not picked up when we first create it

(cherry picked from commit bba949b)
@kibanamachine
Copy link
Contributor

💚 All backports created successfully

Status Branch Result
8.19
9.1

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

Questions ?

Please refer to the Backport tool documentation

kibanamachine added a commit that referenced this pull request Jul 2, 2025
) (#226181)

# Backport

This will backport the following commits from `main` to `9.1`:
- [[streams][lifecycle] find inherited lifecycle on creation
(#226125)](#226125)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Kevin
Lacabane","email":"kevin.lacabane@elastic.co"},"sourceCommit":{"committedDate":"2025-07-02T12:09:05Z","message":"[streams][lifecycle]
find inherited lifecycle on creation (#226125)\n\n## Summary\nCloses
https://github.com/elastic/kibana/issues/226120\n\nIf a wired child
stream defines an inherit lifecycle the parent's\nlifecycle is not
picked up when we first create
it","sha":"bba949bf2651af24ff3be2ea5b3caaf8873597bc","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-logs","backport:version","Feature:Streams","v9.1.0","v8.19.0","v9.2.0"],"title":"[streams][lifecycle]
find inherited lifecycle on
creation","number":226125,"url":"https://github.com/elastic/kibana/pull/226125","mergeCommit":{"message":"[streams][lifecycle]
find inherited lifecycle on creation (#226125)\n\n## Summary\nCloses
https://github.com/elastic/kibana/issues/226120\n\nIf a wired child
stream defines an inherit lifecycle the parent's\nlifecycle is not
picked up when we first create
it","sha":"bba949bf2651af24ff3be2ea5b3caaf8873597bc"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226125","number":226125,"mergeCommit":{"message":"[streams][lifecycle]
find inherited lifecycle on creation (#226125)\n\n## Summary\nCloses
https://github.com/elastic/kibana/issues/226120\n\nIf a wired child
stream defines an inherit lifecycle the parent's\nlifecycle is not
picked up when we first create
it","sha":"bba949bf2651af24ff3be2ea5b3caaf8873597bc"}}]}] BACKPORT-->

Co-authored-by: Kevin Lacabane <kevin.lacabane@elastic.co>
kibanamachine added a commit that referenced this pull request Jul 2, 2025
…6125) (#226180)

# Backport

This will backport the following commits from `main` to `8.19`:
- [[streams][lifecycle] find inherited lifecycle on creation
(#226125)](#226125)

<!--- Backport version: 9.6.6 -->

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

<!--BACKPORT [{"author":{"name":"Kevin
Lacabane","email":"kevin.lacabane@elastic.co"},"sourceCommit":{"committedDate":"2025-07-02T12:09:05Z","message":"[streams][lifecycle]
find inherited lifecycle on creation (#226125)\n\n## Summary\nCloses
https://github.com/elastic/kibana/issues/226120\n\nIf a wired child
stream defines an inherit lifecycle the parent's\nlifecycle is not
picked up when we first create
it","sha":"bba949bf2651af24ff3be2ea5b3caaf8873597bc","branchLabelMapping":{"^v9.2.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:obs-ux-logs","backport:version","Feature:Streams","v9.1.0","v8.19.0","v9.2.0"],"title":"[streams][lifecycle]
find inherited lifecycle on
creation","number":226125,"url":"https://github.com/elastic/kibana/pull/226125","mergeCommit":{"message":"[streams][lifecycle]
find inherited lifecycle on creation (#226125)\n\n## Summary\nCloses
https://github.com/elastic/kibana/issues/226120\n\nIf a wired child
stream defines an inherit lifecycle the parent's\nlifecycle is not
picked up when we first create
it","sha":"bba949bf2651af24ff3be2ea5b3caaf8873597bc"}},"sourceBranch":"main","suggestedTargetBranches":["9.1","8.19"],"targetPullRequestStates":[{"branch":"9.1","label":"v9.1.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"8.19","label":"v8.19.0","branchLabelMappingKey":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v9.2.0","branchLabelMappingKey":"^v9.2.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/226125","number":226125,"mergeCommit":{"message":"[streams][lifecycle]
find inherited lifecycle on creation (#226125)\n\n## Summary\nCloses
https://github.com/elastic/kibana/issues/226120\n\nIf a wired child
stream defines an inherit lifecycle the parent's\nlifecycle is not
picked up when we first create
it","sha":"bba949bf2651af24ff3be2ea5b3caaf8873597bc"}}]}] BACKPORT-->

Co-authored-by: Kevin Lacabane <kevin.lacabane@elastic.co>
kertal pushed a commit to kertal/kibana that referenced this pull request Jul 25, 2025
…6125)

## Summary
Closes elastic#226120

If a wired child stream defines an inherit lifecycle the parent's
lifecycle is not picked up when we first create it
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 Feature:Streams This is the label for the Streams Project release_note:skip Skip the PR/issue when compiling release notes Team:obs-onboarding Observability Onboarding Team v8.19.0 v9.1.0 v9.2.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[streams][lifecycle] lifecycle is not inherited when child stream is first created

4 participants