Skip to content

docs: document automatic stale branch cleanup in maintenance guide - #421

Open
mefellows wants to merge 1 commit into
masterfrom
feat/stale-branch-cleanup-docs
Open

docs: document automatic stale branch cleanup in maintenance guide#421
mefellows wants to merge 1 commit into
masterfrom
feat/stale-branch-cleanup-docs

Conversation

@mefellows

Copy link
Copy Markdown
Member

Summary

Documents the automatic stale branch cleanup feature introduced in:

Changes to website/docs/pact_broker/administration/maintenance.md

  • Adds stale branches to the "Categories of removable data" list
  • New "How the stale branch cleaning works" section explaining the lifecycle, main_branch protection, and batching behaviour
  • New "Configuring the 'keep branch' selectors" section with property reference, examples, and default ([{"max_age": 90}])
  • Extends Configuration options with a CleanTask Rakefile example covering keep_branch_selectors and branch_deletion_limit for non-Docker users

Not changed

website/docs/pact_broker/docker_images/pactfoundation.md is auto-synced from the docker repo README — the env var documentation is covered by pact-foundation/pact-broker-docker#338.

Test plan

  • Verify the maintenance page renders correctly on a local Docusaurus build
  • Check all internal links resolve

🤖 Generated with Claude Code

Covers the stale branch cleanup feature added in
pact-foundation/pact_broker#912 and #933:

- Adds stale branches to the categories of removable data
- New "How the stale branch cleaning works" section
- New "Configuring the keep branch selectors" section with examples
  and default behaviour
- Extends the Configuration options section with a CleanTask Rakefile
  example covering both keep_branch_selectors and branch_deletion_limit

The pactfoundation.md Docker image doc is synced from
pact-foundation/pact-broker-docker and is covered by PR #338 there.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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.

1 participant