← Back to Pull requests

Replace webview based tags control #437

Closed
unknown closed this pull request without merging on Oct 26, 2026 02:33 UTC
View on GitHub
unknown unknown commented on Sep 09, 2026 16:26 UTC
Author

Reduces the JavaFX based WebView + JQuery + Swing tags control to only use swing. I think the prior webview design was to "test the waters" for using WebView and JFX, not as an actual requirement.

Performance impact is good. Drops idle CPU usage from ~2% to ~0.2%, drops memory usage by ~100 MB. Improves MacOS "power score" for the application by 88% - so there should be some benefit to battery life.

# JFX + Swing
PID    COMMAND      %CPU TIME     #TH  #WQ  #POR MEM   PURG   CMPRS PGRP  PPID  STATE    BOOSTS       %CPU_ME  %CPU_OTHRS UID  FAULTS  COW   MSGSENT MSGREC SYSBSD  SYSMACH  CSW     PAGEI IDLE POWE INSTRS     CYCLES     JETP USER      #MRE RPRV VPRV VSIZ KPRV KSHR
81628  java         1.7  00:22.42 69   6    603  705M- 0B     205M+ 23046 23046 sleeping *0[53]       0.00000  0.00000    501  131305+ 1240  222671+ 74193+ 406468+ 1053894+ 292558+ 2893  0    1.7  23205203   31604071   180  mgaffigan N/A  N/A  N/A  N/A  N/A  N/A

# Swing only
PID    COMMAND      %CPU TIME     #TH  #WQ  #POR MEM   PURG   CMPRS PGRP  PPID  STATE    BOOSTS      %CPU_ME %CPU_OTHRS UID  FAULTS COW  MSGSENT MSGREC SYSBSD  SYSMACH CSW     PAGE IDLE POWE INSTRS     CYCLES    JETP USER      #MRE RPRV VPRV VSIZ KPRV KS
73675  java         0.2  00:15.26 60   6    557  594M 0B   476M+ 23046 23046 sleeping *0[64]     0.00000 0.00000    501  77644+ 1068 156512 62181 272044+ 651105 163880+ 215  0    0.2  2365380 5108003 180  mgaffigan N/A  N/A  N/A  N/A  N/A  N/A

Also includes a drive-by fix for a bug where tag colors would oscillate on refresh if you had a channel and tag named the same thing.

| Old | New |
|-|-|
| <img width="720" height="499" alt="image" src="https://github.com/user-attachments/assets/983041fa-623b-4503-86b7-460a25dc38ee" /> | <img width="715" height="543" alt="image" src="https://github.com/user-attachments/assets/eaea7d4c-a87e-419e-8d4d-78a189dad09f" /> |
| <img width="428" height="296" alt="image" src="https://github.com/user-attachments/assets/39169ccf-5a2f-438b-8ff0-52c8576d9910" /> | <img width="464" height="298" alt="image" src="https://github.com/user-attachments/assets/e8756208-d01c-4c31-aed2-eeeb4b0c2d41" /> |

Not a direct fix, but would close #434

Diff: 278 lines (+208 / -70) across 3 files Reviewer: NicoPiel Review duration: 66847m
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 278 lines diff across 3 files
0.40
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.337
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #437"
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: 39.6% (MEDIUM) · Higher = larger blast radius
39.6%
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: 15.7% · Safe to merge
15.7%