[CSR-2011] feat: allow reporting instance results in different requests #130
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR allows dividing the reporting of the instance results into multiple requests. Initially it is dividing the results if the array is more than 1MB in 1MB max parts.
The fullTestSuite is only part of the first createRun request.
IMPORTANT NOTE: While doing the tests with a really big amount of spec files (about 2k) and after some minutes after the run finished, I'm seeing this behavior:
This is much likely related to the redis OOM issue (CSR-1967). Checked with DJ this and it seems to be that, but we'll have to wait until those changes are merged and working to check again if this issue shows up again.
PR Checklist
Release Plan
Demo
https://www.loom.com/share/d547d24c6b16401a8178b5d8f5ad780a?sid=e03781a0-b548-4bc3-a980-c2884eb2d46e
Manual Testing