Repository navigation
Fix for issue 1108 - #1109
Open
paulquiring wants to merge 5 commits into
Open
Fix for issue 1108#1109paulquiring wants to merge 5 commits into
paulquiring wants to merge 5 commits into
Conversation
paulquiring
requested review from
FScholPer,
MaciejKaszynski,
NicolasFussberger,
anmittag,
antonkri,
pawelrutkaq and
ramceb
as code owners
November 26, 2026 13:28
paulquiring
had a problem deploying
to
workflow-approval
November 26, 2026 13:28 — with
GitHub Actions
Error
paulquiring
had a problem deploying
to
workflow-approval
November 26, 2026 13:28 — with
GitHub Actions
Error
paulquiring
had a problem deploying
to
workflow-approval
November 27, 2026 08:31 — with
GitHub Actions
Error
paulquiring
had a problem deploying
to
workflow-approval
November 27, 2026 08:31 — with
GitHub Actions
Error
paulquiring
force-pushed
the
bug-1108
branch
from
November 27, 2026 08:32
018379d to
f8cc032
Compare
paulquiring
had a problem deploying
to
workflow-approval
November 27, 2026 08:32 — with
GitHub Actions
Error
paulquiring
had a problem deploying
to
workflow-approval
November 27, 2026 08:32 — with
GitHub Actions
Error
There was a problem hiding this comment.
🟡 Changes recommended
The shutdown regression can pass with the original bug because it lacks coordinated overlap checks, while the parallel-launch traceability tag is unsupported by a startup-overlap assertion.
2 open issues
What changed in this PR
Fixes #1108 by making Launch Manager wait for every dependent to finish shutting down before stopping a shared dependency.
Changes:
- Track shutdown completion per node instead of repeatedly reading live component state.
- Add unit and integration regression tests for shared-dependency shutdown ordering.
- Prevent out-of-bounds access in the test argument parser.
| File | Description |
|---|---|
tests/utils/test_helper/arg_parser.hpp |
Guard argument indexing with a length check. |
tests/integration/shared_dependency_shutdown/test.py |
Run the regression scenario and validate test results. |
tests/integration/shared_dependency_shutdown/shared_dependency_shutdown.puml |
Document the expected shutdown sequence. |
tests/integration/shared_dependency_shutdown/dependent_process.cpp |
Model fast and slow graceful shutdowns. |
tests/integration/shared_dependency_shutdown/control_client_test_driver.cpp |
Drive transitions and check shutdown counters. |
tests/integration/shared_dependency_shutdown/config.json |
Configure the dependency graph and shutdown delays. |
tests/integration/shared_dependency_shutdown/component_shared_process.cpp |
Detect premature shutdown of the shared dependency. |
tests/integration/shared_dependency_shutdown/common.hpp |
Define shared counters and expected component counts. |
tests/integration/shared_dependency_shutdown/BUILD |
Build and register the integration scenario. |
tests/integration/BUILD |
Include the regression in the integration suite. |
score/launch_manager/src/daemon/src/process_group_manager/details/transition.hpp |
Gate shutdown ordering on tracked completion notifications. |
score/launch_manager/src/daemon/src/process_group_manager/details/transition_UT.cpp |
Verify that a shared dependency waits for both dependents. |
Review effort: Max
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Signed-off-by: Paul Quiring <paul.quiring@etas.com>
paulquiring
had a problem deploying
to
workflow-approval
November 27, 2026 09:02 — with
GitHub Actions
Error
paulquiring
had a problem deploying
to
workflow-approval
November 27, 2026 09:02 — with
GitHub Actions
Error
Contributor
|
Documentation preview for this pull request is available at: |
NicolasFussberger
requested changes
Nov 27, 2026
paulquiring
had a problem deploying
to
workflow-approval
November 27, 2026 11:12 — with
GitHub Actions
Error
paulquiring
had a problem deploying
to
workflow-approval
November 27, 2026 11:12 — with
GitHub Actions
Error
paulquiring
requested a deployment
to
workflow-approval
November 27, 2026 12:35 — with
GitHub Actions
Waiting
paulquiring
requested a deployment
to
workflow-approval
November 27, 2026 12:35 — with
GitHub Actions
Waiting
This branch is waiting to be deployed
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

fixes: #1108