mirror of
https://github.com/garrytan/gstack.git
synced 2026-11-03 23:37:53 +01:00
test(qa-callers): disable git auto maintenance in the caller fixture
Git 2.47+ runs auto maintenance detached after commit; on the CI runner's git 2.55 it rewrote .git/objects fan-out directories while the write observer was running, which surfaced as unauthorized mutations. Same gc.auto=0 / maintenance.auto=false guard the shared-libs fixture already uses.
This commit is contained in:
1 parent
e7a9393ea9
commit
a23eefc044
1 file changed
+2
@@ -545,6 +545,8 @@ process.exit(exit ?? 127);
|
||||
run('config', 'user.name', 'QA Caller Fixture');
|
||||
run('config', 'user.email', 'qa-caller-fixture@gstack.test');
|
||||
run('config', 'commit.gpgsign', 'false');
|
||||
run('config', 'gc.auto', '0');
|
||||
run('config', 'maintenance.auto', 'false');
|
||||
fs.writeFileSync(path.join(cwd, '.gitignore'), 'reports/\n.gstack/\n.qa-state/\ncaller-*.md\n');
|
||||
run('add', '.');
|
||||
run('commit', '-m', 'Seed caller fixture');
|
||||
|
||||
Reference in new issue
Block a user