Skip to content

fix: resolve issue transfer loop and enhance similarity display#25

Merged
Kavirubc merged 1 commit intomainfrom
bugfix-issue-loop
Feb 4, 2026
Merged

fix: resolve issue transfer loop and enhance similarity display#25
Kavirubc merged 1 commit intomainfrom
bugfix-issue-loop

Conversation

@Kavirubc
Copy link
Copy Markdown
Contributor

@Kavirubc Kavirubc commented Feb 4, 2026

Description

This PR resolves the issue where transferred issues would trigger a re-triage loop and incorrectly flag themselves as duplicates. It also improves the similarity search visibility and formatting.

Changes

  1. Transfer Loop Fix:
    • Added EventAction to the Issue struct to track GitHub events like 'opened' vs 'transferred'.
    • Updated Gatekeeper to skip triage for transferred events, as these issues have already been triaged in their source repository.
  2. Cross-Repo Visibility:
    • Changed the default of cross_repo_search to true in config.go to ensure similar issues from all repositories in a cluster are visible.
  3. UI Enhancements:
    • Refactored the similar issues display in ResponseBuilder to use a markdown table instead of a bulleted list for better scannability.

Verification

  • Ran go build ./... and go test ./... - all passing.
  • Verified logic in Gatekeeper skips triage for issues where EventAction is set to 'transferred'.

- Added EventAction to pipeline.Issue to distinguish transfer events
- Skip triage for transferred issues in Gatekeeper to prevent loops
- Default cross_repo_search to true for better multi-repo cluster visibility
- Formatted similar issues as a markdown table for better readability
@Kavirubc Kavirubc merged commit 280f3fe into main Feb 4, 2026
3 checks passed
@Kavirubc Kavirubc deleted the bugfix-issue-loop branch February 4, 2026 13:23
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