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
ci(pr): the changes classifier no longer fails open on a large file list
Martin Vogel65d60e72f5b8
diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.ymlindex 6e5691423..8cb464b19 100644--- a/.github/workflows/pr.yml+++ b/.github/workflows/pr.yml@@ -82,7 +82,11 @@ jobs:FILES=$(git --git-dir="$CHANGES_GIT" diff --name-only --no-renames FETCH_HEAD^1 FETCH_HEAD)fiprintf '%s\n' "$FILES"- if printf '%s\n' "$FILES" | grep -qE '^(src/|internal/|install\.(sh|ps1)|scripts/build\.sh|scripts/smoke-test\.sh|scripts/smoke-local\.sh|scripts/smoke-fixture-server\.py|scripts/gen-third-party-notices\.sh|scripts/env\.sh|test-infrastructure/vm/(vm-smoke\.sh|windows-user-path-guard\.ps1)|Makefile\.cbm)'; then+ # A here-string, not a pipe: under this shell's pipefail, grep -q+ # exits on its first match, printf dies of SIGPIPE once the list+ # outgrows the pipe buffer, and the MATCH is then reported as a+ # failure -- product=false, smoke skipped, on the largest PRs.+ if grep -qE '^(src/|internal/|install\.(sh|ps1)|scripts/build\.sh|scripts/smoke-test\.sh|scripts/smoke-local\.sh|scripts/smoke-fixture-server\.py|scripts/gen-third-party-notices\.sh|scripts/env\.sh|test-infrastructure/vm/(vm-smoke\.sh|windows-user-path-guard\.ps1)|Makefile\.cbm)' <<<"$FILES"; thenecho "product=true" >> "$GITHUB_OUTPUT"elseecho "product=false" >> "$GITHUB_OUTPUT"