Skip to content

refactor: split operation chain and perfect negotiation out of PeerImpl - #507

Merged
devopvoid merged 1 commit into
mainfrom
refactor/peer-operation-chain
Nov 1, 2026
Merged

devopvoid merged 1 commit into
mainfrom
refactor/peer-operation-chain

Conversation

@devopvoid

Copy link
Copy Markdown
Owner

Splits PeerImpl along its responsibilities, without changing behavior:

  • OperationChain: the operations chain, with the operation timeout, the rollback after it and giving up the peer when that fails.
  • NegotiationSteps: the native negotiation calls as steps of the chain, held candidates, waiting for gathering.
  • PerfectNegotiation: the automatic negotiation and its collision handling.

All stay confined to the control executor. OperationChainTests covers the chain without native code.

@devopvoid
devopvoid merged commit 8665683 into main Nov 1, 2026
22 checks passed
@devopvoid
devopvoid deleted the refactor/peer-operation-chain branch November 1, 2026 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant