GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||||||||||||||||||||||||||||||||||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||||||||||||||||||||||||||||||||||||||
GeezerVison is showing github.com — feat(pm-stack): add design spawn rollups by dezren39 · Pull Request #12283 · developing-today/code Conversation
|
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 54 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: 77a4bc63d8
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| const children = childrenByParent.get(item.parentRef) ?? []; | ||
| children.push(item); | ||
| childrenByParent.set(item.parentRef, children); |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Deduplicate child issues before counting progress
When a child issue belongs to more than one collected board, fetchProjectBoardsSnapshot preserves a separate pool row for each membership and then runs this resolver over their concatenation. Adding every row to childrenByParent counts that issue multiple times in inProgress, while total and done still count distinct GitHub sub-issues. For example, one active child present on two boards produces total: 1, inProgress: 2. Deduplicate children by issue ref and resolve their board-specific statuses consistently before computing the count.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Addressed in d1e3344: child rollup counts now deduplicate by issue ref across board rows, with a regression test for the repeated membership case. Verified by bun --smol test test/projects.test.ts (37 passed, 169 assertions) and bun run typecheck.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| const isDesign = item.labels?.some((label) => label === "design" || label.startsWith("design/")); | ||
| const summary = item.subIssuesSummary; | ||
| if (!isDesign || !summary) { |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Recognize existing tracking-design markers in rollups
For design tracking issues marked only with kind/design or Project Kind Design, this predicate returns false and removes the rollup even when an authoritative sub-issue summary is available. These are already recognized as tracking designs by deriveGenealogy in src/genealogy.ts, and kind/design is also recognized by release accounting in src/releases.ts. Include those existing markers so a design represented in the genealogy API does not silently lose its spawn counts merely because it lacks a design/<name> family label.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Addressed in d1e3344: rollups recognize the existing kind/design label and Project Kind Design, with regression coverage for both markers. Verified by bun --smol test test/projects.test.ts (37 passed, 169 assertions) and bun run typecheck.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Here are some automated review suggestions for this pull request.
Reviewed commit: d1e33449c7
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Sorry, something went wrong.
There was an error while loading. Please reload this page.
| total: summary.total, | ||
| done: summary.completed, | ||
| inProgress: inProgressRefs.size, | ||
| blocking: (item.blockedBy ?? []).filter((ref) => directChildRefs.has(ref)).sort(), |
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Exclude completed children from blocking spawn refs
When a direct spawned child is closed but its blockedBy relationship remains, this filter still includes it in spawnRollup.blocking because it checks only parentage, not the child's state. The API consequently reports a completed spawn as still blocking, contradicting the existing resolution semantics in src/graph.ts (blockerUnresolved) and src/brief.ts, which treat closed/merged blockers as resolved. Filter the direct children by unresolved state before computing the blocking intersection.
Useful? React with 👍 / 👎.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
The reason will be displayed to describe this comment to others. Learn more.
Resolved by existing follow-up commit db207c6: the blocking intersection now includes only open direct children, with a regression case for a closed direct child. Verified by bun --smol test test/projects.test.ts (37 passed, 169 assertions) and bun run typecheck.
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Picked up queue task 21064 to shepherd PR #12283. Revalidating review findings, mergeability, and current-main state before taking action. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
|
Shepherded and merged PR #12283 after refreshing it against current main. All review findings are addressed; targeted tests and typecheck pass. Merge commit: 2e7fe32. No closing issue references were attached. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.