Bohan Jiang and multica-agent
81f0fb418a
test(execenv): stop the test repo template racing git auto maintenance ( #8730 )
...
The shared template repo is built once per test binary and handed to every
test as an os.CopyFS copy, so nothing may write inside it after
buildTestRepoTemplate returns. git commit breaks that: it forks a detached
`git maintenance run --auto` and returns without waiting, leaving a
background process that creates and removes lock files under .git/.
CopyFS then lists .git/objects/maintenance.lock and fails to open it once
maintenance has removed it, failing whichever test happened to call
newTestRepo at that moment — most recently
TestGitRootLockTimeoutDoesNotAdviseDeletingTheLock on an auth-only PR
(#8706 ), which touches nothing in this package.
Disable auto maintenance in the template's config. Copies inherit it, so the
git commands tests run against their own copy cannot spawn a background
process that races their assertions either.
Co-authored-by: multica-agent <[email protected] >
2026-09-23 14:38:02 +08:00
..
2026-08-11 19:01:34 +08:00
2026-08-12 15:36:39 +08:00
2026-07-15 00:48:30 +08:00
2026-04-13 18:23:41 +08:00
2026-04-13 18:23:41 +08:00
2026-08-09 16:40:07 +08:00
2026-09-10 15:25:14 +08:00
2026-05-25 15:17:38 +08:00
2026-05-25 15:17:38 +08:00
2026-04-29 17:17:09 +08:00
2026-04-29 17:17:09 +08:00
2026-08-09 16:40:07 +08:00
2026-07-31 15:42:06 +08:00
2026-07-20 13:44:43 +08:00
2026-07-20 13:44:43 +08:00
2026-04-29 14:06:29 +08:00
2026-04-29 14:06:29 +08:00
2026-08-11 13:51:50 +08:00
2026-08-11 13:51:50 +08:00
2026-08-11 13:51:50 +08:00
2026-07-21 15:18:44 +08:00
2026-07-09 14:35:11 +08:00
2026-09-03 18:57:35 +08:00
2026-08-12 14:29:12 +08:00
2026-08-12 14:29:12 +08:00
2026-08-21 17:38:44 +08:00
2026-08-21 17:38:44 +08:00
2026-09-14 14:33:50 +08:00
2026-09-22 13:27:52 +08:00
2026-09-10 15:25:14 +08:00
2026-08-21 00:36:59 +08:00
2026-09-14 14:33:50 +08:00
2026-08-24 01:12:39 +08:00
2026-08-13 16:05:06 +08:00
2026-08-13 14:20:52 +08:00
2026-09-21 16:25:13 +08:00
2026-08-13 14:20:52 +08:00
2026-08-13 14:20:52 +08:00
2026-08-13 14:20:52 +08:00
2026-08-13 14:20:52 +08:00
2026-09-17 16:33:25 +08:00
2026-09-14 14:33:50 +08:00
2026-07-20 15:30:18 +08:00
2026-08-26 16:34:10 +08:00
2026-07-20 15:30:18 +08:00
2026-09-03 20:04:35 +08:00
2026-09-16 17:29:41 +08:00
2026-09-16 17:29:41 +08:00
2026-09-23 14:38:02 +08:00
2026-09-01 13:50:52 +08:00
2026-08-19 15:30:19 +08:00
2026-08-28 15:53:09 +08:00
2026-08-28 15:53:09 +08:00
2026-09-22 16:22:28 +08:00
2026-09-22 16:22:28 +08:00
2026-09-22 16:22:28 +08:00
2026-09-22 16:22:28 +08:00
2026-09-22 16:22:28 +08:00
2026-09-03 12:33:39 +08:00
2026-09-14 14:33:50 +08:00
2026-08-28 14:04:10 +08:00
2026-09-14 14:33:50 +08:00
2026-07-29 16:30:35 +08:00
2026-07-29 16:30:35 +08:00
2026-09-03 18:57:35 +08:00
2026-08-05 13:24:58 +08:00
2026-08-05 13:24:58 +08:00
2026-08-11 18:15:53 +08:00
2026-08-11 18:15:53 +08:00
2026-08-11 18:15:53 +08:00
2026-08-11 18:15:53 +08:00
2026-07-20 15:30:47 +08:00
2026-09-21 16:46:52 +08:00
2026-09-21 16:46:52 +08:00
2026-09-21 16:46:52 +08:00
2026-06-02 18:23:57 +08:00
2026-08-26 16:34:10 +08:00
2026-09-02 00:44:58 +08:00
2026-09-03 13:23:25 +08:00
2026-08-12 01:26:03 +08:00
2026-09-14 15:52:59 +08:00
2026-09-22 13:27:52 +08:00
2026-09-21 18:29:50 +08:00
2026-09-07 15:32:35 +08:00
2026-09-20 17:10:08 +08:00
2026-09-22 13:27:52 +08:00
2026-09-18 17:46:06 +08:00
2026-09-20 14:57:49 +08:00
2026-07-22 15:38:38 +08:00
2026-07-22 15:38:38 +08:00
2026-08-31 12:30:59 +08:00
2026-09-03 18:57:35 +08:00
2026-07-30 21:21:13 +08:00
2026-09-03 18:57:35 +08:00
2026-07-31 13:27:50 +08:00
2026-08-21 17:38:44 +08:00
2026-08-21 17:38:44 +08:00
2026-08-21 17:38:44 +08:00
2026-08-21 17:38:44 +08:00