Files
openobserve/.github
Ashish KolheandClaude Opus 4.5 cda5d6a2a1 test: dry run Claude PR review with single rolling comment (#9909)
### **User description**
## Test PR for Claude Review Workflow

This PR tests the updated Claude PR review workflow that:

1. Maintains a **single rolling comment** instead of creating new ones
on each push
2. Tracks resolved issues in a strikethrough section
3. Uses concise format (1-2 sentences per issue)

### Test Plan

1. First push - Claude should create initial review comment
2. Make a fix commit - Claude should update same comment, move fixed
issues to "Resolved"
3. Another commit - Should continue updating same comment

---

**Note:** This is a test PR. Will be closed after verifying the workflow
behavior.


___

### **PR Type**
Enhancement


___

### **Description**
- Added `REVIEW_MARKER` env var for comment detection

- Switched checkout fetch-depth to full history

- Extended review prompt with update instructions

- Updated allowed tools in `claude_args`


___

### Diagram Walkthrough


```mermaid
flowchart LR
  PR_Event["Pull request opened or updated"]
  Checkout["Checkout repository (fetch-depth: 0)"]
  Review_Action["Run Claude PR review action"]
  Comment_Update["Update or create review comment"]
  PR_Event --> Checkout
  Checkout --> Review_Action
  Review_Action --> Comment_Update
```



<details> <summary><h3> File Walkthrough</h3></summary>

<table><thead><tr><th></th><th align="left">Relevant
files</th></tr></thead><tbody><tr><td><strong>Configuration
changes</strong></td><td><table>
<tr>
  <td>
    <details>
<summary><strong>claude-pr-review.yml</strong><dd><code>Configure
incremental review comment workflow</code>&nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; </dd></summary>
<hr>

.github/workflows/claude-pr-review.yml

<ul><li>Defined <code>REVIEW_MARKER</code> environment variable<br> <li>
Changed <code>fetch-depth</code> from 1 to 0 for full history<br> <li>
Expanded <code>prompt</code> with step-by-step update guidelines<br>
<li> Refined <code>claude_args</code> tool permissions list</ul>


</details>


  </td>
<td><a
href="https://github.com/openobserve/openobserve/pull/9909/files#diff-53574b0b215fe49655d9af9b48ce745fe1b45cd4eb810c0df555b9a659caeed7">+65/-36</a>&nbsp;
</td>

</tr>
</table></td></tr></tr></tbody></table>

</details>

___

Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-08 18:05:39 +05:30
..