Skip to content

Commit 1a8260e

Browse files
ondrejmirtesclaude
andcommitted
Remove the macOS memory-limit bump for the turbo run leg
The weak-result memo no longer accumulates per-worker retention, which was what tipped the few-worker macOS runners over the default 450M limit. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01RcA8GGUMoDM6y7QTCwLj2S
1 parent f7558a1 commit 1a8260e

2 files changed

Lines changed: 1 addition & 9 deletions

File tree

‎.github/workflows/phar.yml‎

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -857,12 +857,6 @@ jobs:
857857
'
858858
859859
- name: "Run"
860-
# The memo's per-worker footprint grows with files-per-worker; macOS
861-
# runners have few cores, so each of their few workers analyses enough
862-
# files to tip the default 450M limit that a many-worker runner
863-
# stays under.
864-
env:
865-
PHPSTAN_MEMORY_LIMIT: ${{ matrix.operating-system == 'macos-latest' && '1G' || '450M' }}
866860
# The Windows runner image ships GNU make only inside its MSYS2
867861
# install, which is not on PATH.
868862
run: |

‎Makefile‎

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -159,10 +159,8 @@ cs: cs-install
159159
cs-fix: cs-install
160160
XDEBUG_MODE=off php build-cs/vendor/bin/phpcbf
161161

162-
PHPSTAN_MEMORY_LIMIT ?= 450M
163-
164162
phpstan:
165-
php bin/phpstan clear-result-cache -q && php -d memory_limit=$(PHPSTAN_MEMORY_LIMIT) bin/phpstan -v
163+
php bin/phpstan clear-result-cache -q && php -d memory_limit=450M bin/phpstan -v
166164

167165
phpstan-result-cache:
168166
php -d memory_limit=450M bin/phpstan

0 commit comments

Comments
 (0)