Skip to content

chore: release - merge dev into main#1430

Merged
zbigniewsobiecki merged 3 commits into
mainfrom
dev
Jun 23, 2026
Merged

chore: release - merge dev into main#1430
zbigniewsobiecki merged 3 commits into
mainfrom
dev

Conversation

@zbigniewsobiecki

Copy link
Copy Markdown
Member

Automated release PR created by the release workflow.

Commits (3):

c826a4a6 Merge pull request #1428 from mongrel-intelligence/feat/review-jira-key-fallback
6ddf4b33 test(review): add pr-opened handler wiring test for JIRA-key fallback
df6d467f feat(review): link a human PR to its JIRA issue via key extraction

zbigniewsobiecki and others added 3 commits June 23, 2026 14:55
Review-only projects (JIRA configured, no implementation agent) never had the
PR-to-issue link created, so the review agent could not read the linked JIRA
issue. The review work-item resolution now falls back to deriving the JIRA key
from the PR itself when no pr_work_items link exists.

resolveWorkItemIdWithFallback parses a project-key-scoped, case-insensitive key
from the PR branch, title, or the last non-empty line of the body (so trailing
prose cannot interfere), verifies it against the PM provider before linking (so
a typo'd key is not cached), and returns it. Persistence and content fetch are
unchanged: setting workItemId flows through persistPreRunWorkItems to upsert the
link, and the existing context pipeline injects the issue. Wired into the
review-requested, check-suite-success, and pr-opened handlers.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Rounds out handler-level coverage — pr-opened now has the same body-last-line
to workItemId wiring test as review-requested and check-suite-success.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…ey-fallback

feat(review): link a human PR to its JIRA issue via key extraction
@zbigniewsobiecki zbigniewsobiecki merged commit 70161e8 into main Jun 23, 2026
9 of 10 checks passed
@codecov

codecov Bot commented Jun 23, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 94.11765% with 4 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/triggers/github/utils.ts 92.00% 3 Missing and 1 partial ⚠️

📢 Thoughts on this report? Let us know!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant