Skip to content

CI: 40+ stale fix branches need cleanup after repeated agent retries #25

@erudenko

Description

@erudenko

Background

Multiple CI maintenance agent sessions have attempted to fix the same recurring CI failures (TypeScript type errors + stale stats test dates) since April 6, 2026. Because no fixes were merged, each session created a new fix branch, leading to 40+ fix/ci-* branches that are now stale and should be deleted.

Current state (as of April 11, 2026)

Open PRs (all address the same root cause)

PR Branch Status Issue
#22 fix/ci-typescript-and-stats-datesfix/ci-type-errors-and-stale-test-date Open Includes unrelated feature commits (kanban v1.3.0)
#23 fix/ci-typescript-and-stats-dates-resolvedfix/ci-type-errors-and-stale-test-date Open Supersedes #22, resolves a merge conflict, still has feature commits
#24 fix/ci-24065489776-ts-and-datesfix/ci-type-errors-and-stale-test-date Open Minimal CI-only fix — only the 3 unused import removals + stale date fix

Root cause (still unfixed in the source branch)

The fix/ci-type-errors-and-stale-test-date branch (where CI runs) still has:

  1. removeGitignoreEntries imported but unused in conventions-integration.test.ts
  2. vi imported but unused in doctor.test.ts
  3. existsSync imported but unused in conventions-manager.ts
  4. Hardcoded date "2026-03-26" in plugins/stats/tests/ that's outside rolling 7/14-day query windows

Stale branches to delete (representative list)

All of these address the same issue but were never merged:

  • fix/ci-23779059727, fix/ci-23849758228, fix/ci-23849758228-pnpm-workspace, fix/ci-23849758228-standalone
  • fix/ci-23971192917, fix/ci-23979261331, fix/ci-24022272585
  • fix/ci-24029941408, fix/ci-24029941414
  • fix/ci-24063290384, fix/ci-24065489776, fix/ci-24065489776-marketplace-version, fix/ci-24065489776-pr-attempt
  • fix/ci-all-24065489776, fix/ci-all-typescript-errors-consolidated
  • fix/ci-pnpm-* (multiple), fix/ci-remaining-type-errors*, fix/ci-test-plugins-* (multiple)
  • fix/ci-ts-unused-imports-and-stale-date, fix/ci-typecheck-*, fix/ci-typescript-and-stats-dates
  • fix/ci-unused-imports-typecheck, fix/ci-vitest-lockfile*, fix/ci-workspace-*

Recommended actions

  1. Merge PR fix(ci): remove 3 unused TS imports + fix stale stats dates + re-enable CI triggers #24 — it's the smallest, cleanest fix. Closes PRs fix(ci): remove unused TS imports + fix stale stats test dates #22 and fix(ci): resolve merge conflict — unused TS imports + stale stats test dates #23 as superseded.
  2. Delete all stale fix/ci-* branches listed above after merging.
  3. Consider why fixes aren't being merged: Agent sessions create PRs but no human reviewer merges them, causing the next agent session to retry and create more branches. Adding a reviewer or enabling auto-merge for CI-fix PRs would break this cycle.

https://claude.ai/code/session_01XKHSWpCzpLictKBTF8XVNH

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions