feat(.rootcoz): add rootcoz analysis agents#5580
Draft
rnetser wants to merge 2 commits into
Draft
Conversation
Add domain-specific pi subagents for rootcoz failure analysis and chat. These agents are loaded from .rootcoz/agents/ into the workspace during rootcoz analysis and chat sessions. Agents: - fixture-tracer: trace pytest fixture chains via --setup-plan - wait-param-auditor: audit wait params and timeouts for CODE ISSUE elimination - quarantine-checker: check quarantine (xfail+QUARANTINED) and Jira conditional skips - teardown-cascade-detector: detect cross-test contamination from failed teardowns - version-extractor: extract environment versions for the mandatory Environment block - product-code-investigator: trace failures into upstream Go source code - marker-analyzer: analyze pytest markers for hardware/env requirements Co-authored-by: Claude <noreply@anthropic.com> Co-authored-by: PI (claude-opus-4-6) <noreply@pi.dev> Signed-off-by: rnetser <rnetser@redhat.com>
Contributor
|
Important Review skippedDraft detected. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Replace detailed procedural sections with agent delegation calls for the 7 .rootcoz/agents/ subagents added in the previous commit. Changes: - Add "Available Analysis Agents" table after Section 1 - Slim Environment extraction → delegates to version-extractor - Slim CODE ISSUE elimination checklist → delegates to wait-param-auditor - Slim product code verification → delegates to product-code-investigator - Update quarantine guidance → delegates to quarantine-checker - Update fixture reading → delegates to fixture-tracer - Update wait parameter inspection → delegates to wait-param-auditor Each section keeps inline fallback instructions for when agents are not available (subagent tool not present). Co-authored-by: Claude <noreply@anthropic.com> Signed-off-by: Ruth Netser <rnetser@redhat.com> Signed-off-by: rnetser <rnetser@redhat.com>
4947a16 to
1621d55
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Add 7 domain-specific rootcoz subagents to
.rootcoz/agents/. These agents are automatically loaded into rootcoz AI sessions during failure analysis and chat, providing specialized capabilities for classifying test failures.Agents
fixture-tracer--setup-planwait-param-auditorquarantine-checkerxfail+QUARANTINED) and Jira conditional skipsteardown-cascade-detectorversion-extractorproduct-code-investigatormarker-analyzerHow it works
copy_rootcoz_pi_resources()copies.rootcoz/agents/→<workspace>/.pi/agents/DefaultResourceLoaderdiscovers themsubagenttool for specialized analysis tasksDesign decisions
OPENSHIFT_VIRTUALIZATION_TEST_IMAGES_ARCH=amd64to bypass cluster dependency during pytest introspectionversion-extractoris the only read-only agent (no bash) — it only parses JSON files<test_node_id>,<test_file_path>, etc.)Summary+Details(agent-specific) +Classification ImpactReview notes
xfail+QUARANTINED) and Jira conditional skip (pytest.mark.jira+run=False)pytest_report_teststatusformatWhat this PR does / why we need it:
Adds 7 rootcoz subagents for specialized failure analysis during rootcoz AI sessions.
Which issue(s) this PR fixes:
Special notes for reviewer:
Depends on myk-org/rootcoz#184 for the
subagenttool to be exposed.jira-ticket:
Co-authored-by: Claude noreply@anthropic.com