-
Notifications
You must be signed in to change notification settings - Fork 35
Add 64 sub-issue limit with automatic parent rotation (keeps old parents open) #10608
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
…unnecessary throw Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
|
@copilot move helper to helper file and reuse in create-issue group as well |
|
@copilot do not close filled up parent, just create a new one and mention the old one in the description |
…both files Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done! Created |
Co-authored-by: pelikhan <4175913+pelikhan@users.noreply.github.com>
Done! Changed behavior to keep full parent issues open instead of closing them. When a parent reaches 64 sub-issues, a new parent is created with a note in the description referencing the previous parent: |
Implementation Complete: Parent Issue Sub-Issue Limit (64 max) ✅
Summary
Implemented automatic parent issue rotation when sub-issue count reaches 64, preventing GitHub API limits and maintaining clean issue organization. When a parent issue reaches capacity, it remains open and a new parent is created with a reference to the full parent.
Behavior
When a parent issue reaches 64 sub-issues:
> **Note:** This is a continuation parent issue. The previous parent issue #X reached the maximum of 64 sub-issues.Implementation Details
Shared Helper (
sub_issue_helpers.cjs):MAX_SUB_ISSUESconstant (64)getSubIssueCount()- queries GraphQL for sub-issue countsCore Logic (
handle_agent_failure.cjs):sub_issue_helpers.cjsensureParentIssue()- checks count before linking, creates new parent when limit reached (keeps old one open)Issue Grouping (
create_issue.cjs):sub_issue_helpers.cjsMAX_SUB_ISSUESinstead of local constantTest Coverage
Validation
Original prompt
💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.