Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/namespace #2891

Merged
merged 21 commits into from
Jul 18, 2024
Merged

Fix/namespace #2891

merged 21 commits into from
Jul 18, 2024

Conversation

trajan0x
Copy link
Contributor

@trajan0x trajan0x commented Jul 18, 2024

Description
A clear and concise description of the features you're adding in this pull request.

Additional context
Add any other context about the problem you're solving.

Metadata

  • Fixes #[Link to Issue]

Summary by CodeRabbit

  • Chores

    • Updated GitHub Actions workflows to optimize tag fetching and environment setup.
  • Documentation

    • Added whitespace in core/README.md for improved readability.
  • Style

    • Minor formatting improvement in service handler code for better readability.
  • Infrastructure

    • Updated Dockerfile to install a script and set environment variables.

@github-actions github-actions bot added M-ci Module: CI go Pull requests that update Go code size/s labels Jul 18, 2024
Copy link
Contributor

coderabbitai bot commented Jul 18, 2024

Caution

Review failed

The pull request is closed.

Walkthrough

The recent changes primarily focus on the optimization and enhancement of GitHub Actions workflows for Go and GoReleaser, including the addition of parameters and environmental adjustments. Additionally, minor modifications were made to the core README and a Dockerfile, along with a trivial cleanup in a service handler.

Changes

File Change Summary
.github/workflows/go.yml Added fetch-tags: 'false' parameter to job filter_go to control tag fetching.
.github/workflows/goreleaser-actions.yml Modified runner environment, changed checkout steps, removed submodules fetching, and added step to obtain the branch name.
core/README.md Added whitespace in the Directory Structure section.
docker/goreleaser/Dockerfile Added commands for downloading and installing a script, and setting environment variables.
services/rfq/guard/service/handlers.go Removed an unnecessary newline (line with only a hyphen).

Sequence Diagram(s)

Changes are mostly configuration and minor code adjustments; no significant control flow modifications were introduced.

Poem

In workflows fine, the tags now stay,
With scripts installed in Docker's bay.
Environment set, branch name we know,
A cleaner code, begins to show.
A rabbit's hop through lines of grace,
Optimizing with a swift embrace. 🐇


Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?

Share
Tips

Chat

There are 3 ways to chat with CodeRabbit:

  • Review comments: Directly reply to a review comment made by CodeRabbit. Example:
    • I pushed a fix in commit <commit_id>.
    • Generate unit testing code for this file.
    • Open a follow-up GitHub issue for this discussion.
  • Files and specific lines of code (under the "Files changed" tab): Tag @coderabbitai in a new review comment at the desired location with your query. Examples:
    • @coderabbitai generate unit testing code for this file.
    • @coderabbitai modularize this function.
  • PR comments: Tag @coderabbitai in a new PR comment to ask questions about the PR branch. For the best results, please provide a very specific query, as very limited context is provided in this mode. Examples:
    • @coderabbitai generate interesting stats about this repository and render them as a table.
    • @coderabbitai show all the console.log statements in this repository.
    • @coderabbitai read src/utils.ts and generate unit testing code.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.
    • @coderabbitai help me debug CodeRabbit configuration file.

Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger an incremental review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai full review to do a full review from scratch and review all the files again.
  • @coderabbitai summary to regenerate the summary of the PR.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai configuration to show the current CodeRabbit configuration for the repository.
  • @coderabbitai help to get help.

Additionally, you can add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Configuration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • Please see the configuration documentation for more information.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/schema.v2.json

Documentation and Community

  • Visit our Documentation for detailed information on how to use CodeRabbit.
  • Join our Discord Community to get help, request features, and share feedback.
  • Follow us on X/Twitter for updates and announcements.

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

  • Added empty line in core/README.md for improved readability
  • Removed blank line in services/rfq/guard/service/handlers.go for minor formatting

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

Copy link

cloudflare-workers-and-pages bot commented Jul 18, 2024

Deploying sanguine-fe with  Cloudflare Pages  Cloudflare Pages

