← Back to Pull requests

Desktop: open plugin pages on local Hermes gateways (bugfix) #488

Closed
unknown closed this pull request without merging on Nov 24, 2026 15:32 UTC
View on GitHub
unknown unknown commented on Nov 24, 2026 12:41 UTC
Author

What and why

Desktop plugin pages fail when the configured Hermes gateway is on loopback. The embedded Chromium browser applies the rule that removes implicit loopback access after the explicit gateway rules, so it can override the exception for the configured gateway.

Apply the loopback rule first so the configured gateway is reachable. Other loopback ports still go through the blocked proxy. This is a standalone desktop bugfix with no merge dependencies.

Chromium proxy rule ordering

How I tested it

  • With a loopback test server and a disposable Chromium profile, the former rule order blocked the allowed port. The corrected order rendered the page and kept an unlisted port blocked.

  • Built the desktop release distribution offline with the fix, installed it over the existing personal Flatpak, and reopened it with the existing profile.

  • Confirmed the user could open Kanban from Tools → Plugins in the installed Flatpak.

  • Ran the local Android and Wear build, test and lint checks, desktop compilation, and 55 Flatpak packaging tests against this contribution.
  • Fork CI passed, including the installed Flatpak smoke test. The separate Flatpak install and upgrade qualification passed on the same commit. Linux CI · Flatpak qualification
  • Screenshots

    The existing plugin UI is unchanged.

    Checklist

  • One bugfix, based on upstream master

  • Existing browser network restrictions verified with an unlisted loopback port

  • Built the desktop release distribution and tested the installed Flatpak
  • Diff: 224 lines (+168 / -56) across 2 files Reviewer: Giton22 Review duration: 170m
    All Vouch review confidence checks passed
    Residual risk 0.15 = Change Risk (0.37) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.37 · 224 lines diff across 2 files
    0.37
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.324
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #488"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 36.9% (MEDIUM) · Higher = larger blast radius
    36.9%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.6% · Safe to merge
    14.6%