Diego Rodrigues de Sa e Souza
3d4f3e4960
test(infra): retry recursive temp-dir removal instead of failing a shard on ENOTEMPTY ( #11966 ) ( #11968 )
...
* test(infra): retry recursive temp-dir removal instead of failing a shard on ENOTEMPTY (#11966 )
Two shards on release/v3.8.51 went red in one day with the same signature —
"ENOTEMPTY, Directory not empty: /tmp/omniroute-<test>-XXXXXX" — from
combo-same-provider-cascade (Unit Tests fast-path 4/4, on a PR that touches only
.github/) and auth-policy-embeddings-webfetch-7785 (the 20k-test TIA step). Both pass
alone and on re-run: the cleanup races something still writing into the directory
(SQLite WAL/-shm checkpoint, a worker, the backup) and under a loaded hosted runner
the window opens. 1154 test files do their own cleanup with
fs.rmSync(dir, { recursive: true, force: true }); 57 already asked for retries.
One-shot codemod (scripts/ad-hoc/codemod-rm-maxretries.mjs, kept for the record):
every rm / rmSync / rmdirSync option object with `recursive: true` and no
`maxRetries` gains `maxRetries: 5, retryDelay: 100` — Node itself then retries
ENOTEMPTY/EBUSY/EPERM for up to ~0.5 s before giving up. 2243 call sites in 1292
files under tests/, the shared tests/_setup/isolateDataDir.ts exit hook included.
Only the option object changes: no call site, assertion or import is touched.
Validation: prettier and ESLint (with the frozen suppressions) clean on all 1292
files; a random 20-file sample runs green (quota-redis-store hangs identically on
the untouched tree — it needs a Redis on localhost, an environment matter). The
four unit shards on this PR are the full run.
* fix(quality): let check-forgotten-sibling-tests read a 1,000-file diff
The gate shells out to `git diff` through execFileSync with Node's default 1 MB
maxBuffer; the 1,292-file codemod in this PR is the first diff large enough to
overflow it, and the gate died with `spawnSync git ENOBUFS` before comparing
anything. 64 MB is far above any real PR and costs nothing when unused.
2026-08-29 01:17:40 -03:00
..
2026-05-03 00:37:08 -03:00
2026-06-22 03:17:02 -03:00
2026-08-29 01:17:40 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-08-29 01:17:40 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-08-11 09:20:41 -03:00
2026-06-20 07:09:43 -03:00
2026-04-28 16:58:17 +07:00
2026-06-19 06:49:01 -03:00
2026-06-30 06:54:29 -03:00
2026-06-15 03:32:11 -03:00
2026-08-11 04:25:55 -03:00
2026-07-02 10:47:13 -03:00
2026-07-20 17:53:04 -03:00
2026-08-29 01:17:40 -03:00
2026-04-27 20:00:08 +07:00
2026-06-09 22:57:12 -03:00
2026-08-19 13:00:27 -03:00
2026-04-27 20:00:08 +07:00
2026-05-02 04:51:38 -03:00
2026-04-28 04:20:46 +07:00
2026-04-27 20:00:08 +07:00
2026-05-03 09:14:20 -03:00
2026-05-14 23:46:57 -03:00
2026-08-23 10:20:06 -03:00
2026-08-06 05:58:58 -03:00
2026-08-23 10:20:06 -03:00
2026-08-19 12:11:11 -03:00
2026-07-21 11:50:02 -03:00
2026-08-22 22:53:26 -03:00
2026-08-22 22:53:26 -03:00
2026-08-23 10:20:06 -03:00
2026-06-28 06:58:29 -03:00
2026-06-28 06:58:29 -03:00
2026-07-17 02:39:40 -03:00
2026-07-22 07:03:02 -03:00
2026-07-10 18:05:55 -03:00
2026-08-29 01:17:40 -03:00
2026-05-02 12:57:37 -03:00
2026-06-19 06:49:01 -03:00
2026-06-19 06:49:01 -03:00
2026-08-29 01:17:40 -03:00
2026-08-29 01:17:40 -03:00
2026-06-23 03:08:29 -03:00
2026-07-18 15:12:38 -03:00
2026-08-29 01:17:40 -03:00
2026-06-19 06:49:01 -03:00
2026-06-19 06:49:01 -03:00
2026-06-19 06:49:01 -03:00
2026-08-24 19:57:12 -03:00
2026-08-29 01:17:40 -03:00
2026-07-22 02:35:26 -03:00
2026-06-14 10:45:22 -03:00
2026-07-22 07:03:02 -03:00
2026-05-03 12:38:21 -03:00
2026-06-17 19:26:32 -03:00
2026-06-17 02:43:21 -03:00
2026-08-29 01:17:40 -03:00
2026-06-21 08:56:51 -03:00
2026-06-21 08:56:51 -03:00
2026-05-03 00:37:08 -03:00
2026-06-28 06:58:29 -03:00
2026-06-19 06:49:01 -03:00
2026-06-21 08:56:51 -03:00
2026-06-30 06:54:29 -03:00
2026-07-17 22:09:21 -03:00
2026-08-09 10:07:30 -03:00
2026-08-18 12:06:19 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-06-27 09:07:12 -03:00
2026-06-27 09:07:12 -03:00
2026-06-27 09:07:12 -03:00
2026-06-27 09:07:12 -03:00
2026-06-27 09:07:12 -03:00
2026-06-19 06:49:01 -03:00
2026-08-21 02:13:04 -03:00
2026-06-20 07:09:43 -03:00
2026-08-21 02:13:04 -03:00
2026-04-28 16:58:17 +07:00
2026-06-29 08:40:06 -03:00
2026-08-03 18:09:31 -03:00
2026-07-16 14:13:11 -03:00
2026-08-29 01:17:40 -03:00
2026-07-12 03:30:43 -03:00
2026-06-29 08:40:06 -03:00
2026-08-14 21:18:38 -03:00
2026-08-18 12:13:48 -03:00
2026-06-27 09:07:12 -03:00
2026-06-27 09:07:12 -03:00
2026-06-27 09:07:12 -03:00
2026-06-20 07:09:43 -03:00
2026-06-16 09:12:35 -03:00
2026-08-20 23:59:21 -03:00
2026-07-18 15:12:38 -03:00
2026-07-02 10:47:13 -03:00
2026-06-17 02:43:21 -03:00
2026-08-29 01:17:40 -03:00
2026-06-23 17:06:18 -03:00
2026-08-29 01:17:40 -03:00
2026-08-20 22:02:14 -03:00
2026-08-29 01:17:40 -03:00
2026-05-03 09:14:20 -03:00
2026-06-20 07:09:43 -03:00
2026-06-19 06:49:01 -03:00
2026-06-19 06:49:01 -03:00
2026-05-14 21:24:05 -03:00
2026-06-20 07:09:43 -03:00
2026-08-18 12:13:48 -03:00
2026-08-18 12:13:48 -03:00
2026-08-18 12:13:48 -03:00
2026-08-18 12:13:48 -03:00
2026-08-29 01:17:40 -03:00
2026-08-29 01:17:40 -03:00
2026-07-08 07:56:44 -03:00
2026-08-18 12:13:48 -03:00
2026-08-18 12:13:48 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-07-23 11:21:53 -03:00
2026-06-23 17:06:18 -03:00
2026-08-18 10:51:08 -03:00
2026-06-23 17:06:18 -03:00
2026-06-09 15:56:24 -03:00
2026-08-18 10:50:54 -03:00
2026-05-03 09:14:20 -03:00
2026-07-23 11:21:53 -03:00
2026-07-02 10:47:13 -03:00
2026-06-25 13:17:40 -03:00
2026-08-29 01:17:40 -03:00
2026-07-02 10:47:13 -03:00
2026-08-29 01:17:40 -03:00
2026-08-29 01:17:40 -03:00
2026-08-29 01:17:40 -03:00
2026-08-29 01:17:40 -03:00
2026-08-29 01:17:40 -03:00
2026-08-29 01:17:40 -03:00
2026-08-29 01:17:40 -03:00
2026-08-29 01:17:40 -03:00
2026-08-29 01:17:40 -03:00
2026-04-28 16:58:17 +07:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-07-02 10:47:13 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-07-11 11:21:52 -03:00
2026-07-11 11:21:52 -03:00
2026-06-21 08:56:51 -03:00
2026-08-06 22:54:42 -03:00
2026-08-27 22:14:57 -03:00
2026-08-29 01:17:40 -03:00
2026-08-29 01:17:40 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-06-21 08:56:51 -03:00
2026-06-22 03:17:02 -03:00
2026-05-08 17:35:43 -03:00
2026-06-29 08:40:06 -03:00
2026-08-29 01:17:40 -03:00
2026-06-14 10:45:22 -03:00
2026-05-03 00:37:08 -03:00
2026-05-03 00:37:08 -03:00
2026-06-14 10:45:22 -03:00
2026-05-03 00:37:08 -03:00
2026-08-20 20:34:19 -03:00
2026-06-25 13:17:40 -03:00
2026-05-03 00:37:08 -03:00
2026-06-19 06:49:01 -03:00
2026-06-19 06:49:01 -03:00
2026-06-19 06:49:01 -03:00
2026-08-29 01:17:40 -03:00
2026-06-14 10:45:22 -03:00
2026-06-20 07:09:43 -03:00
2026-06-14 10:45:22 -03:00
2026-07-18 15:12:43 -03:00
2026-06-27 09:07:12 -03:00
2026-08-29 01:17:40 -03:00
2026-08-20 13:10:58 -03:00
2026-08-29 01:17:40 -03:00
2026-06-19 06:49:01 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-06-29 08:40:06 -03:00
2026-08-29 01:17:40 -03:00
2026-06-29 08:40:06 -03:00
2026-05-03 00:37:08 -03:00
2026-08-29 01:17:40 -03:00
2026-07-18 15:12:43 -03:00
2026-06-14 10:45:22 -03:00
2026-05-03 00:37:08 -03:00
2026-05-03 09:14:20 -03:00
2026-07-06 23:53:52 -03:00
2026-08-08 23:24:11 -03:00
2026-08-06 11:09:05 -03:00
2026-06-27 09:07:12 -03:00
2026-06-28 06:58:29 -03:00
2026-06-29 08:40:06 -03:00
2026-06-30 06:54:29 -03:00
2026-08-07 20:52:23 -03:00
2026-07-07 20:08:27 -03:00
2026-04-27 03:53:05 +07:00
2026-06-20 07:09:43 -03:00
2026-06-21 08:56:51 -03:00
2026-04-28 16:58:17 +07:00
2026-04-28 16:58:17 +07:00
2026-06-28 06:58:29 -03:00
2026-07-22 07:03:02 -03:00
2026-06-23 17:06:18 -03:00
2026-06-23 17:06:18 -03:00
2026-06-19 06:49:01 -03:00
2026-05-06 02:29:25 -03:00