Skip to content

perf: add persistent VPN backend and virtualize server lists - #62

Merged
moonmouse11 merged 2 commits into
devfrom
perf/plugin-latency
Nov 12, 2026
Merged

moonmouse11 merged 2 commits into
devfrom
perf/plugin-latency

Conversation

@moonmouse11

Copy link
Copy Markdown
Owner

Summary

  • Add a persistent, rootless status/server backend managed by a systemd user service, with bounded Unix-socket IPC and automatic direct-read fallback.
  • Virtualize the QML server lists while preserving keyboard navigation and stable filter focus. Apply filtering on Enter and keep both lists functional when the panel and app window are visible together.
  • Serialize configuration and credential-store updates to prevent stale settings saves and concurrent key imports from losing data.
  • Wait for confirmed Windscribe teardown before switching providers, discover active tunnels independently of server catalogues, and handle malformed location/status labels without crashing.
  • Validate subscription entries, cap downloads at 16 MiB, preserve the last good cache on rejection, and remove unused duplicate helpers.
  • Add a reproducible disposable-VM regression gate for actual filter input, list contents and action safety.

Compatibility and upgrade

  • Preserve existing settings, credentials, profiles, subscriptions and favourites.
  • Keep the existing configuration and key-store formats.
  • Run Update setup after updating so installed backend/helper copies and the new user service match the checkout.
  • Close old Settings/import processes before upgrading; old writers do not participate in the new file locks.

Verification

  • Regular isolated Docker suite: 1577 passed, 5 skipped.
  • Ruff, formatting, mypy and diff checks pass.
  • Disposable Omarchy VM verified full filter input, matching results on both visible surfaces, empty hidden-list models, zero vendor actions and no detected QML runtime errors.
  • Fresh independent review approved the key-store and Windscribe fixes with no Critical or Important findings.

Known limitation: native DNS bootstrap

The separate native DNS integration gate still fails under strict reverse-path filtering when the reverse route to the resolver prefers a dead TUN.

Container diagnostics identified the cause: the marked request reaches the resolver, but the kernel drops its reply. A temporary resolver-specific uplink route makes the complete gate pass while retaining strict filtering.

This PR does not change production DNS routing or weaken reverse-path filtering. A scoped routing correction, including concurrent-session ownership and reliable route restoration, remains separate work.

@sonarqubecloud

Copy link
Copy Markdown

@moonmouse11
moonmouse11 merged commit e6e6bfa into dev Nov 12, 2026
6 checks passed
@moonmouse11
moonmouse11 deleted the perf/plugin-latency branch November 12, 2026 14:17
moonmouse11 added a commit that referenced this pull request Nov 20, 2026
* feat: Cloudflare WARP provider, provider setup rows, WARP e2e workflow (#59)

* feat: app warp provider

* fix: fix widget

* test: add WARP test

* fix: fix WARP connection lock

* fix: fix lint & sonar search

* feat: add initial Windscribe CLI provider integration (#61)

* feat: add windscribe

* test: fix pro subs connections

* fix: fix Incy nd other providers

* feat: windscribe login template

* fix: fix windscribe connection

* fix: update connection types

* fix: fix connection select

* fix: fix windscribe connection

* fix: fix CI bugs

* perf: add persistent VPN backend and virtualize server lists (#62)

* fix: big update & add perf to plugin. fix vpn connections and qml speed

* fix: fix Sonar Qube issues list

* feat: upgrade windscribe plugin (#63)

* fix: fix ping & connections list (#64)

* fix: fix ping & connections list

* fix: fix CI problems

* fix: add explicit Windscribe force switch (#65)

* fix: fix qml list

* fix: fix after review

* fix: fix menu bar label change
moonmouse11 added a commit that referenced this pull request Nov 23, 2026
* fix: keep VPN server lists and bar panel stable during updates (#66)

* feat: Cloudflare WARP provider, provider setup rows, WARP e2e workflow (#59)

* feat: app warp provider

* fix: fix widget

* test: add WARP test

* fix: fix WARP connection lock

* fix: fix lint & sonar search

* feat: add initial Windscribe CLI provider integration (#61)

* feat: add windscribe

* test: fix pro subs connections

* fix: fix Incy nd other providers

* feat: windscribe login template

* fix: fix windscribe connection

* fix: update connection types

* fix: fix connection select

* fix: fix windscribe connection

* fix: fix CI bugs

* perf: add persistent VPN backend and virtualize server lists (#62)

* fix: big update & add perf to plugin. fix vpn connections and qml speed

* fix: fix Sonar Qube issues list

* feat: upgrade windscribe plugin (#63)

* fix: fix ping & connections list (#64)

* fix: fix ping & connections list

* fix: fix CI problems

* fix: add explicit Windscribe force switch (#65)

* fix: fix qml list

* fix: fix after review

* fix: fix menu bar label change

* release: update manifest (#67)
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