NEC-106: awareness-coalescing asserts frame counts after a fixed sleep, and fails under load #170
No reviewers
Labels
No labels
area:docs
area:identity
area:ops
area:plugin
area:server
channel:community
channel:direct
channel:owned
channel:press
channel:social
e2ee-constrained
gate:at-ga
gate:pre-ga
marketing
parity
relay:absent
relay:planned
relay:requested
relay:supported
risk:additive
risk:contract
risk:none
usability
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Nectenda/nectenda!170
Loading…
Reference in a new issue
No description provided.
Delete branch "worktree-nec-106-awareness-coalescing-asserts-frame-count"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Task: NEC-106 — https://projectron.nerchure.com/tasks/106
awareness-coalescing.test.ts turned main red on
bfbd223, a commit that touched no server code: it sent a burst of cursor moves, slept a fixed 150 ms, and counted frames. The tests now freeze the server's awareness tick and Date with vitest fake timers and replace every sleep with ping/pong barriers (sender first), so no assertion depends on how long anything takes, and 'sent at once' is told apart from 'sent at the next tick' exactly. Seven mutations of ws-server.ts each fail the test named for them. Under 60 busy processes and six suites at once, the old file failed 1 of 24 and the new one 0 of 24. Test-only; SAFE-B4 and WIRE-061 unchanged.Spec:
docs/changes/NEC-106-awareness-coalescing-timing/spec.mdChangelog
NONE