← Back to Pull requests

Reuse panels when restoring changed saved profiles #79

Merged
timkpaine merged 3 files (248 lines) on Nov 03, 2026 17:25 UTC
View on GitHub
timkpaine timkpaine commented on Nov 03, 2026 17:16 UTC
Author

Description

Reuse existing panels when a complete saved profile changes view settings on the same tables and plugins. Preserve full replacement for incomplete profiles, structural/style changes, and row-action policies.

Add a 48-panel, 100,000-row synthetic benchmark comparing changed-panel updates with full restoration. Changing four panels measured about 79 ms versus 2.4 s in Chromium and 113 ms versus 2.7 s in WebKit, with identical saved results. Initial-load costs remain.

Type of Change

  • Bug fix

  • Documentation update
  • Checklist

  • Build, lint, type, and distribution checks pass

  • 86 Python tests and 52 focused browser cases pass

  • Regression tests cover live-edit reset and replacement semantics

  • Documentation updated
  • No version bump.

    Diff: 248 lines (+229 / -19) across 3 files Reviewer: python-templates-automerge[bot] Review duration: 8m
    All Vouch review confidence checks passed
    Residual risk 0.18 = Change Risk (0.49) × (1 − Review Confidence (0.63)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.49 · 248 lines diff across 3 files
    0.49
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.58 · 2 substantive comment(s)
    0.58
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    62%
    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.330
    Rapid Merge rapid_merge
    0.100
    Real PR Conversation Timeline
    3 items
    github-actions[bot] github-actions[bot] commented on Nov 03, 2026 17:24 UTC
    Bot

    Test Results


     2 files  ±0   3 suites  ±0   18s ⏱️ +2s
    87 tests ±0  87 ✅ ±0  0 💤 ±0  0 ❌ ±0 
    88 runs  ±0  88 ✅ ±0  0 💤 ±0  0 ❌ ±0 

    Results for commit ca183774. ± Comparison against base commit 7680ebe4.

    [test-results]:data:application/gzip;base64,H4sIALUY6moC/12Myw7CIBQFf6Vh7UJACvgz5vJKbmyL4bEy/rtIalvdnZmTzJMEnHwm14GdBpIrlg68gasJCsalIVWN21M+n5JfuOVq7Z+546OZ8yYC4PQjfEoxrSbVpRfVurfgLvZe50Ou87Fm4zxjaUAsUMWlvGilYYQAToAzBkYzMs+d4IEKq7Vi5PUGNO6sqAABAAA=

    codecov[bot] codecov[bot] commented on Nov 03, 2026 17:25 UTC
    Bot

    Codecov Report


    :white_check_mark: All modified and coverable lines are covered by tests.
    :white_check_mark: Project coverage is 100.00%. Comparing base (7680ebe) to head (ca18377).
    :warning: Report is 1 commits behind head on main.

    <details><summary>Additional details and impacted files</summary>

    @@            Coverage Diff            @@
    ##              main       #79   +/-   ##
    =========================================
      Coverage   100.00%   100.00%           
    =========================================
      Files           13        13           
      Lines          509       509           
      Branches        59        59           
    =========================================
      Hits           509       509           
    

    </details>

    :umbrella: View full report in Codecov by Harness.
    :loudspeaker: Have feedback on the report? Share it here.
    <details><summary> :rocket: New features to boost your workflow: </summary>

  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

  • </details>

    Assignees
    timkpaine timkpaine
    Labels
    risk: low confidence: 62.8% 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: 48.9% (MEDIUM) · Higher = larger blast radius
    48.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: 62.8% · Lower = rushed or shallow review
    62.8%
    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: 18.2% · Safe to merge
    18.2%