From ce15303c4cbacea8065386b748117ddc4f69ba1b Mon Sep 17 00:00:00 2001 From: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> Date: Tue, 3 Nov 2026 06:11:01 -0500 Subject: [PATCH] test(integration-materialize): document the gc.auto teardown rationale inline Signed-off-by: scanner <280983584+hivecommons-hive[bot]@users.noreply.github.com> --- .github/scripts/integration-materialize.test.cjs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/scripts/integration-materialize.test.cjs b/.github/scripts/integration-materialize.test.cjs index 363dd1a523..482a00d6ca 100644 --- a/.github/scripts/integration-materialize.test.cjs +++ b/.github/scripts/integration-materialize.test.cjs @@ -286,6 +286,8 @@ test('real Git plumbing produces exact deterministic prefixes and retains an act GIT_AUTHOR_DATE: clock.toISOString(), GIT_COMMITTER_DATE: clock.toISOString(), GIT_TERMINAL_PROMPT: '0', }; + // gc.auto/maintenance.auto off for the same reason as integration-governance.test.cjs: + // a background `git gc --auto` must not race the recursive rmSync teardown (ENOTEMPTY). const git = (args, env = {}) => execFileSync('git', ['-c', 'core.hooksPath=/dev/null', '-c', 'gc.auto=0', '-c', 'maintenance.auto=false', '--literal-pathspecs', ...args], {cwd: directory, env: {...environment, ...env}, encoding: 'utf8',