Conversation
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request modifies the Docker configuration for the Highlights
🧠 New Feature in Public Preview: You can now enable Memory to help Gemini Code Assist learn from your team's feedback. This makes future code reviews more consistent and personalized to your project's style. Click here to enable Memory in your admin console. Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension. Footnotes
|
There was a problem hiding this comment.
Code Review
This pull request modifies the Docker build process to use a remote GitHub repository as the build context. This introduces a critical dependency on a personal fork, which compromises build stability and reproducibility. A related change in the Dockerfile adjusts a file path to accommodate the new build context, but this breaks local build workflows. I've recommended reverting both changes to maintain a robust and self-contained build process.
| build: | ||
| context: https://github.com/kevinjqliu/iceberg-python.git#kevinjqliu/build-docker-from-github | ||
| dockerfile: dev/spark/Dockerfile |
There was a problem hiding this comment.
Building the Docker image from a personal GitHub repository URL introduces a significant risk to the project's stability and reproducibility. This configuration makes the build process dependent on an external fork (kevinjqliu/iceberg-python) and a specific branch that is outside the control of this project's maintainers. If the repository is removed, made private, or the branch is altered, the build will fail. It's strongly recommended to use a local build context to ensure that the build relies only on the code within this repository.
build: spark/|
|
||
| # Copy configuration last (changes more frequently than JARs) | ||
| COPY --chown=spark:spark spark-defaults.conf ${SPARK_HOME}/conf/ | ||
| COPY --chown=spark:spark dev/spark/spark-defaults.conf ${SPARK_HOME}/conf/ |
There was a problem hiding this comment.
This path change is coupled with the modification in docker-compose-integration.yml to build from a Git URL. While it makes that specific build work, it breaks the ability to build this Docker image locally using a command like docker build dev/spark, as the path dev/spark/spark-defaults.conf will not be found within the dev/spark build context. This change should be reverted along with the change in docker-compose-integration.yml to maintain support for local builds.
COPY --chown=spark:spark spark-defaults.conf ${SPARK_HOME}/conf/
Rationale for this change
Are these changes tested?
Are there any user-facing changes?