fix(lifecycle_client): link lifecycle_mock against lifecyclemanager t…#337
Open
Chahult wants to merge 1 commit into
Open
fix(lifecycle_client): link lifecycle_mock against lifecyclemanager t…#337Chahult wants to merge 1 commit into
Chahult wants to merge 1 commit into
Conversation
Chahult
requested a deployment
to
workflow-approval
July 21, 2026 11:17 — with
GitHub Actions
Waiting
Chahult
requested a deployment
to
workflow-approval
July 21, 2026 11:17 — with
GitHub Actions
Waiting
License Check Results🚀 The license check job ran with the Bazel command: bazel run --lockfile_mode=error //:license-checkStatus: Click to expand output |
Member
|
@Chahult some checks are failing,are you planning to adapt or delete the PR? |
Chahult
force-pushed
the
fix/lifecycle_mock_vtable_link_v0.2.0
branch
from
July 22, 2026 04:46
bd15106 to
73c9454
Compare
Chahult
requested a deployment
to
workflow-approval
July 22, 2026 04:46 — with
GitHub Actions
Waiting
Chahult
requested a deployment
to
workflow-approval
July 22, 2026 04:46 — with
GitHub Actions
Waiting
Chahult
force-pushed
the
fix/lifecycle_mock_vtable_link_v0.2.0
branch
from
July 22, 2026 11:19
73c9454 to
2da00ec
Compare
Chahult
requested a deployment
to
workflow-approval
July 22, 2026 11:19 — with
GitHub Actions
Waiting
Chahult
requested a deployment
to
workflow-approval
July 22, 2026 11:19 — with
GitHub Actions
Waiting
lifecycle_mock provides a mock of LifeCycleManager which inherits from the concrete class. Without :lifecyclemanager in its deps the vtable symbol is undefined when building lifecycle_mock as a shared library (--no-allow-shlib-undefined). Also guard all ApplicationContext callbacks against null to prevent std::bad_function_call when a global ApplicationContext is constructed before any ApplicationContextMock instance exists.
Chahult
force-pushed
the
fix/lifecycle_mock_vtable_link_v0.2.0
branch
from
July 22, 2026 11:22
2da00ec to
4e403ba
Compare
Chahult
requested a deployment
to
workflow-approval
July 22, 2026 11:22 — with
GitHub Actions
Waiting
Chahult
requested a deployment
to
workflow-approval
July 22, 2026 11:22 — with
GitHub Actions
Waiting
|
The created documentation from the pull request is available at: docu-html |
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.
…o resolve vtable
lifecycle_mock provides a mock implementation of LifeCycleManager, which inherits from the concrete class defined in lifecyclemanager.cpp. Without linking against the :lifecyclemanager target, the vtable symbol is undefined when building lifecycle_mock as a shared library (--no-allow-shlib-undefined).
Add :lifecyclemanager to lifecycle_mock's deps to provide the vtable.