← Back to Pull requests

Remove documentation previews when their pull request closes, and link them #48

Merged
maleadt merged 2 files (63 lines) on Oct 23, 2026 12:11 UTC
View on GitHub
maleadt maleadt commented on Oct 20, 2026 10:15 UTC
Author

Documentation previews (push_preview = true) are pushed to gh-pages for every pull request and never removed: there is currently 1 preview under previews/, for a pull request that is still open. This adds Documenter's recommended ClearPreview.yml, which deletes previews/PR<n> once the pull request is closed or merged, skipping pull requests from forks (which get neither a preview nor a token that could remove one). The previews that are already stale can be removed with a one-off commit to gh-pages.

It also comments once with a link to the preview on pull requests from this repository that change docs/, as Documenter only reports it as a commit status, which is easy to miss.

Diff: 63 lines (+62 / -1) across 2 files Reviewer: KristofferC Review duration: 4436m
All Vouch review confidence checks passed
Residual risk 0.09 = Change Risk (0.29) × (1 − Review Confidence (0.71)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.29 · 63 lines diff across 2 files
0.29
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.56 · 1 substantive comment(s)
0.56
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
70%
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.249
Real PR Conversation Timeline
3 items
KristofferC KristofferC approved these changes on Oct 20, 2026 10:24 UTC
Approved Reviewer

Approved these changes.

codecov[bot] codecov[bot] commented on Oct 20, 2026 22:40 UTC
Bot

Codecov Report


:white_check_mark: All modified and coverable lines are covered by tests.
:white_check_mark: Project coverage is 96.40%. Comparing base (c968adc) to head (65e8dcb).

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

@@           Coverage Diff           @@
##           master      #48   +/-   ##
=======================================
  Coverage   96.40%   96.40%           
=======================================
  Files          10       10           
  Lines         389      389           
=======================================
  Hits          375      375           
  Misses         14       14           

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

  • </details>

    Reviewers
    Assignees
    maleadt maleadt
    Labels
    risk: low confidence: 70.9% 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: 29.3% (LOW) · Higher = larger blast radius
    29.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: 70.9% · Lower = rushed or shallow review
    70.9%
    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: 8.5% · Safe to merge
    8.5%