Skip to content

Include vendor-merge-into relationships in combined views - #59

Merged
adulau merged 1 commit into
mainfrom
codex/include-vendor-merge-in-combined-views
Oct 15, 2026
Merged

adulau merged 1 commit into
mainfrom
codex/include-vendor-merge-in-combined-views

Conversation

@adulau

@adulau adulau commented Oct 15, 2026

Copy link
Copy Markdown
Member

Approved vendor-merge-into relationships describe vendor/product normalization, but combined views omitted their records. Include this type in the shared relationship set so vendor product lists, product CPE lists, and graph membership follow merge links in either direction and through chains. This builds on the merged rename support in #58.

Keep superseded-by and derived-from excluded: replacement and provenance do not establish a shared product identity. Document the eligible types and this distinction in the README and code.

Validation: full pytest suite — 79 passed. Extended regression tests reproduce the merge omission before the fix and cover vendor/product merge chains from both ends, CPE aggregation, graph membership, unrelated product tokens, and exclusion of replacement/provenance links while keeping them visible in the graph.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-15T15:16:40.922109Z b643ce7 PR opened
🔒 Security Review ✅ Completed 2026-10-15T15:16:35.092739Z b643ce7 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@adulau
adulau merged commit 39944cc into main Oct 15, 2026
1 check passed

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b643ce73ab

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

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".

Comment thread app/views.py
"canonical-of",
"equivalent-to",
"renamed-to",
"vendor-merge-into",

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Traverse mixed vendor/product merge chains to a fixed point

When a product-level vendor-merge-into link reaches a product whose vendor participates in another merge, _collect_related_products_for_combined_view does not revisit vendor relationships after adding that product. For example, with product A → product B and B's vendor → vendor C, opening A omits the same-token product under C, while opening B or C includes all three. This makes the newly supported merge chains endpoint-dependent; the vendor and product traversals need to feed each other until no new records are found.

Useful? React with 👍 / 👎.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant