Skip to content

Conversation

@gilescope
Copy link

@gilescope gilescope commented Dec 20, 2025

Todo before merging:

  • Official release of EarthBuild needed (not just a prerelease)
  • earthly --version must state the version ( set version earthbuild#196 )

People should be able to point to this branch / latest commit on this branch to install EarthBuild via actions. (Makes sure prerelease = true is set in the action)

Manual Test works:

@github-actions
Copy link

github-actions bot commented Dec 20, 2025

🎉 Are we earthbuild yet?

Great progress! You've reduced "earthly" occurrences by 35 (53.85%)

📈 Overall Progress

Branch Total Count
main 65
This PR 30
Difference -35 (53.85%)

📁 Changes by file type:

File Type Change
Go files (.go) ➖ No change
Documentation (.md) ✅ -14
Earthfiles ❌ +1

Keep up the great work migrating from Earthly to Earthbuild! 🚀

💡 Tips for finding more occurrences

Run locally to see detailed breakdown:

./.github/scripts/count-earthly.sh

Note that the goal is not to reach 0.
There is anticipated to be at least some occurences of earthly in the source code due to backwards compatibility with config files and language constructs.

@gemini-code-assist
Copy link

Summary of Changes

Hello @gilescope, 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 implements a significant rebranding effort, transitioning the project's references from 'earthly' to 'EarthBuild'. The changes encompass updates to documentation, build configurations, and core source code to align with the new branding and repository structure. It also includes temporary adjustments to the version resolution logic to accommodate the current prerelease status of EarthBuild, with explicit notes for future stabilization.

Highlights

  • Rebranding to EarthBuild: All references to 'earthly' have been updated to 'EarthBuild' across the project, including documentation, configuration, and source code.
  • Repository and URL Updates: The GitHub repository links for the project and its dependencies have been adjusted to point to EarthBuild/earthbuild.
  • Temporary Prerelease Handling: The version fetching logic in src/setup.ts has been temporarily modified to force prerelease = true and target a specific v0.8.17-rc-0 version, awaiting an official stable release.
  • Test Suite Alignment: The get-version.test.ts file has been updated to reflect the new 0.8.17-rc-0 prerelease version and adjusted test cases accordingly.

🧠 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
  • Ignored by pattern: .github/workflows/** (2)
    • .github/workflows/test.yml
    • .github/workflows/update-major-version.yml
Using Gemini Code Assist

The 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 /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

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 .gemini/ folder in the base of the repository. Detailed instructions can be found here.

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

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request correctly updates most references from earthly to EarthBuild, pointing the action to the new repository. The changes in documentation, source code, and configuration files are mostly consistent with this goal. My review includes feedback on improving documentation consistency, handling temporary test changes more gracefully, and a critical reminder about hardcoded values that affect the action's functionality, which should be addressed before merging.

src/setup.ts Outdated
Comment on lines 57 to 58
const prerelease = true;
const range = "v0.8.17-rc-0"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

These hardcoded values for prerelease and range break the action's configurability via user inputs. While I see the TODO and understand this is for testing a pre-release, this is a significant temporary change. Please ensure this is reverted and the action correctly uses the version and prerelease inputs before this PR is merged.

jobs:
tests:
name: example earthly test
name: example earthbuild test

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For branding consistency, it would be better to use EarthBuild (PascalCase) instead of earthbuild (lowercase) throughout the documentation. The official name appears to be EarthBuild based on the repository name, action.yml, and package.json. This change should be applied consistently across the file on lines 34, 38, 41, 47, 50, 77, 79, and 80 as well.

Suggested change
name: example earthbuild test
name: example EarthBuild test

Comment on lines +12 to +15
// '*',
// '^0',
// '0.*.*',
// '0.8.*',

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

Instead of commenting out tests, consider using it.skip to temporarily disable them. This makes it clearer that the tests are being skipped intentionally and ensures they don't get forgotten, as test runners typically report skipped tests. This would be a better approach for all the commented-out tests in this file.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants