Skip to content

codeintel: Remove a full read from gitserver archive in inference service

Warren Gifford requested to merge ef/reduce-archive-memory into main

Created by: efritz

zip reader requires a size, which requires us to read the archive in full first. Instead, we can do a single stream read with the tar format.

Test plan

Existing unit tests, and ensured enqueueing and inference works in a local instance (to ensure tar format is correct outside of unit tests).

Merge request reports

Loading