← Back to Pull requests

RUN-1088 | feat(linear-release): detect plain issue keys and forward release notes #111

Closed
unknown closed this pull request without merging on Aug 20, 2026 14:05 UTC
View on GitHub
unknown unknown commented on Aug 20, 2026 13:11 UTC
Author

Every release so far synced with zero issues and zero notes. Two causes, both in this wrapper. RUN-1088.

1. A plain issue key in a commit subject is not detected. Read from the CLI binary:

CLOSING_WORDS        = [close(s|d|ing), fix(es|ed|ing), resolve(s|d|ing), complete(...), implement(...)]
CONTRIBUTING_PHRASES = [ref, refs, references, "part of", "related to", "relates to", "contributes to", towards, toward]
MAGIC_WORD_REGEX     = \b(<one of the above>)[\s:]+(<TEAM-123>)

if (options.issuePattern) { matchCustomSubjectPattern(message, options.issuePattern) }

Out of the box it matches only a key preceded by a magic word, or a (#123) PR reference. ci(release): export current_version ... (RUN-1088) matches neither — note the near-miss, fix is a closing word but the regex needs [\s:] after it and our subjects have fix(scope):. Plain subject keys are extracted only when issue_pattern is passed, which this wrapper did not expose.

issue-pattern now defaults to ((?:CORE|PLAT|PRD|RUN|GEN|DEVOPS|SEC)-[0-9]+). Checked against real subjects:

| subject | result |
|---|---|
| ci(release): export current_version for the Linear scan base (RUN-1088) | RUN-1088 |
| RUN-962 \| feat: support large HTTP headers collection | RUN-962 |
| fix(offsets): restore net/http.extraHeader.contentType (RUN-977) (#2188) | RUN-977 |
| chore(offsets): update generated offsets (#2205) | no match |

2. Linear generates notes from attached issues only, so zero issues meant no notes — even though the GitHub release already had them. New release-notes input forwards a markdown file; ci-core passes the body GitHub generated for the tag. A missing or empty file warns and syncs without notes.

Stacked on #109 — the first commit here is that PR's. Merge #109 first, or merge this and #109 becomes redundant.

After merge this needs backporting to releases/v1.4.x and releases/v1.5.x.

Diff: 242 lines (+181 / -61) across 3 files Reviewer: BenElferink Review duration: 54m
All Vouch review confidence checks passed
Residual risk 0.15 = Change Risk (0.39) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 242 lines diff across 3 files
0.39
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.329
Shallow Review Depth shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #111"
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: 38.8% (MEDIUM) · Higher = larger blast radius
38.8%
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.3% · Safe to merge
15.3%