Skip to content

Disable automatic Git maintenance#2522

Open
tianrking wants to merge 1 commit into
actions:mainfrom
tianrking:agent/disable-git-maintenance
Open

Disable automatic Git maintenance#2522
tianrking wants to merge 1 commit into
actions:mainfrom
tianrking:agent/disable-git-maintenance

Conversation

@tianrking

Copy link
Copy Markdown

Summary

  • disable maintenance.auto as well as the legacy gc.auto on the primary checkout
  • apply the same pair of settings to every checked-out submodule
  • cover both configuration writes with a command-manager regression test
  • regenerate the committed action bundle

Git 2.54's default background maintenance is no longer governed by gc.auto. Disabling both settings prevents an asynchronous maintenance run from mutating shallow metadata while checkout is deepening history.

Fixes #2437

Validation

  • npm run format-check
  • npm test (129 passed)
  • npm run build
  • git diff --check

npm run lint is currently blocked in this Windows checkout by repository-wide pre-existing CRLF and TypeScript .js-import resolver findings, including files outside this change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Should set maintenance.auto = false instead of (or in addition to) gc.auto = 0

1 participant