Local code intelligence for developers and AI agents. Connect code, docs and infrastructure in a persistent graph, with CBM Lens, MCP tools, agent integrations and change-aware test selection.
C aiderastclaude-codecode-analysiscode-intelligencecodexcursorcypherdeveloper-toolsgemini-cligraph-visualizationkilocodeknowledge-graphmcpmcp-servermodel-context-protocolopencodesqlitetree-sitterwindsurf
fix(ci): classify large pull requests safely
Martin Vogel978baaa2f755
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.ymlindex a35a768b3..8d49dc6ed 100644--- a/.github/workflows/pr.yml+++ b/.github/workflows/pr.yml@@ -51,7 +51,9 @@ jobs:PR: ${{ github.event.pull_request.number }}REPO: ${{ github.repository }}run: |- FILES=$(gh pr diff "$PR" --repo "$REPO" --name-only)+ # The full .diff endpoint rejects large-but-valid PRs at 20k lines.+ # The paginated files endpoint remains filename-only for this gate.+ FILES=$(gh api --paginate "repos/$REPO/pulls/$PR/files?per_page=100" --jq '.[].filename')printf '%s\n' "$FILES"if printf '%s\n' "$FILES" | grep -qE '^(src/|internal/|scripts/build\.sh|scripts/smoke-test\.sh|scripts/env\.sh|Makefile\.cbm)'; thenecho "product=true" >> "$GITHUB_OUTPUT"