← Back to Pull requests

Fix workspace restoration and retain channel configurations #59

Merged
timkpaine merged 12 files (966 lines) on Oct 01, 2026 18:07 UTC
View on GitHub
timkpaine timkpaine commented on Oct 01, 2026 17:24 UTC
Author

Description

Saved layouts now use the application theme before rendering, avoiding a flash of the saved theme. Filter-source panels can use an explicit master_theme override.

Add optional channel controls, queued open/close methods, and single-tab layout preparation. saveClean() retains closed-channel settings for reopening and export. Update Python bindings, the example, and documentation.

Existing configurations retain multiple tabs, full-height sizing, and the existing save format; the toolbar is opt-in. Verified against the local csp-gateway checkout with Spaday 0.11.4 and Perspective 5.5.1: 66 UI tests and 32 Perspective tests pass, including custom design-kit coverage. Live Chromium and WebKit checks pass for streaming, layout/theme switching, save/download, and reload. No gateway or dependency-version changes are required.

Local validation also passes: 12 package Python tests, 40 browser regressions, two Pyodide tests, lint, TypeScript, and distribution checks.

Type of Change

  • Bug fix

  • New feature

  • Documentation update

  • CI / build configuration
  • Checklist

  • Linting passes (make lint)

  • Tests pass

  • New tests added for new functionality and legacy compatibility

  • Documentation updated

  • Version bump (not applicable; versions unchanged)
  • Diff: 966 lines (+897 / -69) across 12 files Reviewer: None requested Review duration: 43m
    All Vouch review confidence checks passed
    Residual risk 0.41 = Change Risk (0.94) × (1 − Review Confidence (0.56)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.94 · 966 lines diff across 12 files
    0.94
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.31 · 2 substantive comment(s)
    0.31
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 10%
    56%
    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.400
    Shallow Review Depth shallow_review_depth
    0.240
    No Reviewer Assigned no_reviewer_assigned
    0.120
    Sensitive Paths sensitive_paths
    0.094
    Real PR Conversation Timeline
    3 items
    github-actions[bot] github-actions[bot] commented on Oct 01, 2026 17:43 UTC
    Bot

    Test Results


     2 files  ±0   3 suites  ±0   15s ⏱️ +5s
    13 tests +1  13 ✅ +1  0 💤 ±0  0 ❌ ±0 
    14 runs  +1  14 ✅ +1  0 💤 ±0  0 ❌ ±0 

    Results for commit 5305ea9e. ± Comparison against base commit c6c01f39.

    [test-results]:data:application/gzip;base64,H4sIAKWbvmoC/12Myw6CMBBFf4V07aJlplT8GdP0kUwEavpYEf/d2iCgu3vOTc7KPE0usVvXXzqWCuUGUMGWqDOFpaKQleuTP5+AL9xTMebPPOhZDd+F1zT9CBdjiJuJZWlF3PYePMTRa3zKNT7XTJhnyhWYBC6dHt2AxoPyWiqDKFCCtk6JUfBrj2DtwF5vvgcblQABAAA=

    codecov[bot] codecov[bot] commented on Oct 01, 2026 17:44 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 (c6c01f3) to head (5305ea9).

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

    @@            Coverage Diff            @@
    ##              main       #59   +/-   ##
    =========================================
      Coverage   100.00%   100.00%           
    =========================================
      Files            5         5           
      Lines          101       108    +7     
      Branches         2         2           
    =========================================
    + Hits           101       108    +7     
    

    </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>

    Reviewers
    None requested
    Assignees
    timkpaine timkpaine
    Labels
    risk: medium confidence: 56% reviewed sensitive_module
    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: 94.3% (HIGH) · Higher = larger blast radius
    94.3%
    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: 56% · Lower = rushed or shallow review
    56%
    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: 41.4% · Moderate risk
    41.4%