main #22

Merged
Latte merged 4 commits from main into dev 2025-12-29 10:36:22 +00:00

4 Commits

Author SHA1 Message Date
f5ef66b43d Merge pull request 'hotfix/workflow-duplication' (#21) from hotfix/workflow-duplication into main
All checks were successful
Enterprise AI Code Review / ai-review (pull_request) Successful in 32s
Reviewed-on: #21
2025-12-29 10:34:48 +00:00
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
8c4b06f9ca Merge pull request 'dev' (#14) from dev into main
Reviewed-on: #14
2025-12-28 20:06:55 +00:00