Skip to content

Fix wallet protocol bootstrap fanout#103

Merged
LiranCohen merged 1 commit into
mainfrom
fix/protocol-bootstrap-fanout
May 27, 2026
Merged

Fix wallet protocol bootstrap fanout#103
LiranCohen merged 1 commit into
mainfrom
fix/protocol-bootstrap-fanout

Conversation

@LiranCohen

Copy link
Copy Markdown
Contributor

Summary

  • install required identity protocols on every configured DWN endpoint instead of using first-success protocol.send()
  • bootstrap protocols before registering the identity for live sync, preventing Profile from racing ahead of SocialGraph on fresh tenants
  • add focused tests for create/import ordering and protocol endpoint fanout

Testing

  • bun run test
  • bun run build
  • bun run lint (passes with existing warnings)

@github-actions

Copy link
Copy Markdown

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 38.94% (🎯 25%) 775 / 1990
🔵 Statements 37.65% (🎯 25%) 840 / 2231
🔵 Functions 40.2% (🎯 30%) 232 / 577
🔵 Branches 35.34% (🎯 29%) 515 / 1457
File Coverage
File Stmts Branches Functions Lines Uncovered Lines
Changed Files
src/enbox/protocols.ts 82.35% 50% 100% 82.35% 56-58, 75-84
src/enbox/mutations/identity-mutations.ts 45.12% 20.45% 42.85% 46.83% 127-131, 136-140, 154, 176-251, 263, 290, 307-310
Generated in workflow #272 for commit 9f6baba by the Vitest Coverage Report Action

@LiranCohen LiranCohen merged commit fa1a9f1 into main May 27, 2026
4 checks passed
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