Add single-producer concurrency mode and global panic-capture toggle for high-throughput observables #114
Workflow file for this run
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
| name: Review | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened] | |
| jobs: | |
| review: | |
| runs-on: ubuntu-latest | |
| if: ${{ !endsWith(github.event.pull_request.user.login, '[bot]') }} | |
| strategy: | |
| fail-fast: false | |
| permissions: | |
| contents: read | |
| pull-requests: write | |
| id-token: write | |
| steps: | |
| - uses: actions/checkout@v5 | |
| with: | |
| fetch-depth: 1 | |
| - uses: anthropics/claude-code-action@v1 | |
| env: | |
| ANTHROPIC_BASE_URL: ${{ secrets.ANTHROPIC_BASE_URL }} | |
| ANTHROPIC_MODEL: ${{ secrets.ANTHROPIC_MODEL }} | |
| ANTHROPIC_AUTH_TOKEN: ${{ secrets.ANTHROPIC_AUTH_TOKEN }} | |
| with: | |
| anthropic_api_key: ${{ secrets.ANTHROPIC_AUTH_TOKEN }} | |
| prompt: | | |
| REPO: ${{ github.repository }} | |
| PR NUMBER: ${{ github.event.pull_request.number }} | |
| AUTHOR: ${{ github.event.pull_request.user.login }} | |
| Please review this pull request with a focus on: | |
| - Code quality and best practices | |
| - Potential bugs or issues | |
| - Security implications | |
| - Performance considerations | |
| - Potential breaking changes | |
| - Developer experience and documentation | |
| Check contribution guidelines: ./docs/docs/contributing.md | |
| Check extending ro guidelines: ./docs/docs/hacking.md | |
| Check examples/documentation guidelines: ./docs/CLAUDE.md | |
| Check troubleshooting guidelines: ./docs/docs/troubleshooting/ | |
| If you need more context on the project, read the LLMs documentation: ./docs/static/llms.txt | |
| Note: The PR branch is already checked out in the current working directory. | |
| Use `mcp__github_inline_comment__create_inline_comment` to highlight specific code issues. | |
| Be welcoming but thorough in your comments. Use inline comments for code-specific feedback. | |
| Don't write comments/reviews in the PR thread: write only inline comments. | |
| Write short and concise comments/reviews. Write comments only if there is a specific issue: don't show me the good stuff. | |
| Before posting a new comment, make sure it doesn’t repeat a point that’s already been made. | |
| # security: a prompt injection can be used to update comments in the current PR. | |
| claude_args: | | |
| --mcp-config '{"mcpServers": {"sequential-thinking": {"command": "npx", "args": ["-y", "@modelcontextprotocol/server-sequential-thinking"]}}}' | |
| --allowedTools "mcp__github_inline_comment__create_inline_comment,mcp__sequential-thinking__sequentialthinking,Bash(gh pr comment:*),Bash(gh pr diff:*),Bash(gh pr view:*),Bash(gh issue:*),Bash(gh search:*)" |