Skip to content

Add additional LSIF file size information from workhorse

What does this MR do and why?

Add additional LSIF file size information from workhorse

This adds additional logging in workhorse to help determine the file size of the generated LSIF artifacts. It also adds additional output when the 413 error is returned to provide the size of the generated artifact.

References

Resolves: #577042 (closed)

Screenshots or screen recordings

Before:

ERROR: Uploading artifacts as "lsif" to coordinator... 413 Request Entity Too Large

After:

ERROR: Uploading artifacts as "lsif" to coordinator... 413 the upload size 10485760 is over maximum of 10000000 bytes (LSIF processing may have increased file size): entity is too large

How to set up and validate locally

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Merge request reports

Loading