Skip to content

Commit acedf55

Browse files
noelsaw1claude
andcommitted
Fix CI hang: skip Magic String Detector and scope scan paths
- Add timeout-minutes: 10 as job-level safety net - Add --skip-magic-strings to prevent the known CI hang at that step - Narrow --paths to dist/bin dist/lib (skip test fixtures which contain intentional antipatterns and inflate scan time) - Add --no-log to avoid writing runtime log files during CI Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent 167f772 commit acedf55

1 file changed

Lines changed: 6 additions & 1 deletion

File tree

.github/workflows/ci.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ jobs:
5151
performance-checks:
5252
name: Performance Checks
5353
runs-on: macos-latest
54+
timeout-minutes: 10
5455

5556
steps:
5657
- name: Checkout code
@@ -71,10 +72,14 @@ jobs:
7172
echo "Running performance audit on toolkit repository..."
7273
7374
# Run in JSON mode for Slack integration
75+
# --skip-magic-strings: prevents CI hang (Magic String Detector times out on large repos)
76+
# --paths "dist/bin dist/lib": skip test fixtures which contain intentional antipatterns
7477
./dist/bin/check-performance.sh \
75-
--paths "." \
78+
--paths "dist/bin dist/lib" \
7679
--format json \
7780
--strict \
81+
--skip-magic-strings \
82+
--no-log \
7883
> audit-results.json && EXIT_CODE=0 || EXIT_CODE=$?
7984
8085
echo "exit_code=$EXIT_CODE" >> $GITHUB_OUTPUT

0 commit comments

Comments
 (0)