Skip to content

[Speedup] Ventis build currently copying all python files over in an agent container #59

Description

@Saaketh0

Currently, when creating an container to run the agent in, every python file is copied over into the container, regardless of if it is even called.

I propose implementing a quick import traversal algorithm during each specific container build phase, traversing from the main file being used in that image, and going down each import/dependency it has and adding only the files that are directly called upon. This would exclude any python files that would not be called by the specific agent.

This would reduce image sizes, speeding up transfer times as well as reducing space taken up by images.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions