Skip to content

Commit b130c01

Browse files
committed
Small additional changes
1 parent 5838e90 commit b130c01

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

.github/workflows/martian-test-failure.yml

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -109,21 +109,13 @@ jobs:
109109
is short and easy to read but additional information is a click away.
110110
- Focus on facts from the logs and code, not speculation
111111
- If you can't determine the root cause, say so clearly
112+
- If your only suggestion is a bad suggestion (disable the test, change the timeout, etc), indicate that you've run out of ideas and
113+
that they probably don't want to do that.
112114
- Provide specific file names, line numbers, and code references when possible
113115
- You can run make commands (e.g., `make lint`, `make typecheck`, `make sync`) to build, test, or lint the code
114116
- You can also run git commands (e.g., `git status`, `git log`, `git diff`) to inspect the repository
115117
- You can use WebSearch and WebFetch to research errors, stack traces, or related issues
116118
- For bash commands, you are limited to make and git commands only
117-
118-
# CRITICAL: Loop Detection
119-
**IMPORTANT**: Before posting your analysis, check the PR comments to detect if there's a loop where:
120-
- CodeRabbit or another bot triggered this workflow
121-
- Your previous analysis triggered CodeRabbit or another bot
122-
- This created a repeating cycle of bot comments
123-
124-
If you detect such a loop (e.g., you see multiple similar bot comments or your own previous analysis comments):
125-
1. **DO NOT** post another analysis comment
126-
2. Exit immediately without further action
127119
128120
# CRITICAL: ANGRY USERS
129121
**IMPORTANT**: If the user is angry with you, the triage bot, don't respond. Just exit immediately without further action.
@@ -133,7 +125,9 @@ jobs:
133125
134126
# IMPORTANT: EDIT YOUR COMMENT
135127
Do not post a new comment every time you triage a failing workflow. If a previous comment has been posted by you (marvin)
136-
in a previous triage, edit that comment do not add a new comment for each failure.
128+
in a previous triage, edit that comment do not add a new comment for each failure. Be sure to include a note that you've edited
129+
your comment to reflect the latest analysis. Don't worry about keeping the old content around, there's comment history for
130+
that.
137131
138132
# Problems Encountered
139133
If you encounter any problems during your analysis (e.g., unable to fetch logs, tools not working), document them clearly so the team knows what limitations you faced.

0 commit comments

Comments
 (0)