Latest commit: 15fbd46
Status: ✅  Deploy successful!
Preview URL: https://e9686ca5.sanguine-fe.pages.dev
Branch Preview URL: https://fix-namespace.sanguine-fe.pages.dev

View logs

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

(updates since last review)

No major changes found since last review.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

Based on the provided information, here is a summary of the most recent changes to the synapsecns/sanguine repository:

  • Fixed explorer link in synapse-interface package (version 0.28.6)
  • Added destination address screener middleware to synapse-interface (version 0.28.0)
  • Fixed max gas estimates in synapse-interface (version 0.27.2)
  • Added SDK bridge quote chainID validation to synapse-interface (version 0.27.0)
  • Added refresh stale quotes functionality to synapse-interface (version 0.26.0)
  • Upgraded wagmi, viem, rainbowkit to support smart wallets in synapse-interface (version 0.25.0)

The most significant changes appear to be:

  • Adding destination address screening middleware
  • Implementing refresh of stale quotes
  • Upgrading key dependencies to support smart wallets

These changes seem focused on improving the functionality, security and compatibility of the synapse-interface package. No major changes were noted for other parts of the repository in the provided changelog excerpts.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@github-actions github-actions bot added size/xs and removed size/s labels Jul 18, 2024
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

(updates since last review)

No major changes found since last review.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

Based on the provided information, here's a summary of the most recent changes to the synapsecns/sanguine repository:

  • Fixed explorer link in synapse-interface package (version 0.28.6)
  • Added destination address screener middleware to synapse-interface (version 0.28.0)
  • Fixed max gas estimates in synapse-interface (version 0.27.2)
  • Added SDK bridgequote chainID validation to synapse-interface (version 0.27.0)
  • Implemented refresh stale quotes feature in synapse-interface (version 0.26.0)
  • Upgraded wagmi, viem, rainbowkit to support smartwallet in synapse-interface (version 0.25.0)

The changes are primarily focused on improvements and bug fixes to the synapse-interface package, which is likely the frontend for interacting with the Synapse bridge. No major changes were found in other parts of the repository based on the provided information.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

  • Updated bridging workflow diagram in /packages/sdk-router/puml/bridging_simple.puml
  • Simplified representation of Synapse SDK bridging process
  • Clarified token flow between Origin and Destination chains
  • Added color-coding for better visual distinction of components
  • Included notes explaining key steps in the bridging process

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

Copy link

codecov bot commented Jul 18, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 23.94439%. Comparing base (a9c1073) to head (15fbd46).
Report is 1 commits behind head on master.

Additional details and impacted files
@@                 Coverage Diff                 @@
##              master       #2891         +/-   ##
===================================================
- Coverage   24.24166%   23.94439%   -0.29728%     
===================================================
  Files            613         628         +15     
  Lines          47373       48408       +1035     
  Branches          80          80                 
===================================================
+ Hits           11484       11591        +107     
- Misses         34738       35667        +929     
+ Partials        1151        1150          -1     
Flag Coverage Δ
cctp-relayer 31.97848% <ø> (ø)
core 60.15156% <ø> (+0.69466%) ⬆️
git-changes-action 23.69615% <ø> (ø)
omnirpc 33.23904% <ø> (ø)
opbot 0.18564% <ø> (ø)
promexporter 8.50242% <ø> (?)
screener-api 29.29293% <ø> (-0.50506%) ⬇️
tools 30.55118% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

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

(updates since last review)

  • Updated /packages/sdk-router/puml/bridging_simple.puml diagram
  • Simplified Synapse SDK bridging process visualization
  • Added color-coding for component distinction
  • Included notes explaining key bridging steps
  • Clarified token flow between Origin and Destination chains

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

No major changes found since last review.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

Based on the provided information, here's a summary of the most recent changes to the synapsecns/sanguine repository:

  • Fixed explorer link in synapse-interface package (version 0.28.6)
  • Added destination address screener middleware to synapse-interface (version 0.28.0)
  • Fixed max gas estimates in synapse-interface (version 0.27.2)
  • Added SDK bridgequote chainID validation to synapse-interface (version 0.27.0)
  • Implemented refresh stale quotes feature in synapse-interface (version 0.26.0)
  • Upgraded wagmi, viem, rainbowkit to support smartwallet in synapse-interface (version 0.25.0)

