potiuk commented on PR #52156:
URL: https://github.com/apache/airflow/pull/52156#issuecomment-3092348021

   > I think it is now ready for review, one small thing that's not great is it 
downloads all the dependencies before running (So it takes a little while for 
it to start up). Maybe that could be fixed, but I haven't looked into it yet.
   
   What you could potentially do is to mount a separate volume in a specific 
directory and configure GO (I guess via env variable) to store the cache for 
all those downloaded binaries in this folder. Such mounted volume will be 
preserve across breeze restarts, it could be deleted during `breeze down 
--cleanup-go-cache` . We do that with `pip/uv` cache folder and `mypy` cache 
folder already, you can take a blueprint from those.
   
   Some leads for you to look at it:
   
   * 
https://github.com/apache/airflow/blob/main/scripts/ci/docker-compose/mypy.yml 
-> where volume for mypy is defined
   * look for include_mypy_volume
   * eventually what happens in shell_params:
   ```python
           if self.include_mypy_volume:
               compose_file_list.append(DOCKER_COMPOSE_DIR / "mypy.yml")
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to