Skip to content

feat: add pipeline triage and ship-mr automation to issue verification - #779

Open
krashekbote wants to merge 2 commits into
packit:mainfrom
krashekbote:private-sarathi-skill
Open

feat: add pipeline triage and ship-mr automation to issue verification#779
krashekbote wants to merge 2 commits into
packit:mainfrom
krashekbote:private-sarathi-skill

Conversation

@krashekbote

Copy link
Copy Markdown

When the Issue Verification Agent finds an open MR (ymir_backported/ ymir_rebased label present but ymir_merged absent), it now checks the MR pipeline status inline instead of waiting 3 hours:

  • Pipeline running → reschedule in 20 minutes
  • Pipeline failed → post structured triage comment on the MR
    (new regressions vs waived, build/check blockers)
  • Pipeline passed → approve + set auto-merge (opt-in via
    PIPELINE_AUTO_SHIP=true, default false)

New MCP tools added to the privileged gateway:

  • GitLab: pipeline status with child pipeline traversal, MR diff, discussions, reply/resolve threads, approve, auto-merge, deep job log analysis, cross-MR test failure comparison, inline comments
  • Jira: update_test_coverage

New Claude Code skills added to agents_as_skills/:

  • triage-pipeline: analyze failed jobs, categorize regressions vs waived failures, post comment
  • ship-mr: full review-to-merge workflow (code review, Jira cross-check, pipeline triage, approve, auto-merge)

Fixes: #777

TODO:

  • Write new tests or update the old ones to cover new functionality.
  • Update doc-strings where appropriate.
  • Update or write new documentation in packit/packit.dev.
  • ‹fill in›

Fixes

Related to

Merge before/after

RELEASE NOTES BEGIN

Packit now supports automatic ordering of ☕ after all checks pass.

RELEASE NOTES END

krashekbote and others added 2 commits August 25, 2026 21:22
When the Issue Verification Agent finds an open MR (ymir_backported/
ymir_rebased label present but ymir_merged absent), it now checks the
MR pipeline status inline instead of waiting 3 hours:

- Pipeline running  → reschedule in 20 minutes
- Pipeline failed   → post structured triage comment on the MR
                      (new regressions vs waived, build/check blockers)
- Pipeline passed   → approve + set auto-merge (opt-in via
                      PIPELINE_AUTO_SHIP=true, default false)

New MCP tools added to the privileged gateway:
- GitLab: pipeline status with child pipeline traversal, MR diff,
  discussions, reply/resolve threads, approve, auto-merge, deep job
  log analysis, cross-MR test failure comparison, inline comments
- Jira: update_test_coverage

New Claude Code skills added to agents_as_skills/:
- triage-pipeline: analyze failed jobs, categorize regressions vs
  waived failures, post comment
- ship-mr: full review-to-merge workflow (code review, Jira
  cross-check, pipeline triage, approve, auto-merge)

Fixes: packit#777
@lbarcziova

Copy link
Copy Markdown
Member

@martinky82 could you have a look? 🙏

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.

Add pipeline triage and ship-mr automation to Issue Verification Agent

2 participants