-
Notifications
You must be signed in to change notification settings - Fork 48
(feat) SRE debugger - use case example #787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
|
[Automatic Post]: It has been a while since there was any activity on this PR. @tejas-goyal, are you still working on it? If so, please go ahead, if not then please request review, close it, or request that someone else follow up. |
1 similar comment
|
[Automatic Post]: It has been a while since there was any activity on this PR. @tejas-goyal, are you still working on it? If so, please go ahead, if not then please request review, close it, or request that someone else follow up. |
|
Hey @tejas-goyal , thank you for the PR! There are 2 workflows in the PR, was that intended? |
Hi @enyst , you're right there are two workflows here, the SRE debugger I have here is now replaced by the datadog debugger example we have live. I wanted to merge my changelog generator example here, you can ignore the sre example or I can close this pr since I have the other one open as well: #785 |
🔧 CI Fix AvailableI found and fixed the issue causing the GitHub Actions workflow to fail! ProblemThe PR review workflow was failing because it tried to checkout the PR branch ( SolutionThe fix is simple - we need to specify the repository when checking out the PR branch. Here's the required change to - name: Checkout PR repository
uses: actions/checkout@v5
with:
# Fetch the full history to get the diff
fetch-depth: 0
path: pr-repo
# Check out the feature branch so agent can inspect the PR changes
+ repository: ${{ github.event.pull_request.head.repo.full_name }}
ref: ${{ github.event.pull_request.head.ref }}How to ApplyTo fix this, the PR author (@tejas-goyal) needs to add one line to the workflow file in their fork:
This will allow the workflow to properly checkout the PR branch from the fork and the CI should pass! 🎉 |
|
@OpenHands Do a /codereview-roasted on this PR, the SRE debugger part. Once you are done, answer a question: Read the full discussion here. Then read .github/workflows and find the datadog workflow and compare what it does with this SRE debugger. Be throughout, and focus on this: datadog is a proprietary/closed tool. I'd like us to have examples with open tools as well. How does this PR compare in general and on that issue? |
|
I'm on it! enyst can track my progress at all-hands.dev |
|
Summary of work What I reviewed
Codereview-roasted (SRE Debugger)
Comparison: Datadog example vs SRE Debugger
Open-tools angle and recommendations
Concrete next steps (for SRE Debugger)
Bottom line
|
neubig
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this!
- could you remove the weekly changelog workflow from this PR?
- please check the datadog debugging workflow and see if you can roughly match the style: https://github.com/OpenHands/software-agent-sdk/tree/main/examples/03_github_workflows/04_datadog_debugging
Overview
Adds a new GitHub workflow example for automated debugging and error analysis.
What's New
Key Features
Usage
Local testing:
```bash
export LLM_API_KEY="your-key"
uv run python examples/03_github_workflows/04_sre_debugger/test_local.py
```
GitHub Actions:
Copy `workflow.yml` to `.github/workflows/` and add `LLM_API_KEY` secret.
Use Cases