aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart-sat-resolver
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2026-05-02 11:09:52 +0900
committernsfisis <nsfisis@gmail.com>2026-05-02 11:09:52 +0900
commit2ff728fe6796506be0e6b640ccb85ed3e1ce2b56 (patch)
tree5a15af2caa562be6c43d54e6b64ddff3681a97cb /crates/mozart-sat-resolver
parent4d587407cc9471dc8bfc0544eac0f8c7041fba0d (diff)
downloadphp-mozart-2ff728fe6796506be0e6b640ccb85ed3e1ce2b56.tar.gz
php-mozart-2ff728fe6796506be0e6b640ccb85ed3e1ce2b56.tar.zst
php-mozart-2ff728fe6796506be0e6b640ccb85ed3e1ce2b56.zip
test(harness): force unreachable proxy for spawned mozart
Composer fixtures with inline `package` repositories often set `dist.url` / `source.url` to RFC 2606 placeholders like `https://example.org`. Composer's PHPUnit suite swaps in InstallationManagerMock; Mozart's harness invokes the real binary, so its `reqwest`-based downloader actually hit the network and hung for ~30s per fixture before failing. Setting HTTP_PROXY / HTTPS_PROXY / NO_PROXY on the child process routes every HTTP request through 127.0.0.1:1, which fails the TCP connect immediately. The current 103 green installer tests remain green (resolver short-circuits before download); the ignored update_downgrades_unstable_packages now errors in 0.1s instead of 30s, which is the safety net we want as more inline-package fixtures get unignored. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Diffstat (limited to 'crates/mozart-sat-resolver')
0 files changed, 0 insertions, 0 deletions