-
Notifications
You must be signed in to change notification settings - Fork 33
Processes construct their own supervision #522
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
Merged
MaciejKaszynski
merged 31 commits into
eclipse-score:main
from
etas-contrib:feature/process-makes-supervision
Sep 7, 2026
Merged
Changes from 22 commits
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
f4c1fd2
Remove leftover definitions
WilliamRoebuck 50ba1ab
Alive monitor changes to expose factory
WilliamRoebuck 9d25525
PIN uses factory, integration tests pass
WilliamRoebuck ccb5664
Remove construct method
WilliamRoebuck d0a26c1
Cleanup
WilliamRoebuck 059727b
Fix UTs
WilliamRoebuck 3325909
Fix wrong member name
WilliamRoebuck a8f71ca
Superficial cleanup
WilliamRoebuck e339ab9
Move supervision factory into struct
WilliamRoebuck f5cc8b4
Apply suggestions
WilliamRoebuck 84780eb
Fixes after rebase
WilliamRoebuck 1a33227
Merge branch 'main' of https://github.com/eclipse-score/inc_lifecycle…
WilliamRoebuck cefd51c
Initial cleanup
WilliamRoebuck 2290950
Rename supervision_event_publisher
WilliamRoebuck d590b6d
Handle failed construction
WilliamRoebuck 587f377
Extract init method
WilliamRoebuck 05759f4
Stop alive config invalidation
WilliamRoebuck 5a021a7
Merge branch 'main' of https://github.com/eclipse-score/inc_lifecycle…
WilliamRoebuck c79250c
Rename supervision state reporter
WilliamRoebuck a8be15a
Merge branch 'main' of https://github.com/eclipse-score/inc_lifecycle…
WilliamRoebuck d1632c7
Merge branch 'main' into feature/process-makes-supervision
WilliamRoebuck dd75780
Merge branch 'main' into feature/process-makes-supervision
WilliamRoebuck 9bcbfc4
Address comments
WilliamRoebuck 53defd2
Merge branch 'main' of https://github.com/eclipse-score/inc_lifecycle…
WilliamRoebuck 4aa5888
Fixed oversight
WilliamRoebuck ef72b5e
Merge branch 'main' of https://github.com/eclipse-score/inc_lifecycle…
WilliamRoebuck 5355391
Correct condition
WilliamRoebuck 59cf158
Merge branch 'main' of https://github.com/eclipse-score/inc_lifecycle…
WilliamRoebuck 319037a
Merge branch 'main' into feature/process-makes-supervision
WilliamRoebuck 0b4ff91
Suggestions
WilliamRoebuck 9bd7881
Renames
WilliamRoebuck File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
34 changes: 34 additions & 0 deletions
34
score/launch_manager/src/daemon/src/alive_monitor/details/common/EInitCode.hpp
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,34 @@ | ||
| /******************************************************************************** | ||
| * Copyright (c) 2026 Contributors to the Eclipse Foundation | ||
| * | ||
| * See the NOTICE file(s) distributed with this work for additional | ||
| * information regarding copyright ownership. | ||
| * | ||
| * This program and the accompanying materials are made available under the | ||
| * terms of the Apache License Version 2.0 which is available at | ||
| * https://www.apache.org/licenses/LICENSE-2.0 | ||
| * | ||
| * SPDX-License-Identifier: Apache-2.0 | ||
| ********************************************************************************/ | ||
|
|
||
| #ifndef E_INIT_CODE_HPP_INCLUDED | ||
| #define E_INIT_CODE_HPP_INCLUDED | ||
|
|
||
| #include <cstdint> | ||
|
|
||
| namespace score::mw::lifecycle::internal::saf::daemon | ||
| { | ||
|
|
||
| /// @brief Return codes for PhmDaemon Initialization | ||
| enum class EInitCode : std::int8_t | ||
| { | ||
| kNoError, ///< Init Successful (no error occurred) | ||
| kNotInitialized, ///< Init was not performed | ||
| kCycleTimeInitFailed, ///< Cyclic Timer initialization failed | ||
| kConstructFlatCfgFactoryFailed, ///< FlatCfgFactory failed loading SWCL configurations | ||
| kGeneralError ///< General error | ||
| }; | ||
|
|
||
| } // namespace score::mw::lifecycle::internal::saf::daemon | ||
|
|
||
| #endif |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.