Skip to content

chore: update bifrost/core dependency to v1.1.5#116

Merged
Pratham-Mishra04 merged 1 commit intomainfrom
06-24-chore_updated_core_to_v_1.1.5_in_transports_and_tests
Jun 24, 2025
Merged

chore: update bifrost/core dependency to v1.1.5#116
Pratham-Mishra04 merged 1 commit intomainfrom
06-24-chore_updated_core_to_v_1.1.5_in_transports_and_tests

Conversation

@Pratham-Mishra04
Copy link
Copy Markdown
Collaborator

Update Bifrost Core to v1.1.5

This PR updates the Bifrost Core dependency from v1.1.4 to v1.1.5 across multiple test modules and transports. The update includes:

  • Replaced metoro-io/mcp-golang with mark3labs/mcp-go v0.32.0
  • Added new dependencies like google/uuid, spf13/cast, and yosida95/uritemplate/v3
  • Removed several unused dependencies including Gin framework components
  • Updated the PrometheusPlugin.PreHook method signature in tracking/plugin.go to use *schemas.PluginShortCircuit instead of *schemas.BifrostResponse
  • Updated the Maxim plugin from v1.0.5 to v1.0.6

These changes align the codebase with the latest core functionality while reducing dependency bloat.

Copy link
Copy Markdown
Collaborator Author

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

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Jun 24, 2025

Caution

Review failed

The pull request is closed.

Summary by CodeRabbit

  • Chores

    • Updated core module and plugin dependencies to newer versions.
    • Streamlined and reduced the number of indirect dependencies for improved maintainability.
  • Refactor

    • Adjusted a plugin method signature to enhance compatibility with updated dependencies. No changes to user-facing behavior.

Summary by CodeRabbit

  • Chores
    • Updated core dependencies to newer versions, resulting in a streamlined and reduced set of indirect dependencies across multiple modules.
  • Refactor
    • Adjusted internal plugin method signatures to align with updated dependency interfaces.

Walkthrough

This update modifies dependency management across several Go modules, upgrading github.com/maximhq/bifrost/core and github.com/maximhq/bifrost/plugins/maxim to newer versions. It also prunes and updates indirect dependencies, and changes the return type of the PreHook method in the PrometheusPlugin struct.

Changes

File(s) Summary of Changes
tests/core-chatbot/go.mod, tests/core-providers/go.mod Updated github.com/maximhq/bifrost/core version; pruned and updated indirect dependencies.
transports/go.mod Upgraded github.com/maximhq/bifrost/core and github.com/maximhq/bifrost/plugins/maxim; pruned indirect deps.
transports/bifrost-http/tracking/plugin.go Changed PrometheusPlugin.PreHook method signature to return *PluginShortCircuit instead of *BifrostResponse.

Sequence Diagram(s)

sequenceDiagram
    participant Client
    participant PrometheusPlugin
    participant Context

    Client->>PrometheusPlugin: PreHook(ctx, req)
    PrometheusPlugin->>Context: Set start time and method type
    PrometheusPlugin-->>Client: (*BifrostRequest, *PluginShortCircuit, error)
Loading

Possibly related PRs

Suggested reviewers

  • akshaydeo
  • danpiths

Poem

Hop, hop, the modules grow light,
Old dependencies pruned from sight.
Plugins refreshed, their hooks anew,
With cleaner code, we hop right through!
A bunny’s cheer for code so neat—
Dependency gardens, trimmed and sweet.
🐇✨


📜 Recent review details

Configuration used: CodeRabbit UI
Review profile: ASSERTIVE
Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between b3b3d93 and 7fb9b03.

⛔ Files ignored due to path filters (3)
  • tests/core-chatbot/go.sum is excluded by !**/*.sum
  • tests/core-providers/go.sum is excluded by !**/*.sum
  • transports/go.sum is excluded by !**/*.sum
📒 Files selected for processing (4)
  • tests/core-chatbot/go.mod (2 hunks)
  • tests/core-providers/go.mod (2 hunks)
  • transports/bifrost-http/tracking/plugin.go (1 hunks)
  • transports/go.mod (2 hunks)
✨ Finishing Touches
  • 📝 Generate Docstrings
🧪 Generate Unit Tests
  • Create PR with Unit Tests
  • Post Copyable Unit Tests in Comment
  • Commit Unit Tests in branch 06-24-chore_updated_core_to_v_1.1.5_in_transports_and_tests

🪧 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>, please review it.
    • Explain this complex logic.
    • 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 explain this code block.
    • @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 gather interesting stats about this repository and render them as a table. Additionally, render a pie chart showing the language distribution in the codebase.
    • @coderabbitai read src/utils.ts and explain its main purpose.
    • @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.

Support

Need help? Create a ticket on our support page for assistance with any issues or questions.

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 using 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 generate docstrings to generate docstrings for this PR.
  • @coderabbitai generate sequence diagram to generate a sequence diagram of the changes in this PR.
  • @coderabbitai auto-generate unit tests to generate unit tests for this 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.

Other keywords and placeholders

  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.
  • Add @coderabbitai summary to generate the high-level summary at a specific location in the PR description.
  • Add @coderabbitai anywhere in the PR title to generate the title automatically.

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.

@Pratham-Mishra04 Pratham-Mishra04 marked this pull request as ready for review June 24, 2025 06:13
@Pratham-Mishra04 Pratham-Mishra04 merged commit 28c4a4c into main Jun 24, 2025
1 of 2 checks passed
@akshaydeo akshaydeo deleted the 06-24-chore_updated_core_to_v_1.1.5_in_transports_and_tests branch August 31, 2025 17:30
akshaydeo pushed a commit that referenced this pull request Nov 17, 2025
# Update Bifrost Core to v1.1.5

This PR updates the Bifrost Core dependency from v1.1.4 to v1.1.5 across multiple test modules and transports. The update includes:

- Replaced `metoro-io/mcp-golang` with `mark3labs/mcp-go v0.32.0`
- Added new dependencies like `google/uuid`, `spf13/cast`, and `yosida95/uritemplate/v3`
- Removed several unused dependencies including Gin framework components
- Updated the `PrometheusPlugin.PreHook` method signature in `tracking/plugin.go` to use `*schemas.PluginShortCircuit` instead of `*schemas.BifrostResponse`
- Updated the Maxim plugin from v1.0.5 to v1.0.6

These changes align the codebase with the latest core functionality while reducing dependency bloat.
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.

1 participant