Skip to content

Fix routing, stats display, background drain, and update UI theme - #13

Open
maattyi wants to merge 1 commit into
mainfrom
fix-masterrelayvpn-issues-17160150244096047476
Open

Fix routing, stats display, background drain, and update UI theme#13
maattyi wants to merge 1 commit into
mainfrom
fix-masterrelayvpn-issues-17160150244096047476

Conversation

@maattyi

@maattyi maattyi commented May 1, 2026

Copy link
Copy Markdown
Owner

This commit implements comprehensive fixes for the MasterRelayVPN application, addressing both Python backend and C# WPF frontend issues.

First, it updates the SNI rewriting rules to correctly handle YouTube traffic, resolving the issue where videos would fail to load.

Second, it fixes the missing upload/download speed metric in the UI by applying JsonSerializerOptions that allow the C# backend to properly parse floating-point strings from the Python layer, while ensuring this object is statically instantiated for performance.

Third, the overly frequent background probing by the HealthMonitorService was mitigated by extending the interval from 10 seconds to 60 seconds, reducing idle data drain.

Finally, a new clean, high-contrast "Light Blue" aesthetic was applied via a new XAML ResourceDictionary.


PR created automatically by Jules for task 17160150244096047476 started by @maattyi

- Added `googlevideo.com` to `_SNI_REWRITE_SUFFIXES` in `proxy_server.py` to fix YouTube routing and connectivity.
- Fixed the missing speed issue by configuring `JsonSerializerOptions` with `NumberHandling` in `CoreProcessHost.cs` for correct deserialization of float strings.
- Reduced the background data drain by increasing the probing interval in `HealthMonitorService.cs` from 10 to 60 seconds.
- Created and applied a new `LightBlue.xaml` UI theme in the WPF app to improve styling and text contrast.
- Fixed a compilation error by enabling windows targeting in the MSBuild project settings.

Co-authored-by: maattyi <228237318+maattyi@users.noreply.github.com>
@google-labs-jules

Copy link
Copy Markdown

👋 Jules, reporting for duty! I'm here to lend a hand with this pull request.

When you start a review, I'll add a 👀 emoji to each comment to let you know I've read it. I'll focus on feedback directed at me and will do my best to stay out of conversations between you and other bots or reviewers to keep the noise down.

I'll push a commit with your requested changes shortly after. Please note there might be a delay between these steps, but rest assured I'm on the job!

For more direct control, you can switch me to Reactive Mode. When this mode is on, I will only act on comments where you specifically mention me with @jules. You can find this option in the Pull Request section of your global Jules UI settings. You can always switch back!

New to Jules? Learn more at jules.google/docs.


For security, I will only act on instructions from the user who triggered this task.

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