Build Time Increased Significantly on Cloudflare #856
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: Fix Verification | |
| on: | |
| issue_comment: | |
| types: [created] | |
| permissions: {} | |
| concurrency: | |
| # One verification run per issue at a time. | |
| group: fix-verification-${{ github.event.issue.number }} | |
| cancel-in-progress: false | |
| jobs: | |
| verify: | |
| # Only run when: | |
| # 1. The issue (not a PR) has the "fix pending verification" label | |
| # 2. The comment is not from our bot (avoid self-triggering loops) | |
| if: >- | |
| !github.event.issue.pull_request && | |
| contains(github.event.issue.labels.*.name, 'fix pending verification') && | |
| github.event.comment.user.login != 'astrobot-houston' && | |
| github.event.comment.user.login != 'github-actions[bot]' | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 10 | |
| permissions: | |
| contents: read # Read repo for flue agent | |
| issues: write # Remove label, post comment | |
| pull-requests: write # Create PR, add labels | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 | |
| - name: Setup PNPM | |
| uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8 | |
| - name: Setup Node | |
| uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0 | |
| with: | |
| node-version: 24.15.0 | |
| cache: pnpm | |
| - name: Install deps | |
| run: pnpm install --frozen-lockfile | |
| - name: Run fix-verification agent | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| FREDKBOT_GITHUB_TOKEN: ${{ secrets.FREDKBOT_GITHUB_TOKEN }} | |
| ANTHROPIC_API_KEY: ${{ secrets.CI_ANTHROPIC_API_KEY }} | |
| ISSUE_NUMBER: ${{ github.event.issue.number }} | |
| run: | | |
| pnpm exec flue run fix-verification \ | |
| --target node \ | |
| --id "fix-verification-$ISSUE_NUMBER" \ | |
| --payload "{\"issueNumber\": $ISSUE_NUMBER}" |