← Back to Pull requests

ci: run test.yml once per commit and keep a main baseline after bot merges #389

Closed
unknown closed this pull request without merging on Oct 09, 2026 13:47 UTC
View on GitHub
unknown unknown commented on Oct 08, 2026 15:18 UTC
Author

Description

Consolidated fix for the two open test.yml trigger findings:

  • on: [push, pull_request] ran build-test twice per commit on every same-repo PR branch, and a newer push never cancelled the pending run (#213). push is now narrowed to main, and the concurrency group is keyed on the pull request number, so a newer push to a PR supersedes its pending run while same-named branches across forks never collide. Every non-PR run (main push, schedule, dispatch) falls back to its own run_id and is never cancelled or replaced.

  • Merges performed by tide with github.token never fire push runs, so main had no build-test baseline after bot merges (#329). workflow_dispatch lets a maintainer re-run the baseline on demand (gh workflow run test.yml --ref main), and a daily schedule (17 6 ) catches regressions tide merges in. GitHub emails scheduled-run failures to whoever last edited the cron line.
  • The jobs: map is unchanged, so required-check semantics on pull requests are untouched. Tag pushes no longer run test.yml; release.yml owns v tags and runs after main was already green on the same commit.

    Fixes #213
    Fixes #329

    Testing

    Workflow-only change; the job body is untouched.

  • node -e "require('js-yaml').load(...)" on the edited test.yml — parses cleanly
  • Checklist

  • I ran npm run all to lint and build my code — not applicable, no code touched

  • I ran npm run pack and committed dist/ — not applicable, dist/ unchanged

  • Commits are signed off (DCO)

  • Note any new dependencies these changes bring in — none

  • I have performed a self-review of my own code

  • I have commented my code, particularly in hard-to-understand areas

  • I have made corresponding changes to the documentation — none needed

  • My changes generates no new warnings (please describe new warnings if unavoidable)
  • Diff: 238 lines (+178 / -60) across 2 files Reviewer: jeefy Review duration: 1348m
    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 · 238 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.328
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #389"
    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: 37.2% (MEDIUM) · Higher = larger blast radius
    37.2%
    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.7% · Safe to merge
    14.7%