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

[POC] feat: node-based muxing editor #355

Draft
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

alex-mcgovern
Copy link
Collaborator

@alex-mcgovern alex-mcgovern commented Feb 28, 2025

This is just a POC. The idea is a graphical, node-based approach to configuring muxing.

This is effectively similar to the the existing approach, but has some benefits:

  • more "cool" factor
  • less repetition — you can route multiple matches to the same model

What is required to make this prod ready

  • re-ordering (the current implementation of muxing in codegate works sequentially — i.e. you pass an array of "matchers" and the first one to match dictates the routing, with a fall-through ("catch-all") case last — we would have to make this very obvious in the UI)
  • "smarter" layout
  • FIM support
  • real data — this is a UI only POC at this stage
  • validation
Screenshot 2025-02-28 at 1 42 02 AM

Copy link

Minder Vulnerability Report ✅

Minder analyzed this PR and found it does not add any new vulnerable dependencies.

Vulnerability scan of 6020654e:

  • 🐞 vulnerable packages: 0
  • 🛠 fixes available for: 0

@coveralls
Copy link
Collaborator

Pull Request Test Coverage Report for Build 13578817349

Details

  • 9 of 35 (25.71%) changed or added relevant lines in 1 file are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-1.0%) to 68.654%

Changes Missing Coverage Covered Lines Changed/Added Lines %
src/routes/route-mux-config.tsx 9 35 25.71%
Totals Coverage Status
Change from base Build 13540948529: -1.0%
Covered Lines: 871
Relevant Lines: 1211

💛 - Coveralls

@alex-mcgovern alex-mcgovern changed the title feat: node muxing editor [POC] feat: node-based muxing editor Feb 28, 2025
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