Skip to content

[CCIP-12413] fix(loop): don't hold client conn lock while dialing#2250

Closed
makramkd wants to merge 1 commit into
mainfrom
mk/loop-client-lock-hold
Closed

[CCIP-12413] fix(loop): don't hold client conn lock while dialing#2250
makramkd wants to merge 1 commit into
mainfrom
mk/loop-client-lock-hold

Conversation

@makramkd

@makramkd makramkd commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Ticket w/ detailed explanation: https://smartcontract-it.atlassian.net/browse/CCIP-12413

Requires

Supports

- Dial outside clientConn.mu so an in-flight refresh no longer
  blocks concurrent callers reading a still-valid connection
- Serialize refreshes via a context-aware lock so a caller with a
  deadline aborts instead of waiting out another slow/stuck refresh
- Assign cc/deps under the lock only once dialing succeeds, avoiding
  deps left pointing at closed resources on a failed dial
@github-actions

Copy link
Copy Markdown
Contributor

📊 API Diff Results

No changes detected for module github.com/smartcontractkit/chainlink-common

View full report

@makramkd makramkd changed the title fix(loop): don't hold client conn lock while dialing [CCIP-12413] fix(loop): don't hold client conn lock while dialing Jul 14, 2026
@makramkd makramkd closed this Jul 14, 2026
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