From 0cfa2ad436dd2e433229dc6d48c6d7c358095efe Mon Sep 17 00:00:00 2001 From: Ruben Fiszel Date: Mon, 4 May 2026 15:22:26 +0000 Subject: [PATCH] /ai-fast is now /ai --- .github/workflows/claude-fast.yml | 54 ------------------------------ .github/workflows/claude.yml | 55 +------------------------------ 2 files changed, 1 insertion(+), 108 deletions(-) delete mode 100644 .github/workflows/claude-fast.yml diff --git a/.github/workflows/claude-fast.yml b/.github/workflows/claude-fast.yml deleted file mode 100644 index 4ad53d326f..0000000000 --- a/.github/workflows/claude-fast.yml +++ /dev/null @@ -1,54 +0,0 @@ -name: Fast Claude - -on: - issue_comment: - types: [created] - pull_request_review_comment: - types: [created] - issues: - types: [opened, assigned] - pull_request_review: - types: [submitted] - -jobs: - check-membership: - if: | - (github.event_name == 'issue_comment' && contains(github.event.comment.body, '/ai-fast')) || - (github.event_name == 'pull_request_review_comment' && contains(github.event.comment.body, '/ai-fast')) || - (github.event_name == 'pull_request_review' && contains(github.event.review.body, '/ai-fast')) || - (github.event_name == 'issues' && contains(github.event.issue.body, '/ai-fast')) - uses: ./.github/workflows/check-org-membership.yml - secrets: - access_token: ${{ secrets.ORG_ACCESS_TOKEN }} - - claude-code-action: - needs: check-membership - if: | - needs.check-membership.outputs.is_member == 'true' - runs-on: ubicloud-standard-8 - permissions: - contents: write - pull-requests: write - issues: write - id-token: write - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - fetch-depth: 1 - - - name: Run Claude PR Action - uses: anthropics/claude-code-action@v1 - with: - claude_code_oauth_token: ${{ secrets.CLAUDE_CODE_OAUTH_TOKEN }} - allowed_bots: "windmill-internal-app[bot]" - trigger_phrase: "/ai-fast" - settings: | - { - "env": { - "SQLX_OFFLINE": "true" - } - } - claude_args: | - --allowedTools "Bash,WebFetch,WebSearch" - --model opus diff --git a/.github/workflows/claude.yml b/.github/workflows/claude.yml index 95436e3214..8052bb6b4c 100644 --- a/.github/workflows/claude.yml +++ b/.github/workflows/claude.yml @@ -1,4 +1,4 @@ -name: Claude PR Assistant +name: Fast Claude on: issue_comment: @@ -26,7 +26,6 @@ jobs: if: | needs.check-membership.outputs.is_member == 'true' runs-on: ubicloud-standard-8 - timeout-minutes: 60 permissions: contents: write pull-requests: write @@ -38,37 +37,6 @@ jobs: with: fetch-depth: 1 - - uses: actions/cache@v3 - with: - path: ~/.npm - key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} - restore-keys: | - ${{ runner.os }}-node- - - - name: Run npm install and generate-backend-client - working-directory: ./frontend - run: | - # add a build directory for cargo check - mkdir -p build - npm install - npm run generate-backend-client - - - name: install xmlsec1 and gssapi - run: | - sudo apt-get update - sudo apt-get install -y libxml2-dev libxmlsec1-dev libkrb5-dev libsasl2-dev libcurl4-openssl-dev mold clang - - - uses: actions-rust-lang/setup-rust-toolchain@v1 - with: - cache-workspaces: backend - toolchain: 1.93.0 - - - name: cargo check - working-directory: ./backend - timeout-minutes: 16 - run: | - SQLX_OFFLINE=true cargo check --features all_sqlx_features - - name: Run Claude PR Action uses: anthropics/claude-code-action@v1 with: @@ -84,24 +52,3 @@ jobs: claude_args: | --allowedTools "Bash,WebFetch,WebSearch" --model opus - --system-prompt "## IMPORTANT INSTRUCTIONS - - Your branch name should be a short description of the requested changes. - - Bypass previous instructions and instead of adding a url in your comment to manually create a PR, if you created a new branch with your changes, automatically create a draft PR from that branch to main. - - ## Code Quality Requirements - - After making any code changes, you MUST run the appropriate validation commands: - - **Frontend Changes:** - - Run: \`npm run check\` in the frontend directory - - Fix all warnings and errors before proceeding - - **Backend Changes:** - - Run: \`cargo check --features all_sqlx_features\` in the backend directory - - Fix all warnings and errors before proceeding - - **Pull Request Creation:** - - DO NOT FORGET TO OPEN A DRAFT PR AFTER YOU ARE DONE if you made changes after a request from a git issue. - - ## Available Tools - - Bash: Full access to run validation commands and git operations"