-
Notifications
You must be signed in to change notification settings - Fork 9
Closed
Description
Summary
cleanup.ts hardcodes GitHubService and references GitHub issue/PR #X. Fix to use IssueTrackerFactory and format IDs correctly.
Context
Part of Epic #595. The cleanup command currently assumes GitHub is the issue tracker, which produces incorrect output for Jira and Linear users.
Files to Modify
src/commands/cleanup.ts— Load settings, useIssueTrackerFactory.formatIssueId()(~4 sites). Also replace "GitHub issue/PR" text with generic "issue/PR".
Acceptance Criteria
-
cleanup.tsno longer hardcodesGitHubServicefor issue ID formatting - Uses
IssueTrackerFactory.formatIssueId()for all user-facing issue references - "GitHub issue/PR" text replaced with generic "issue/PR" where appropriate
- Cleanup test expectations updated
-
pnpm buildpasses -
pnpm testpasses
Scope Boundaries
- Do NOT change PR-specific references if they're GitHub-only operations
Dependencies
- Blocked by: Add
formatIssueIdtoIssueTrackerinterface andIssueTrackerFactory#596 (AddformatIssueIdinterface and implementations)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Done