Skip to content

Make cloud logs replayable upon (re) connection#1809

Merged
255kb merged 1 commit intomainfrom
feature/1807-cloud-logs-replay
Aug 5, 2025
Merged

Make cloud logs replayable upon (re) connection#1809
255kb merged 1 commit intomainfrom
feature/1807-cloud-logs-replay

Conversation

@255kb
Copy link
Member

@255kb 255kb commented Aug 5, 2025

  • Move message queue logic outside of SSE class
  • Limit max displayed logs to 1000
  • fetch max logs from SSE /events endpoint upon connection Closes Logs replay in cloud #1807

Technical implementation details

Checklist

  • data migration added (@mockoon/commons)
  • commons lib tests added (@mockoon/commons)
  • commons-server lib tests added (@mockoon/commons-server)
  • CLI tests added (@mockoon/cli)
  • desktop UI automated tests added (@mockoon/app)

Closes #1807

- Move message queue logic outside of SSE class
- Limit max displayed logs to 1000
- fetch max logs from SSE /events endpoint upon connection
- do not process transaction logs if the timestamp already exists to avoid duplicated logs in the view
Closes #1807
@255kb 255kb force-pushed the feature/1807-cloud-logs-replay branch from 99f375c to 5896ca0 Compare August 5, 2025 09:27
@255kb 255kb merged commit bbe39b8 into main Aug 5, 2025
19 checks passed
@255kb 255kb deleted the feature/1807-cloud-logs-replay branch August 5, 2025 10:05
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.

Logs replay in cloud

1 participant