[Feature] Diversion-group to proxy bindings should persist (not silently reset to "current selected")

Open
#1,963 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
48/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Active
Tech stack
dart
Domain
networking

Research direction

Start by tracing where diversion-group bindings are persisted and where global current-server changes or subscription refreshes update them. Verify that bindings to a fixed node, Auto (urltest), and direct survive both operations; done means they no longer silently revert to current selected.

Written by the indexing model from the issue text.

Description

Feature description

A custom diversion group can be bound to a specific target — a fixed node, an Auto (urltest) group, or direct. In our setup a group that had been explicitly bound to Auto (urltest) was later found reverted to "current selected" (following the global server), silently — so the intended auto-select behavior had quietly stopped.

We haven't fully isolated the trigger yet (suspected: changing the global "current server" in the UI, and/or a subscription update, resets per-group bindings). Please treat per-group bindings as durable state that is not reset by switching the global current server or by a subscription refresh — and, if this is a bug, fix the reset.

Use case

Reliability of any per-group routing. If bindings can silently revert to "current selected," any setup relying on a group being on Auto / a fixed node / direct quietly decays — the user believes a service is auto-failing-over (or pinned/direct), but it isn't, and only finds out when the service breaks. Durable, non-resetting bindings are a prerequisite for trustworthy per-service routing and auto-failover.

Target OS

Observed on macOS; likely all platforms.

Dominant language
Dart
Stars
16k
Forks
1.3k
Avg merge
19h 39m
Merged PRs (30d)
2

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from KaringX/karing

All issues in KaringX/karing

Similar issues

More Dart issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.