Use vendor member logo when productLogoUrl is omitted #163
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 287 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.339
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #163"
general
weight: 0.35
jeefy
Fixes #162
Problem
When the landscape generator creates a new entry, it always writes
logo: <platform>.svg, even whenproductLogoUrlis omitted or the downloadfails. The resulting cncf/landscape PR references a logo that doesn't exist.
Change
New entries now always reference a logo that exists in
hosted_logos/:1.
productLogoUrldownloads successfully → use it (unchanged).2. URL omitted or download fails → reuse the logo from the vendor's CNCF
member card (
<vendorName> (member)), asinstructions.mddocuments("If not supplied, we'll use your company logo"). There's already a precedent:
the NVKE entry uses
nvidia-member.svg. When this fallback is used, the PRbody says so, e.g. "added new entry using the vendor member logo (nvidia-member.svg)",
and names the
productLogoUrlif one was set but failed to download.3. No member card or logo file found → return an error and leave
landscape.ymlunchanged. The workflow fails, so a maintainer can setproductLogoUrlor add the logo by hand.The member lookup uses the same rule
validate.goapplies tovendorName:only cards in the "CNCF Members" category, with
(member)/(supporter)stripped, exact match. A submission that passes validation therefore always
finds its member card.
The existing-entry (
second_path) path is unchanged.Validation
near-misses,
(member)cards outside CNCF Members), logo resolution (downloadsucceeds, URL omitted, download fails, no member card, member logo file
missing), and
processProduct(uses the member logo; makes no write when nologo is available).
validate.yamlnow also runs thelandscape-tagged unit tests.cncf/landscapelandscape.ymlforall 42 distinct
vendorNamevalues in this repo: 32 matched, and everyreferenced logo exists in
hosted_logos/. The 10 that don't match (e.g.Amazon Web Services (AWS),Google,Baidu Cloud,The k0s Project) areolder submissions that the current validator would also reject. They'd now
error out instead of producing a broken entry if they submitted a new product
without a logo URL.
Independent of #160 / #161.