Skip to content

fix(release): disable detached maintenance in disposable Git fixtures - #14

Merged
jinxiao merged 1 commit into
mainfrom
fix/release-fixture-maintenance
Oct 4, 2026
Merged

jinxiao merged 1 commit into
mainfrom
fix/release-fixture-maintenance

Conversation

@jinxiao

@jinxiao jinxiao commented Oct 4, 2026

Copy link
Copy Markdown
Contributor

Issue

Closes #13
Refs #11

Summary

The first full-release preparation reached the hosted Documentation check, where short completion-gate tests failed while removing temporary Git repositories (Directory not empty). Git can detach automatic maintenance after a successful commit, allowing background writes to race TemporaryDirectory cleanup. Disable automatic maintenance and automatic GC only in disposable fixture repositories, before their first add/commit. Keep cleanup errors visible and avoid deletion retries.

Testing

The 14 existing release automation regressions passed locally with CGO_ENABLED=0. Hosted Linux checks are required before merge to confirm the observed cleanup failure is fixed.

Risks and compatibility

Only test fixture Git configuration changes. Production repository maintenance, Go modules, publication gates, and release plans are unchanged. No tags or Releases have been created. After merging this fix, regenerate the full-release preparation against the new main source so its frozen notes and first-parent identity remain valid.

Release notes

  • repository | fix | Keep release automation test repositories free of detached Git maintenance so cleanup completes reliably on hosted runners.

Checklist

  • The issue records the observed failure and acceptance criteria
  • Existing regression coverage exercises the affected completion-gate paths
  • CGO remains disabled and no cloud AWS tests were run
  • No credentials or generated artifacts are included

@jinxiao
jinxiao merged commit c882b36 into main Oct 4, 2026
4 checks passed
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.

[Bug]: Release fixture cleanup races detached Git maintenance on hosted CI

1 participant