hotfix/workflow-duplication #21

Merged
Latte merged 5 commits from hotfix/workflow-duplication into main 2025-12-29 10:34:49 +00:00

5 Commits

Author SHA1 Message Date
c6a801c781 Merge branch 'main' into hotfix/workflow-duplication
All checks were successful
Enterprise AI Code Review / ai-review (pull_request) Successful in 1m3s
2025-12-29 10:33:04 +00:00
21470c7a4a fix: Prevent duplicate workflow runs on @codebot mentions
All checks were successful
Enterprise AI Code Review / ai-review (pull_request) Successful in 40s
Critical fix for workflow routing that was causing 3x duplication on every
@codebot mention. All three workflows (ai-chat, ai-comment-reply, ai-issue-triage)
were triggering simultaneously.

Changes:
- ai-issue-triage.yml: Only runs on '@codebot triage' (unchanged, already specific)
- ai-comment-reply.yml: Only runs on specific commands (help, explain, suggest, etc)
- ai-chat.yml: Only runs on free-form questions (excludes all specific commands)

Workflow routing logic:
1. '@codebot triage' → ai-issue-triage.yml ONLY
2. '@codebot <command>' → ai-comment-reply.yml ONLY
3. '@codebot <question>' → ai-chat.yml ONLY (fallback)

This prevents the massive duplication issue where every @codebot mention
triggered all three workflows simultaneously, causing 10+ redundant runs.

Updated documentation in CLAUDE.md with workflow routing architecture.
2025-12-29 10:31:07 +00:00
17302361e6 Merge pull request 'feat: Add automatic PR summary generator' (#20) from feature/pr-summary-generator into dev
Reviewed-on: #20
2025-12-29 10:30:01 +00:00
92840d820b Merge branch 'dev' into feature/pr-summary-generator
All checks were successful
Enterprise AI Code Review / ai-review (pull_request) Successful in 30s
2025-12-29 10:26:07 +00:00
e21ec5f57a feat: Add automatic PR summary generator
All checks were successful
Enterprise AI Code Review / ai-review (pull_request) Successful in 7s
Implements automatic PR summary generation feature that analyzes pull
request diffs and generates comprehensive summaries.

Features:
- Auto-generates summaries for PRs with empty descriptions
- Manual trigger via @codebot summarize command in PR comments
- Structured output with change type, files affected, and impact assessment
- Configurable (enable/disable, comment vs description update)

Implementation:
- Added pr_summary.md prompt template for LLM
- Extended PRAgent with summary generation methods
- Added auto_summary configuration in config.yml
- Comprehensive test suite with 10 new tests
- Updated documentation in README.md and CLAUDE.md

Usage:
- Automatic: Opens PR with no description → auto-generates summary
- Manual: Comment '@codebot summarize' on any PR

Related: Issue #2 - Milestone 2 feature delivery
2025-12-29 10:15:08 +00:00