Skip to content

[stable35] fix(sync): detect idle documents again - #9699

Merged
mejo- merged 1 commit into
stable35from
backport/9698/stable35
Nov 25, 2026
Merged

mejo- merged 1 commit into
stable35from
backport/9698/stable35

Conversation

@mejo-

@mejo- mejo- commented Nov 25, 2026

Copy link
Copy Markdown
Member

Backport of #9698

Open editors never became idle, so a forgotten tab kept polling and kept its editing session forever. Since awareness updates are processed on every poll, every poll also reset the idle timer, even without any changes to the document.

Only changes to the document now reset the timer, so an editor disconnects again after a day without changes and offers to reconnect. Reconnecting starts the timer again.

Assisted-by: ClaudeCode:claude-opus-5-5

🏁 Checklist

  • Code is properly formatted (npm run lint / npm run stylelint / composer run cs:check)
  • Sign-off message is added to all commits
  • Tests (unit, integration and/or end-to-end) passing and the changes are covered with tests

🤖 AI (if applicable)

  • The content of this PR was partly or fully generated using AI tools
  • The AI-generated content was reviewed, comprehended and tested by a human

Open editors never became idle, so a forgotten tab kept polling and
kept its editing session forever. Since awareness updates are
processed on every poll, every poll also reset the idle timer, even
without any changes to the document.

Only changes to the document now reset the timer, so an editor
disconnects again after a day without changes and offers to reconnect.
Reconnecting starts the timer again.

Signed-off-by: Jonas <jonas@freesources.org>
Assisted-by: ClaudeCode:claude-opus-5-5
@mejo- mejo- self-assigned this Nov 25, 2026
@mejo- mejo- added the bug Something isn't working label Nov 25, 2026
@mejo- mejo- mentioned this pull request Nov 25, 2026
5 tasks done
@codecov

codecov Bot commented Nov 25, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

@mejo-
mejo- merged commit f6e1b24 into stable35 Nov 25, 2026
65 checks passed
@mejo-
mejo- deleted the backport/9698/stable35 branch November 25, 2026 16:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

3. to review bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant