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

feat: trigger latest build #340

Merged
merged 1 commit into from
Mar 18, 2024
Merged

feat: trigger latest build #340

merged 1 commit into from
Mar 18, 2024

Conversation

cgilbe27
Copy link
Contributor

@cgilbe27 cgilbe27 commented Mar 18, 2024

Triggers latest build
Updates index barrel
Adds steps in build script for no local nibiru repo

Summary by CodeRabbit

  • Chores
    • Improved the build process to ensure necessary directories are present.
  • Refactor
    • Reordered exports in the GraphQL queries module for better organization.

Copy link
Contributor

coderabbitai bot commented Mar 18, 2024

Walkthrough

The recent updates include a safeguard in the build script to clone a missing directory, ensuring the build process is robust against missing dependencies. Additionally, there's a reorganization in the GraphQL query module, optimizing the export order of functions for better usability or performance.

Changes

File Change Summary
scripts/build.sh Added a conditional block to clone nibiru directory if missing
src/gql/query/... Reordered exports of markPriceCandles and spotPoolSwap

Poem

In the codebase vast and wide,
A rabbit hops with agile stride.
🐇💻 With every commit, it does enhance,
A clone, a shift, a merry dance.
"To build, to query, let's advance!"
With every change, it takes a chance.
🌟 For progress, it does prance and chant.

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-tests 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 tests 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 tests.
    • @coderabbitai read the files in the src/scheduler package and generate a class diagram using mermaid and a README in the markdown format.

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 a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

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

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • 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/coderabbit-overrides.v2.json

CodeRabbit Discord Community

Join our Discord Community to get help, request features, and share feedback.

Copy link

Lines Statements Branches Functions
Coverage: 88%
90.22% (1265/1402) 79.79% (541/678) 78.22% (309/395)

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

Review Status

Actionable comments generated: 1

Configuration used: CodeRabbit UI

Commits Files that changed from the base of the PR and between 0ca0e40 and 30cd32b.
Files selected for processing (2)
  • scripts/build.sh (1 hunks)
  • src/gql/query/index.ts (1 hunks)
Additional comments: 2
src/gql/query/index.ts (2)
  • 13-13: The reordering of the markPriceCandles export is noted. This change seems aimed at improving the logical grouping or readability of the exports. Ensure that this reordering aligns with any internal conventions or guidelines for organizing module exports.
  • 22-22: Similarly, the reordering of the spotPoolSwap export is observed. As with the previous comment, ensure that this change adheres to any project-specific standards for organizing exports within modules.

scripts/build.sh Show resolved Hide resolved
@cgilbe27 cgilbe27 merged commit 866c603 into develop Mar 18, 2024
3 checks passed
@cgilbe27 cgilbe27 deleted the feat/trigger-latest branch March 18, 2024 19:26
cgilbe27 added a commit that referenced this pull request Mar 18, 2024
* refactor: adding contract type to user

* fix: tests

* test: fix

* feat: trigger latest build (#340)

---------

Co-authored-by: elshenak <[email protected]>
Co-authored-by: Calico Nino <[email protected]>
nibibot pushed a commit that referenced this pull request Mar 18, 2024
### [3.3.4](v3.3.3...v3.3.4) (2024-03-18)

### Miscellaneous Chores

* develop -> main ([#341](#341)) ([cae2d15](cae2d15)), closes [#340](#340)

 [skip ci]
nibibot pushed a commit that referenced this pull request Mar 19, 2024
## [4.0.0](v3.3.4...v4.0.0) (2024-03-19)

### Features

* trigger latest build ([#340](#340)) ([866c603](866c603))

### Bug Fixes

* tests ([00d98cb](00d98cb))

### Code Refactors

* adding contract type to user ([7857b2b](7857b2b))

### Tests

* fix ([a12ba71](a12ba71))

 [skip ci]
@nibibot
Copy link

nibibot commented Mar 19, 2024

🎉 This PR is included in version 4.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants