Yichen Jiang
03d2c54db1
test: start every suite from an environment with no proxy
...
A developer's Clash and a CI runner's squid both export HTTP_PROXY and its
siblings. Now that the harness honors them, an ambient value decides test
outcomes: this PR has already recorded a proxy's 502 page as a snapshot's
expected output, and let a runner's own export stand in for "what the user
exported" in an assertion about inherited names.
A Vitest setup file clears the proxy names before any suite runs, wired into
every configuration that declares a setup. Real-API e2e is cleared too: before
proxy support existed every request connected directly and that suite passed, so
direct is the environment it is known to work in.
`NODE_USE_ENV_PROXY` cannot be cleared this way — Node samples the proxy
environment at process start — and the module says so. A proxy application never
exports it, and the eight names one does export are fully handled: with all of
them set, the affected suites pass.
The wiring is what regresses, so that is what the test pins. Configurations are
discovered rather than listed, because the web suites carry no setup today and a
hand-written list would let one of them gain a setup without gaining this one.
`plugin.spec.ts` kept its own copy of the eight names to guard against the
machine; it never sets a proxy variable itself, so the setup replaces that
entirely. `install.spec.ts` had one assertion waiting on a DNS miss with no
deadline, which timed out once under load.
2026-08-29 13:17:12 +08:00
..
2026-08-13 13:58:03 +08:00
2026-08-26 13:23:41 +08:00
2026-08-26 08:01:07 +00:00
2026-08-19 18:21:26 +08:00
2026-07-26 23:29:46 +08:00
2026-08-23 17:31:37 +08:00
2026-07-27 00:53:07 +08:00
2026-08-10 16:34:20 +08:00
2026-08-06 16:38:25 +08:00
2026-08-24 17:28:27 +08:00
2026-08-24 19:09:40 +08:00
2026-08-24 19:09:40 +08:00
2026-08-24 19:09:40 +08:00
2026-08-24 19:09:40 +08:00
2026-08-24 19:09:40 +08:00
2026-08-24 15:04:00 +08:00
2026-08-09 16:39:41 +08:00
2026-07-28 01:02:43 +08:00
2026-08-11 20:09:33 +08:00
2026-08-26 00:13:35 +08:00
2026-08-27 22:26:29 +08:00
2026-08-27 11:33:27 +08:00
2026-08-19 18:21:27 +08:00
2026-08-19 18:21:27 +08:00
2026-08-24 15:04:00 +08:00
2026-08-24 15:04:00 +08:00
2026-08-18 01:34:21 +08:00
2026-08-27 22:26:29 +08:00
2026-08-13 02:29:17 +08:00
2026-08-24 22:02:44 +08:00
2026-07-23 00:39:55 +08:00
2026-08-09 01:31:57 +08:00
2026-08-11 15:23:05 +08:00
2026-08-10 22:04:13 +08:00
2026-08-18 14:38:42 +08:00
2026-08-24 22:02:44 +08:00
2026-08-26 12:35:05 +08:00
2026-08-29 11:15:32 +08:00
2026-08-29 11:15:32 +08:00
2026-08-06 03:18:17 +08:00
2026-08-27 23:14:31 +08:00
2026-08-24 15:04:01 +08:00
2026-08-24 15:04:01 +08:00
2026-08-28 23:01:54 +08:00
2026-08-28 22:37:36 +08:00
2026-08-13 00:54:38 +08:00
2026-08-27 22:26:29 +08:00
2026-08-10 16:34:20 +08:00
2026-08-13 01:33:31 +08:00
2026-08-22 13:10:23 +08:00
2026-08-21 22:22:23 +08:00
2026-07-29 23:55:12 +08:00
2026-08-10 22:04:13 +08:00
2026-08-19 02:26:57 +08:00
2026-08-27 23:14:31 +08:00
2026-08-27 21:57:56 +08:00
2026-07-30 19:57:17 +08:00
2026-08-27 23:14:31 +08:00
2026-07-24 01:40:25 +08:00
2026-08-26 10:35:38 +08:00
2026-08-10 22:04:13 +08:00
2026-08-27 12:00:02 +08:00
2026-08-27 12:00:02 +08:00
2026-08-28 10:59:30 +08:00
2026-08-19 02:26:57 +08:00
2026-08-27 19:39:21 +08:00
2026-08-27 20:02:10 +08:00
2026-08-12 19:41:06 +08:00
2026-08-29 11:15:32 +08:00
2026-08-11 15:23:05 +08:00
2026-08-21 20:35:34 +08:00
2026-08-18 17:56:49 +08:00
2026-08-18 19:37:53 +08:00
2026-08-09 00:37:46 +08:00
2026-08-19 02:26:57 +08:00
2026-08-18 18:27:01 +08:00
2026-08-26 17:17:47 +08:00
2026-08-23 16:28:19 +08:00
2026-08-23 16:28:19 +08:00
2026-08-13 00:54:38 +08:00
2026-08-13 00:54:38 +08:00
2026-07-26 02:52:48 +08:00
2026-07-26 02:52:48 +08:00
2026-08-21 11:09:25 +08:00
2026-08-21 11:09:25 +08:00
2026-08-20 10:05:16 +08:00
2026-08-26 14:33:17 +08:00
2026-08-20 22:10:35 +08:00
2026-08-08 12:25:41 +08:00
2026-08-08 12:25:41 +08:00
2026-08-13 00:54:38 +08:00
2026-08-13 00:54:38 +08:00
2026-08-18 01:34:53 +08:00
2026-08-21 20:35:32 +08:00
2026-08-19 15:42:12 +08:00
2026-07-27 00:53:07 +08:00
2026-08-10 22:04:10 +08:00
2026-08-28 12:38:41 +08:00
2026-08-18 21:15:20 +08:00
2026-08-29 13:17:12 +08:00
2026-08-29 13:17:11 +08:00
2026-08-23 16:28:19 +08:00
2026-08-23 16:28:19 +08:00
2026-08-21 11:09:25 +08:00
2026-08-26 08:01:07 +00:00
2026-08-26 08:01:07 +00:00
2026-08-24 22:02:44 +08:00
2026-08-13 01:29:36 +08:00
2026-08-27 16:25:12 +08:00
2026-08-13 15:16:12 +08:00
2026-08-24 22:02:44 +08:00
2026-08-21 15:06:24 +08:00
2026-08-29 13:17:12 +08:00
2026-08-29 13:17:12 +08:00
2026-08-19 03:01:11 +08:00
2026-08-19 03:01:11 +08:00
2026-08-19 04:08:47 +08:00
2026-08-19 03:56:17 +08:00
2026-08-21 22:22:23 +08:00
2026-08-28 10:21:45 +08:00
2026-08-19 03:47:00 +08:00
2026-08-08 21:11:59 +08:00
2026-08-09 11:02:16 +08:00
2026-08-25 23:47:20 +08:00
2026-08-24 17:28:26 +08:00
2026-08-24 21:37:14 +08:00
2026-08-19 02:26:57 +08:00
2026-08-10 16:34:20 +08:00
2026-08-14 16:10:06 +08:00
2026-08-28 10:59:30 +08:00
2026-08-10 16:34:20 +08:00
2026-08-10 16:34:20 +08:00
2026-08-27 23:14:31 +08:00
2026-08-27 23:14:31 +08:00
2026-08-10 16:34:20 +08:00
2026-07-26 23:14:28 +08:00
2026-07-21 20:15:09 +08:00
2026-08-18 01:34:25 +08:00
2026-08-18 01:34:25 +08:00
2026-08-23 23:54:03 +08:00
2026-08-23 23:54:03 +08:00
2026-08-23 21:22:41 +08:00
2026-08-23 21:22:41 +08:00
2026-08-14 16:05:48 +08:00
2026-08-24 22:02:44 +08:00
2026-08-24 22:02:44 +08:00
2026-08-24 22:02:44 +08:00
2026-08-24 22:02:44 +08:00
2026-08-20 22:10:15 +08:00
2026-08-20 22:10:35 +08:00
2026-08-13 13:07:24 +08:00
2026-08-13 13:07:24 +08:00
2026-08-21 22:22:23 +08:00
2026-08-09 10:56:43 +08:00
2026-08-24 22:02:44 +08:00
2026-08-24 22:02:44 +08:00
2026-08-24 22:02:44 +08:00
2026-08-29 13:17:12 +08:00
2026-08-29 13:17:12 +08:00
2026-08-11 15:23:05 +08:00
2026-08-14 16:10:06 +08:00
2026-08-21 22:22:23 +08:00
2026-08-10 16:34:20 +08:00
2026-08-24 22:02:44 +08:00
2026-08-29 13:17:11 +08:00
2026-08-11 12:35:38 +08:00
2026-08-11 12:35:38 +08:00
2026-08-24 19:09:40 +08:00
2026-08-24 19:09:40 +08:00
2026-08-10 18:04:26 +08:00
2026-08-10 18:04:26 +08:00
2026-08-23 16:02:32 +08:00
2026-08-29 13:17:11 +08:00
2026-08-19 02:26:57 +08:00
2026-08-13 13:07:57 +08:00
2026-08-23 16:16:04 +08:00
2026-08-02 01:25:01 +08:00
2026-07-30 21:49:33 +08:00
2026-08-23 01:48:35 +08:00