fix: Structured API Layers PR review (suggested fixes)#3966
Draft
fcecin wants to merge 2 commits into
Draft
Conversation
* MessagingClient.new: return a Result via a new newMessagingClient factory instead of quit(QuitFailure) on a recoverable SendService failure; no longer aborts the FFI host (restores master's behaviour). Callers (facade, FFI mount, tests) updated to the factory. * LogosDelivery.stop(): best-effort run-to-completion; stop and nil every component even if a prior one fails, aggregating errors (was: early return that leaked the messaging client and the node). * LogosDelivery.getNodeInfo(): nil-guard self.waku like the sibling getters (was: nil-deref before start / after stop).
|
You can find the image built from this PR at Built from fe7122c |
Ivansete-status
approved these changes
Jun 22, 2026
Co-authored-by: Ivan FB <128452529+Ivansete-status@users.noreply.github.com>
Collaborator
|
@fcecin - the changes looked correct to me, conceptually. However, given that we are not merging POC in the short term, we may need to submit a separate PR based on |
Contributor
Author
Yep this PR merges into Zoltan's PR, it's just a "review PR." He can drive it however he likes as part of the rewview, close etc. If he ever merges his PR this is closed regardless. |
Contributor
Author
|
Actually, let me mark this as draft so it doesn't cause confusion. |
fcecin
marked this pull request as draft
June 24, 2026 12:13
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.
Description
This PR implements some code suggestions for the Structured API Layers PR that I came up with while reviewing the PR.
Merging this PR is not needed. It just one way to address the points in my code review (see below).
Can also cherry-pick these, or do something different/custom in the code, or leave unaddressed and just close this.
PR Review:
Changes