Repository navigation
Keep OOBI startup alive while its peer is not listening - #40
Merged
Merged
Conversation
Contain the pinned HIO initial-connect race: connect_ex can report success before getpeername raises EINVAL or ENOTCONN on an unconnected socket. Reopen only that socket and retain the queued OOBI GET. Preserve native KERIpy resolver ownership and retry/validation semantics; established-connection and TLS errors still propagate. Exercise actual late-starting OOBI servers and accepted-key-state gating. Update both recovery-fixture receiver callers to supply the authorized producer and its key-state readiness predicate. No assertions or parameter matrices are removed. Validation: all seven delayed/immediate OOBI and commit-gap cases pass. This follows the early-merged OOBI PR; the final installed-wheel suite and paired qualification will run on the coordinated fix revisions before closure.
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.
Initial OOBI connections to a peer that has not started can raise EINVAL/ENOTCONN from pinned HIO’s getpeername path and stop the scheduler. Retain the native KERIpy resolver/client ownership and reopen only that unconnected socket, preserving its queued GET. Established-connection and TLS errors still propagate.
Use that narrow OOBI client adapter in runtime and fixture startup. Repair the two recovery-fixture callers missed in #39. Extend real OOBI coverage to late-starting servers without removing any assertions or original scenarios.
Validation: 7 focused real OOBI/commit-gap cases passed, including immediate/delayed availability and declared-AID key-state gating. Full final installed-wheel and paired qualification are running before merge. This closes qualification findings from early-merged #39; the first candidate is not counted as qualified.
Final validation: fresh installed-wheel suite passed locally (258 tests) and in CI. The maintained paired workflow passed at the exact coordinated source pins and matching Oracle wheel hash, preserving witnessed issuance, nonce rejection, lost-response retry, restart, replacement, revocation/withdrawal and actual token-balance assertions. Existing dependency warnings remain.