Skip to content

feat: triage with AI#16691

Merged
janisz merged 37 commits intomasterfrom
ai_triage
Sep 24, 2025
Merged

feat: triage with AI#16691
janisz merged 37 commits intomasterfrom
ai_triage

Conversation

Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
@janisz janisz requested a review from davdhacs September 5, 2025 15:10
@janisz janisz requested review from ebensh, mtodor and porridge September 5, 2025 15:10
Copy link
Contributor

@sourcery-ai sourcery-ai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey there - I've reviewed your changes - here's some feedback:

  • The new CI triage section added to AGENTS.md largely duplicates the content in triage/README.md—consider trimming AGENTS.md to a brief summary with a link to the detailed triage directory to avoid drift.
  • CLAUDE.md is over 1000 lines long; splitting it into smaller, topic-focused documents or adding a clear table of contents would make it easier to navigate.
  • In the MCP Atlassian setup examples, please clearly mark all token values as placeholders (e.g., <YOUR_TOKEN>) to avoid any confusion or accidental credential exposure.
Prompt for AI Agents
Please address the comments from this code review:
## Overall Comments
- The new CI triage section added to AGENTS.md largely duplicates the content in triage/README.md—consider trimming AGENTS.md to a brief summary with a link to the detailed triage directory to avoid drift.
- CLAUDE.md is over 1000 lines long; splitting it into smaller, topic-focused documents or adding a clear table of contents would make it easier to navigate.
- In the MCP Atlassian setup examples, please clearly mark all token values as placeholders (e.g., `<YOUR_TOKEN>`) to avoid any confusion or accidental credential exposure.

Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@rhacs-bot
Copy link
Contributor

rhacs-bot commented Sep 5, 2025

Images are ready for the commit at 3e02a24.

To use with deploy scripts, first export MAIN_IMAGE_TAG=4.9.x-897-g6627543701.

@codecov
Copy link

codecov bot commented Sep 5, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 48.80%. Comparing base (6253b79) to head (3e02a24).
⚠️ Report is 1 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #16691   +/-   ##
=======================================
  Coverage   48.80%   48.80%           
=======================================
  Files        2696     2696           
  Lines      201446   201446           
=======================================
+ Hits        98310    98316    +6     
+ Misses      95378    95374    -4     
+ Partials     7758     7756    -2     
Flag Coverage Δ
go-unit-tests 48.80% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

- Fix AGENTS.md to reference triage/ directory instead of artifacts/
- Add Claude Code documentation link
- Clarify MCP server configuration instructions
- Update artifacts download path to triage/ROX-XXXXX-analysis/
- Clarify JIRA access is to Red Hat instance
- Improve workflow documentation clarity

Addresses feedback from @porridge in PR review.
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
@janisz janisz requested a review from porridge September 15, 2025 09:54
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
Copy link
Contributor

@porridge porridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this needs some basic readme file explaining how to get started.
All I see is:
image

@janisz
Copy link
Contributor Author

janisz commented Sep 16, 2025

That's my idea no readme everything happens automatically. Have you tried to triage something using this branch?

@porridge
Copy link
Contributor

That's my point. How do I try triaging something using this branch?

@janisz
Copy link
Contributor Author

janisz commented Sep 16, 2025

That's my point. How do I try triaging something using this branch?

That's the goal. Just start claude and ask it to triage. We don't have a readme how to use AGENTS.md. The goal is to make it transparent.

@janisz janisz requested a review from porridge September 18, 2025 11:37
janisz and others added 4 commits September 19, 2025 11:35
Co-authored-by: Mladen Todorovic <mtodor@gmail.com>
Co-authored-by: Mladen Todorovic <mtodor@gmail.com>
- Fix typo: mcp-atllasian → mcp-atlassian in links and references
- Update JIRA URL from redhat.atlassian.net to issues.redhat.com
- Improve casing consistency: PROW MCP → Prow MCP
- Remove automatic flaky test identification to prevent unwanted restarts
- Optimize artifact analysis workflow to prefer local downloads over remote browsing
- Remove gsutil ls commands in favor of direct file downloads for better performance

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
@janisz janisz requested a review from a team as a code owner September 19, 2025 09:49
Remove explicit MCP tool names from auto-actions section. Now ROX-XXXXX format
automatically triggers JIRA investigation without specifying the exact tool,
making the agent more flexible and pattern-based.

Addresses PR review comment about implicit pattern detection vs explicit tool specification.

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
@janisz
Copy link
Contributor Author

janisz commented Sep 19, 2025

@porridge PTAL

Copy link
Contributor

@porridge porridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think to hope for some adoption, the setup needs to be really simple. I spent 12 minutes just reading the docs, without making actual progress :-(

janisz and others added 2 commits September 22, 2025 11:08
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
Co-authored-by: Tomasz Janiszewski <tomek@redhat.com>
janisz and others added 2 commits September 22, 2025 11:29
Co-authored-by: Marcin Owsiany <porridge@redhat.com>
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
Copy link
Contributor

@porridge porridge left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Some nitpicks inline.

janisz and others added 7 commits September 22, 2025 12:53
Co-authored-by: Marcin Owsiany <porridge@redhat.com>
Co-authored-by: Marcin Owsiany <porridge@redhat.com>
Co-authored-by: Marcin Owsiany <porridge@redhat.com>
Co-authored-by: Marcin Owsiany <porridge@redhat.com>
Co-authored-by: Marcin Owsiany <porridge@redhat.com>
Signed-off-by: Tomasz Janiszewski <tomek@redhat.com>
@janisz janisz enabled auto-merge (squash) September 23, 2025 09:04
@janisz janisz merged commit ccb3c74 into master Sep 24, 2025
89 checks passed
@janisz janisz deleted the ai_triage branch September 24, 2025 14:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants