Run HTTP Input Benchmark #8
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: Run HTTP Input Benchmark | |
| on: | |
| workflow_dispatch: | |
| env: | |
| CLAUDE_CODE_MAX_OUTPUT_TOKENS: 4096 | |
| MAX_THINKING_TOKENS: 1024 | |
| jobs: | |
| run-benchmark: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| id-token: write | |
| contents: read | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v6 | |
| - uses: hashicorp/setup-terraform@v3 | |
| with: | |
| terraform_version: "1.5.7" | |
| - name: Configure AWS Credentials (OIDC) | |
| uses: aws-actions/configure-aws-credentials@v4 | |
| with: | |
| role-to-assume: ${{ secrets.AWS_BEDROCK_ROLE }} | |
| aws-region: us-west-2 | |
| - name: Run benchmark | |
| env: | |
| BINDPLANE_API_KEY: ${{ secrets.BINDPLANE_API_KEY }} | |
| ED_ORG_ID: ${{ secrets.ED_ORG_ID }} | |
| ED_API_TOKEN: ${{ secrets.ED_API_TOKEN }} | |
| CRIBL_CLIENT_ID: ${{ secrets.CRIBL_CLIENT_ID }} | |
| CRIBL_CLIENT_SECRET: ${{ secrets.CRIBL_CLIENT_SECRET }} | |
| CRIBL_LEADER_TOKEN: ${{ secrets.CRIBL_LEADER_TOKEN }} | |
| CRIBL_ORG: ${{ secrets.CRIBL_ORG }} | |
| CRIBL_WORKSPACE: ${{ secrets.CRIBL_WORKSPACE }} | |
| CRIBL_WORKER_GROUP: ${{ secrets.CRIBL_WORKER_GROUP }} | |
| run: | | |
| ./run.sh | |
| - name: Generate GitHub App token | |
| id: app-token | |
| uses: actions/create-github-app-token@v2 | |
| with: | |
| app-id: ${{ secrets.APP_ID }} | |
| private-key: ${{ secrets.APP_PRIVATE_KEY }} | |
| - uses: anthropics/claude-code-action@v1 | |
| with: | |
| github_token: ${{ steps.app-token.outputs.token }} | |
| use_bedrock: "true" | |
| claude_args: | | |
| --model us.anthropic.claude-opus-4-6-v1 | |
| - name: Upload benchmark results | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: benchmark_results | |
| path: | | |
| benchmark_results/*/*.log | |
| benchmark_results/report.md |