The changes are primarily focused on improvements and bug fixes to the synapse-interface package, which is likely the frontend for interacting with the Synapse bridge. No major changes were found in other parts of the repository based on the provided information.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

  • Updated bridging workflow diagram in /packages/sdk-router/puml/bridging_simple.puml
  • Simplified representation of Synapse SDK bridging process
  • Clarified token flow between Origin and Destination chains
  • Added color-coding for better visual distinction of components
  • Included notes explaining key steps in the bridging process

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

  • Updated bridging workflow diagram in /packages/sdk-router/puml/bridging_simple.puml
  • Simplified representation of Synapse SDK bridging process
  • Clarified token flow between Origin and Destination chains
  • Added color-coding for better visual distinction of components
  • Included notes explaining key steps in the bridging process

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

  • Updated bridging workflow diagram in /packages/sdk-router/puml/bridging_simple.puml
  • Simplified representation of Synapse SDK bridging process
  • Clarified token flow between Origin and Destination chains
  • Added color-coding for better visual distinction of components
  • Included notes explaining key steps in the bridging process

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

Here are the key points summarizing the changes in this pull request, focusing on the most important aspects:

  • Simplified Namespace CLI installation in docker/goreleaser/Dockerfile
  • Removed installation to user's home directory
  • Now installs Namespace directly to /usr/local/bin
  • Ensures system-wide availability of the tool

No major changes found since last review.

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

  • Added Namespace CLI tool to /usr/local/bin in docker/goreleaser/Dockerfile
  • Ensures system-wide availability of Namespace tool in GoReleaser Docker image

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

  • Added Namespace CLI to /usr/local/bin in docker/goreleaser/Dockerfile
  • Set NS_ROOT environment variable
  • Updated PATH to include Namespace CLI
  • Enables Namespace CLI usage within Docker container

1 file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

  • Added Namespace CLI to /usr/local/bin in docker/goreleaser/Dockerfile
  • Set NS_ROOT environment variable
  • Updated PATH to include Namespace CLI
  • Enables Namespace CLI usage within Docker container

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

No major changes found since last review.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

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

(updates since last review)

Based on the provided information, here is a summary of the most recent changes to the synapsecns/sanguine repository:

  • Fixed explorer link in synapse-interface package (version 0.28.6)
  • Added destination address screener middleware to synapse-interface (version 0.28.0)
  • Fixed max gas estimates in synapse-interface (version 0.27.2)
  • Added SDK bridge quote chainID validation to synapse-interface (version 0.27.0)
  • Added refresh stale quotes functionality to synapse-interface (version 0.26.0)
  • Upgraded wagmi, viem, rainbowkit to support smart wallets in synapse-interface (version 0.25.0)

The changes are primarily focused on improvements and fixes to the synapse-interface package, which is the frontend used to interact with the Synapse bridge. The updates include bug fixes, new features, and dependency upgrades to enhance functionality and user experience.

No file(s) reviewed, no comment(s)
Edit PR Review Bot Settings

@trajan0x trajan0x merged commit ad43b04 into master Jul 18, 2024
66 checks passed
@trajan0x trajan0x deleted the fix/namespace branch July 18, 2024 04:16
@trajan0x trajan0x restored the fix/namespace branch July 18, 2024 04:16
@trajan0x trajan0x deleted the fix/namespace branch July 18, 2024 04:29
@trajan0x trajan0x restored the fix/namespace branch July 18, 2024 04:29
trajan0x added a commit that referenced this pull request Jul 18, 2024
trajan0x added a commit that referenced this pull request Jul 18, 2024
@github-actions github-actions bot deleted the fix/namespace branch October 20, 2024 02:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
go Pull requests that update Go code M-ci Module: CI M-docker needs-go-generate-services/rfq size/xs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant