Skip to content

Conversation

@NathanFlurry
Copy link
Member

Changes

Copy link
Member Author

NathanFlurry commented Apr 7, 2025


How to use the Graphite Merge Queue

Add the label merge-queue to this PR to add it to the merge queue.

You must have a Graphite account in order to use the merge queue. Sign up using this link.

An organization admin has enabled the Graphite Merge Queue in this repository.

Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue.

This stack of pull requests is managed by Graphite. Learn more about stacking.

Copy link

@greptile-apps greptile-apps bot left a comment

Choose a reason for hiding this comment

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

PR Summary

This PR disables the hub build in Docker containers and refines the build script to only build hub assets when explicitly requested via RIVET_BUILD_HUB=1.

  • In /docker/universal/Dockerfile, RIVET_BUILD_HUB is now set to 0 during the cargo build step.
  • In /packages/common/hub-embed/build.rs, the hub build logic uses an explicit check for '1' to conditionally trigger the hub build.
  • The changes ensure an empty dist directory when the hub build is disabled, avoiding unintended asset embedding.

2 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings | Greptile

@graphite-app
Copy link
Contributor

graphite-app bot commented Apr 7, 2025

Merge activity

  • Apr 7, 6:10 AM EDT: NathanFlurry added this pull request to the Graphite merge queue.
  • Apr 7, 6:11 AM EDT: CI is running for this pull request on a draft pull request (#2322) due to your merge queue CI optimization settings.
  • Apr 7, 6:12 AM EDT: Merged by the Graphite merge queue via draft PR: #2322.

graphite-app bot pushed a commit that referenced this pull request Apr 7, 2025
<!-- Please make sure there is an issue that this PR is correlated to. -->

## Changes

<!-- If there are frontend changes, please include screenshots. -->
@graphite-app graphite-app bot closed this Apr 7, 2025
@graphite-app graphite-app bot deleted the 04-07-chore_disable_building_hub_in_docker_container branch April 7, 2025 10:12
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