Skip to content

refactor: replace comment read receipts with per-task cursors - #659

Open
b0ink wants to merge 2 commits into
doubtfire-lms:11.0.xfrom
b0ink:refactor/read-receipt-cursor
Open

refactor: replace comment read receipts with per-task cursors#659
b0ink wants to merge 2 commits into
doubtfire-lms:11.0.xfrom
b0ink:refactor/read-receipt-cursor

Conversation

@b0ink

@b0ink b0ink commented Jul 28, 2026

Copy link
Copy Markdown
Member

Actual unit 12 measurements:

Metric Old receipts New cursors
Rows 25,751,861 2,285,027
Rows per task 823 73
Reduction 91.1%
Improvement 11.3× fewer rows
Table Data + indexes
Old receipts 5.29 GB
New cursors 632 MB
Reduction 88.1%

TODO: Automated comments break this cursor design - OnTrack should have a "SYSTEM" user account that all automated comments send from. Eg. overseer assessment reports, task status updates (only automated task status updates?), project plan comments? anything that currently automatically gets marked as read by the receipient should be from the SYSTEM

Notifications might be a solution or missed comments, but i dont think tutors will receive notifications for tasks..

@sonarqubecloud

Copy link
Copy Markdown

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