Skip to content

Conversation

@gohabereg
Copy link
Member

Until we implement some database for OT server we need to manage memory usage

  • When a new client connects to the server, it passes it's document state
  • If it's the first client for the document, OT server initalizes the document with passed state
  • If it's no the first client, OT sends the document current state to the client

Also added Dockerfile and compose config for OT server

@github-actions
Copy link

github-actions bot commented Apr 10, 2025

⏭️ No files to mutate for ./packages/dom-adapters

@github-actions
Copy link

github-actions bot commented Apr 10, 2025

⏭️ No files to mutate for ./packages/model

@github-actions
Copy link

github-actions bot commented Apr 10, 2025

Coverage report for ./packages/dom-adapters

St.
Category Percentage Covered / Total
🟢 Statements 100% 0/0
🟢 Branches 100% 0/0
🟢 Functions 100% 0/0
🟢 Lines 100% 0/0

Test suite run success

1 tests passing in 1 suite.

Report generated by 🧪jest coverage report action from f0cb600

@github-actions
Copy link

github-actions bot commented Apr 10, 2025

Coverage report for ./packages/model

St.
Category Percentage Covered / Total
🟢 Statements
99.76% (+0% 🔼)
818/820
🟢 Branches 98.65% 220/223
🟢 Functions
98.51% (+0.01% 🔼)
199/202
🟢 Lines
99.75% (+0% 🔼)
787/789

Test suite run success

421 tests passing in 25 suites.

Report generated by 🧪jest coverage report action from f0cb600

@github-actions
Copy link

github-actions bot commented Apr 10, 2025

Coverage report for ./packages/collaboration-manager

St.
Category Percentage Covered / Total
🟡 Statements
67.51% (-0.84% 🔻)
160/237
🟢 Branches
80% (-1.33% 🔻)
60/75
🔴 Functions
57.14% (-1.68% 🔻)
20/35
🟡 Lines
67.52% (-0.85% 🔻)
158/234
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟢 CollaborationManager.ts
83.82% (-2.94% 🔻)
73.91% (-4.35% 🔻)
62.5% (-8.93% 🔻)
83.82% (-2.94% 🔻)

Test suite run success

67 tests passing in 4 suites.

Report generated by 🧪jest coverage report action from f0cb600

@github-actions
Copy link

github-actions bot commented Apr 10, 2025

Coverage report for ./packages/ot-server

St.
Category Percentage Covered / Total
🟡 Statements
70.97% (-2.37% 🔻)
22/31
🔴 Branches 20% 1/5
🟡 Functions
75% (-10.71% 🔻)
6/8
🟡 Lines
68.97% (-2.46% 🔻)
20/29
Show files with reduced coverage 🔻
St.
File Statements Branches Functions Lines
🟡 DocumentManager.ts
70.97% (-2.37% 🔻)
20%
75% (-10.71% 🔻)
68.97% (-2.46% 🔻)

Test suite run success

4 tests passing in 1 suite.

Report generated by 🧪jest coverage report action from f0cb600

@gohabereg gohabereg enabled auto-merge April 10, 2025 18:19
@gohabereg gohabereg added this pull request to the merge queue Apr 10, 2025
Merged via the queue into main with commit 79e7d1b Apr 10, 2025
18 checks passed
@gohabereg gohabereg deleted the feature/ot-server-memory-management branch April 10, 2025 18:43
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.

4 participants