Skip to content

Conversation

@dotansimha
Copy link
Member

@dotansimha dotansimha commented Aug 31, 2025

TODO

  • Fix Docker image default config
  • Initial install.sh
  • Rename gateway to router
  • Pass CI

Closes #366
Closes #362

Copy link
Contributor

@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.

Summary of Changes

Hello @dotansimha, 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 refactoring to standardize the naming of the core application from "gateway" to "router" throughout the project. This change aims to align the project's terminology with its evolving purpose and improve clarity. In addition to the widespread renaming, a new installation script has been introduced to streamline the setup process for users.

Highlights

  • Core Application Renaming: The primary application has been comprehensively renamed from "gateway" to "router" across the entire codebase, including binary names, package names, and internal references.
  • New Installation Script: A new install.sh script has been introduced to simplify the process of downloading and installing the router binary directly from GitHub releases, supporting Linux AMD64 and ARM64 architectures.
  • Configuration and Documentation Updates: All related configuration files, build scripts, Dockerfiles, and user-facing documentation (like READMEs and profiling guides) have been updated to reflect the new "router" terminology and remove outdated "gateway" references.
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 in your pull request via creating an issue comment (i.e. comment on the pull request page) using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands.

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 issue 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
Contributor

@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 is a significant refactoring that renames the project from gateway to router. The changes are extensive, touching many files, but they appear to be consistently applied throughout the codebase. Additionally, a new install.sh script has been added to facilitate binary installation. I've found a couple of issues: one in the new install.sh script that would prevent it from working, and another in the new Dockerfile which contains a misleading command.

@github-actions
Copy link

github-actions bot commented Aug 31, 2025

🐋 This PR was built and pushed to the following Docker images:

Image Names: ghcr.io/graphql-hive/router

Platforms: linux/amd64,linux/arm64

Image Tags: ghcr.io/graphql-hive/router:pr-368 ghcr.io/graphql-hive/router:sha-5353c16

Docker metadata
{
"buildx.build.ref": "builder-2f0d26bb-ad0f-4042-9477-6f359e480814/builder-2f0d26bb-ad0f-4042-9477-6f359e4808140/smbevqmc9twzo4gxbcbzsci5i",
"containerimage.descriptor": {
  "mediaType": "application/vnd.oci.image.index.v1+json",
  "digest": "sha256:ee71aa0baf187c05830501f09a261d915315c2f6f23c9f5393cd92d0e4a725c3",
  "size": 1609
},
"containerimage.digest": "sha256:ee71aa0baf187c05830501f09a261d915315c2f6f23c9f5393cd92d0e4a725c3",
"image.name": "ghcr.io/graphql-hive/router:pr-368,ghcr.io/graphql-hive/router:sha-5353c16"
}

@github-actions
Copy link

github-actions bot commented Aug 31, 2025

k6-benchmark results

     ✓ response code was 200
     ✓ no graphql errors
     ✓ valid response structure

     █ setup

     checks.........................: 100.00% ✓ 118959      ✗ 0    
     data_received..................: 3.5 GB  116 MB/s
     data_sent......................: 47 MB   1.5 MB/s
     http_req_blocked...............: avg=27.36µs  min=692ns   med=2.07µs  max=29.11ms  p(90)=3.06µs  p(95)=3.64µs  
     http_req_connecting............: avg=23.24µs  min=0s      med=0s      max=29.07ms  p(90)=0s      p(95)=0s      
     http_req_duration..............: avg=36.91ms  min=2.91ms  med=35.57ms max=203.8ms  p(90)=50.36ms p(95)=56.2ms  
       { expected_response:true }...: avg=36.91ms  min=2.91ms  med=35.57ms max=203.8ms  p(90)=50.36ms p(95)=56.2ms  
     http_req_failed................: 0.00%   ✓ 0           ✗ 39673
     http_req_receiving.............: avg=185.23µs min=27.98µs med=42.85µs max=94.81ms  p(90)=130.4µs p(95)=507.15µs
     http_req_sending...............: avg=77.96µs  min=6.16µs  med=11.88µs max=36.21ms  p(90)=20.63µs p(95)=119.92µs
     http_req_tls_handshaking.......: avg=0s       min=0s      med=0s      max=0s       p(90)=0s      p(95)=0s      
     http_req_waiting...............: avg=36.65ms  min=2.78ms  med=35.36ms max=191.14ms p(90)=49.92ms p(95)=55.62ms 
     http_reqs......................: 39673   1318.144351/s
     iteration_duration.............: avg=37.82ms  min=8.2ms   med=36.08ms max=447.98ms p(90)=50.97ms p(95)=56.87ms 
     iterations.....................: 39653   1317.479847/s
     vus............................: 50      min=50        max=50 
     vus_max........................: 50      min=50        max=50 

@github-actions
Copy link

github-actions bot commented Aug 31, 2025

GraphQL over HTTP Audit Results

61 tests  ±0   61 ✅ ±0   0s ⏱️ ±0s
 1 suites ±0    0 💤 ±0 
 1 files   ±0    0 ❌ ±0 

Results for commit 03983d1. ± Comparison against base commit a39b05f.

♻️ This comment has been updated with latest results.

@github-actions
Copy link

github-actions bot commented Aug 31, 2025

Federation Audit Results

189 tests  ±0   189 ✅ ±0   3s ⏱️ ±0s
 42 suites ±0     0 💤 ±0 
 42 files   ±0     0 ❌ ±0 

Results for commit 07cd708. ± Comparison against base commit a39b05f.

♻️ This comment has been updated with latest results.

@dotansimha dotansimha merged commit 95f8493 into main Aug 31, 2025
12 checks passed
@dotansimha dotansimha deleted the rename-stuff branch August 31, 2025 13:18
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.

install.sh script Update things to be referred as router

1 participant