feat(enrichment): derive linked issue from PR body when unset - #1864
Conversation
|
Warning 🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨🟨 ⏸️ Gittensory review result - manual review recommendedReview updated: 2026-06-30 19:06:28 UTC
⏸️ Suggested Action - Manual Review
Review summary Nits — 7 non-blocking
Review context
Contributor next steps
Signal definitions
🟩 Safe / merged · 🟦 Advisory · 🟨 Held for review · 🟥 Blocked / closed 💰 Earn for open-source contributions like this. Gittensor lets GitHub contributors earn for the work they already do — register to start earning →. Checked by Gittensory, a quiet PR intelligence layer for OSS maintainers.
|
72d5fc5 to
dd4cda5
Compare
Resolve pr.linkedIssues into a compact linkedIssue payload via the local issue cache so REES history can correlate PR work with issue context. Co-authored-by: Cursor <cursoragent@cursor.com>
When pr.linkedIssues is empty, parse Fixes #N from the PR description so REES history still receives linkedIssue context before sync catches up. Co-authored-by: Cursor <cursoragent@cursor.com>
dd4cda5 to
705899b
Compare
Move resolveEnrichmentLinkedIssue inside the isEnrichmentEnabled branch so flag-off reviews do no extra DB work. Addresses JSONbored review on JSONbored#1863. Co-authored-by: Cursor <cursoragent@cursor.com>
Summary
When
pr.linkedIssuesis empty (e.g. before sync materializes links), parseFixes #Nfrom the PR description and forward the resolvedlinkedIssueenvelope to REES.Issue
Depends on
Merge #1863 first, then rebase this branch onto
mainso the PR diff is only the body-fallback commit. Until then the PR includes the linked-issue envelope work from #1863.Validation
Test plan
resolveEnrichmentLinkedIssueNumbersprefers explicitlinkedIssuesover body parsingFixes #55resolves via local issue cache in processor wiring test