chore: refresh metagame feeds - #6810
Conversation
📝 WalkthroughWalkthroughThe MTGGoldfish feeds receive daily timestamp updates. Commander deck data is substantially regenerated, Codsworth entries are adjusted, and the Modern deck list replaces Boros Ponza with Neobrand. ChangesMTGGoldfish feed refresh
Estimated code review effort: 4 (Complex) | ~45 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@client/public/feeds/mtggoldfish-commander.json`:
- Around line 2470-2473: Normalize the Muldrotha, the Gravetide deck entry in
client/public/feeds/mtggoldfish-commander.json: set its colors to ["B","U","G"]
at lines 2470-2473, and clean every card name in lines 2478-2805 by removing
[SET], <collector>/<precon>/UUID, and (F) annotations so names resolve normally.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Pro Plus
Run ID: e7602767-7994-47f8-b90d-d651c1a4d96f
📒 Files selected for processing (4)
client/public/feeds/mtggoldfish-commander.jsonclient/public/feeds/mtggoldfish-modern.jsonclient/public/feeds/mtggoldfish-pioneer.jsonclient/public/feeds/mtggoldfish-standard.json
| { | ||
| "name": "Muldrotha, the Gravetide", | ||
| "author": "MTGGoldfish", | ||
| "colors": [], |
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
The "Muldrotha, the Gravetide" deck was ingested in an unnormalized format. Unlike every other deck in this feed, this one entry has an empty colors array and carries raw decklist-export annotations on every card name — both symptoms of the scraper writing this deck through a path that skips name/color normalization. validateFeed in client/src/services/feedService.ts accepts it (non-empty strings, colors is an array), so the breakage surfaces only at card-lookup time.
client/public/feeds/mtggoldfish-commander.json#L2470-L2473: populatecolorswith Muldrotha's["B","U","G"]identity instead of[].client/public/feeds/mtggoldfish-commander.json#L2478-L2805: strip[SET],<collector>/<precon>/UUID, and(F)suffixes from everynameso cards resolve and commander inference matches"Muldrotha, the Gravetide".
📍 Affects 1 file
client/public/feeds/mtggoldfish-commander.json#L2470-L2473(this comment)client/public/feeds/mtggoldfish-commander.json#L2478-L2805
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@client/public/feeds/mtggoldfish-commander.json` around lines 2470 - 2473,
Normalize the Muldrotha, the Gravetide deck entry in
client/public/feeds/mtggoldfish-commander.json: set its colors to ["B","U","G"]
at lines 2470-2473, and clean every card name in lines 2478-2805 by removing
[SET], <collector>/<precon>/UUID, and (F) annotations so names resolve normally.
Automated daily metagame feed refresh from MTGGoldfish.
Summary by CodeRabbit