Skip to content

Conversation

@max-nextcloud
Copy link
Collaborator

📝 Summary

  • 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
  • Documentation is not required

@max-nextcloud
Copy link
Collaborator Author

/backport to stable26

@cypress
Copy link

cypress bot commented Mar 6, 2023

2 flaky tests on run #8907 ↗︎

0 140 0 0 Flakiness 2

Details:

fix: 403 when session is closed during push
Project: Text Commit: 1426e57680
Status: Passed Duration: 03:46 💡
Started: Mar 6, 2023 10:20 AM Ended: Mar 6, 2023 10:24 AM
Flakiness  sync.spec.js • 1 flaky test

View Output Video

Test Artifacts
Sync > recovers from a lost connection Output Screenshots
Flakiness  share.spec.js • 1 flaky test

View Output Video

Test Artifacts
Open test.md in viewer > Share a file with download disabled shows an error Output Screenshots

This comment has been generated by cypress-bot as a result of this project's GitHub integration settings.

return new DataResponse([], 403);
}
try {
$this->sessionService->updateSessionAwareness($documentId, $sessionId, $sessionToken, $awareness);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the long term maybe we should only fetch the session once and pass it along on further calls, but for now this change seems good 👍

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.

Session is invalid exception should only be a warning/info level

3 participants