Repository navigation
fix(pm-stack/aggregator): validate project pool graph refs (#6224) - #6365
Merged
Merged
Conversation
developing-today
Bot
requested review from
a team and
dezren39
as code owners
November 5, 2026 19:24
|
Important Review skippedBot user detected. To trigger a single review, invoke the
|
…-edge-validation # Conflicts: # pm-stack/aggregator/src/render.ts
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.
Fixes #6224
A Project-pool item whose
blockedBy/blocks(orparentRef/epicRef) edge fails the sharedisValidRefrule (#4952) no longer 500s the project page or throws the brief:isProjectPoolIteminprojects.tsnow validates every present edge ref throughisValidRefinstead of shape-only string checks — a malformed edge fails the item individually inpoolFromFeed, per the gate's existing fail-soft contract.brief.ts: malformed blockers are omitted and counted; the brief states the omission instead of throwing inrefUrl, and the next action flags the malformed edges.graph.ts:blockedSummary/hasGraphEdgesignore invalid refs.epic-graph.ts/epics.ts: edges, blockers, and dependents are filtered throughisValidRef.render.ts: newpoolRefLinkhelper renders a valid ref as a link and an invalid ref as plain text; used by the pool-graph chain, the per-epic ranked list, and the dependency list.blockedBy, non-repo-qualifiedblockedBy, and unsafeblocks, each with a valid-ref control (brief, epic-graph, feed gate, graph/render).Verification (laptop, worktree at this branch after merging current main):
brief / epic-graph / feed / graph / projects: 141 pass, 0 fail.test/wip.test.ts,test/render.test.ts,test/meta-refresh.test.ts) — the same timeout/flaky pattern seen on clean main; no failing test touches the files in this diff.Queue: task 10537 (tracking issue #6226).
Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.