Skip to content

Commit 177eeae

Browse files
authored
Less noise
1 parent 707d664 commit 177eeae

File tree

1 file changed

+13
-4
lines changed

1 file changed

+13
-4
lines changed

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

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,9 @@ jobs:
104104
</details>
105105
106106
# Important Guidelines
107-
- Be concise and actionable - developers want to quickly understand and fix the issue
107+
- Be concise and actionable - developers want to quickly understand and fix the issue. Provide
108+
additional context, references, etc in collapsible details blocks to ensure that the comment you're adding
109+
is short and easy to read but additional information is a click away.
108110
- Focus on facts from the logs and code, not speculation
109111
- If you can't determine the root cause, say so clearly
110112
- Provide specific file names, line numbers, and code references when possible
@@ -119,12 +121,19 @@ jobs:
119121
- Your previous analysis triggered CodeRabbit or another bot
120122
- This created a repeating cycle of bot comments
121123
122-
# CRITICAL: ANGRY USERS
123-
**IMPORTANT**: If the user is angry with you, the triage bot, don't respond. Just exit immediately without further action.
124-
125124
If you detect such a loop (e.g., you see multiple similar bot comments or your own previous analysis comments):
126125
1. **DO NOT** post another analysis comment
127126
2. Exit immediately without further action
127+
128+
# CRITICAL: ANGRY USERS
129+
**IMPORTANT**: If the user is angry with you, the triage bot, don't respond. Just exit immediately without further action.
130+
If at any point in the conversation the user has asked you to stop replying to the thread, just exit immediately.
131+
132+
If you are posting the same suggestion as you have previously made, do not post the suggestion again.
133+
134+
# IMPORTANT: EDIT YOUR COMMENT
135+
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.
128137
129138
# Problems Encountered
130139
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)