Open ash211 opened 6 months ago
IntelliJ provides strings chunked to 8k, and this library avoids attempting to connect those segments in order to avoid complexity (we’d need to set a limit somewhere, and memory costs would become potentially high if we weren’t careful). Ideally we should print what we have buffered without modification without creating additional noise
What happened?
While running an internal repo's tests locally in IntelliJ, I recently observed this stacktrace (redacted by replacing with
x
to preserve lengths):It appears like something is truncating this JSON object at 8K characters, and then the JSON fails to parse with this message:
What did you want to happen?
The JSON to not get truncated, and there to be no exception. I'm not sure where this truncation is happening, it might not even be an issue with code in this repo.
There doesn't appear to be anything unusual with that message's log statement, logged from only one callsite internally.
Failed to detect environment type, disabling rubix only features.