Repository navigation
Conversation
Fetch each issue's parent and first 50 sub-issues in the node query and record the link as a new `sub-issue` edge from child to parent. The crawl follows a parent to its sub-issues under the usual depth, budget, hub and cross-repo rules, and records each link once on the child. The edge is hierarchy only. It never counts as a closing link, a solution or an inbound reference for Heat. The dashboard labels it "sub-issue of" and "parent of", and the docs list the new 50 sub-issue limit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Read the sub-issue totalCount and record `subIssueTotal` when a parent has more sub-issues than the query reads, with a "read N of M" line in the report. The "Hubs not expanded" list now counts references and sub-issues together, matching what the hub guard measures. The graph docs and the core skill say that sub-issues count toward the hub threshold. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
@LarsBuur is attempting to deploy a commit to the Vercel Labs Team on Vercel. A member of the Team first needs to authorize it. |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Problem
The graph only saw a sub-issue when something else connected it to its parent, like a mention in the body or a cross-reference on the timeline. A sub-issue added through GitHub's sub-issue feature with nothing else linking it was missing from the crawl, so the graph could leave an epic's children out.
Change
parentand its first 50subIssues, withtotalCount. A newsub-issueedge points from the child to its parent. The parent's children go insubIssues, so the crawl can reach them from either end. Each link is recorded once, on the child, including when the child's own fetch failed.sub-issueedge is hierarchy only. It never counts as a closing link, a solution, a competing or superseded fix, or an inbound reference for Heat.subIssueTotal, and the report adds a "sub-issues: read N of M (per-node limit)" line.Testing
issue-graph graph cli/cli#14563 --depth 2on a real epic. The seed's sub-issue cli/cli#14529 now showssub-issue of → cli/cli#14563, and #14529's six[Design]sub-issues each showsub-issue of → cli/cli#14529.Main reaches the same 34 nodes on that run, because those issues also link to each other through mentions and cross-references. The new edges reach extra issues when the sub-issue relationship is the only link between them.