ci: release#7
Conversation
Summary of ChangesHello @janishorsts, 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 focuses on enhancing the continuous integration and delivery pipeline for the EarthBuild Homebrew formula. It introduces a dedicated 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. Ignored Files
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 updates the earth Homebrew formula for a new release and adds an Earthfile for CI. The formula update is mostly good, with style improvements and new Linux bottles. The new caveats section is a great addition. However, I've found a critical issue in the Earthfile where brew audit is called with invalid flags, which will cause the CI to fail. I've also suggested a couple of improvements in the formula file: one to make the bottle block more concise, and another to align the test command with the user-facing earthly command.
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
Signed-off-by: Giles Cope <gilescope@gmail.com>
|
/gemini review |
There was a problem hiding this comment.
Code Review
This pull request migrates the earth Homebrew formula from a source-built Go formula to a binary-only distribution for macOS and Linux, updates CI/CD configurations, and adds a helper script to automate checksum updates. Feedback focuses on making the checksum update script more robust by handling pre-release versions, adding network timeouts, stripping leading asterisks from checksum filenames, and escaping regex curly braces. Additionally, the brew fetch command in the Earthfile should be updated to remove the --build-from-source flag since the formula no longer compiles from source.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
This PR migrates the tap from a source-building bottle distribution to a binary-only distribution, fetching precompiled release assets directly from GitHub Releases.
Key Changes
Formula/earth.rbto fetch precompiled binaries for macOS and Linux (Intel and ARM64). Removed the Go compilation dependency.Earthfile.versionstring in the formula and enableautomerge: truefor releases.Releaseworkflow that runs when Renovate opens a release PR. It fetches the new checksums from thechecksum.ascrelease asset, updates the formula, and commits it back.ci.yamlto run tests on incoming PRs.