Skip to content

automation: branch-cleanup - add cleanup enhancements #1235

Description

@ashleyshaw

Task Summary

Implement automated branch cleanup with categorization reporting.

Acceptance Criteria

  • cleanup-branches.js enhanced with categorization
  • 16 new tests added to cleanup-branches.test.js
  • npm scripts configured in package.json
  • 742 tests passing (comprehensive coverage)

Steps / Checklist

Scope

  • Enhanced cleanup-branches.js with --report-only mode
  • Branch type categorization (feat/, fix/, chore/, etc.)
  • Per-type metrics: count, commits, storage, authors
  • npm scripts: cleanup:report, cleanup:categorize, cleanup:categorize:json

Dependencies

Parent Issue: Relates to #1234 (Repository Maintenance Infrastructure)

Related Issues:

Additional Context

Project: Repository Maintenance Infrastructure

Status: Completed — Validated against reference data, repository confirmed clean


Definition of Ready (DoR)

  • Task described and scoped
  • Estimate added if relevant

Definition of Done (DoD)

  • Task completed and documented
  • Changelog entry prepared for PR
  • PR uses correct branch prefix

Related issues: #1234, #1211, #1222, #1204

Activity

  1. self-assigned this
    on Jul 24, 2026
  2. linear-code commented on Jul 24, 2026

    @linear-code
  3. added this to the v1.0 milestone on Jul 24, 2026
  4. github-actions commented on Jul 24, 2026

    @github-actions
    Contributor

    Metadata governance

  5. github-actions commented on Jul 24, 2026

    @github-actions
    Contributor

    ⏱️ Aging and SLA annotation

    • Age: 12 day(s)
    • SLA state: SLA risk
    • Thresholds: warn at 7 days, breach at 14 days
    • Last updated: 2026-08-05T11:18:21.462Z

    Maintained by project-meta-sync workflow.

  6. github-actions commented on Jul 24, 2026

    @github-actions
    Contributor

    ✅ Template check passed after update. Thanks for fixing the issue body.

  7. added theissue type on Jul 26, 2026
  8. changed the issue type fromtoon Jul 26, 2026
  9. modified the milestones: v1.0, v1.1 on Aug 29, 2026
  10. github-actions commented on Sep 8, 2026

    @github-actions
    Contributor

    ⚠️ Bare Labels Detected

    This issue has labels that are not in the canonical taxonomy:

    • migrate:priority:normal
    • migrate:type:automation

    Valid Canonical Labels

    Please use labels with a prefix from the canonical taxonomy:

    • Type: type:bug, type:feature, type:task, type:documentation, etc.
    • Status: status:needs-triage, status:in-progress, status:done, etc.
    • Priority: priority:critical, priority:high, priority:normal, priority:low
    • Area: area:ci, area:docs, area:labels, area:security, etc.
    • Meta: meta:needs-changelog, meta:duplicate, meta:blocked, etc.

    For the complete list, see .github/labels.yml.

  11. changed the title [-]Automated Branch Cleanup Enhancement[/-] [+]automation: branch-cleanup - add cleanup enhancements[/+] on Sep 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Fields

Priority

None yet

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions