Skip to content

chore: refresh metagame feeds - #6723

Merged
matthewevans merged 1 commit into
mainfrom
chore/refresh-metagame-feeds
Jul 28, 2026
Merged

chore: refresh metagame feeds#6723
matthewevans merged 1 commit into
mainfrom
chore/refresh-metagame-feeds

Conversation

@matthewevans

@matthewevans matthewevans commented Jul 28, 2026

Copy link
Copy Markdown
Member

Automated daily metagame feed refresh from MTGGoldfish.

Summary by CodeRabbit

  • Data Updates
    • Refreshed Commander, Modern, Pioneer, and Standard deck feeds with the latest available data.
    • Updated decklists, card selections, sideboards, deck ordering, and available archetypes across Commander, Modern, and Pioneer.
    • Added or replaced several featured deck entries, including Boros Ponza, Mono-Green Eldrazi, and Azorius Control.
    • Updated feed timestamps to reflect the latest refresh.

@matthewevans
matthewevans enabled auto-merge July 28, 2026 08:34
@coderabbitai

coderabbitai Bot commented Jul 28, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

Changes

The MTGGoldfish feed snapshots are refreshed for Commander, Modern, Pioneer, and Standard. Deck ordering, archetype entries, card lists, colors, sideboards, and update timestamps are regenerated where applicable.

MTGGoldfish feed refresh

Layer / File(s) Summary
Commander deck snapshot
client/public/feeds/mtggoldfish-commander.json
Commander deck ordering and contents are rewritten across multiple entries, including Doctor Doom, Kaalia, The Ur-Dragon, Edgar Markov, Y’shtola, and Valgavoth.
Modern deck snapshot
client/public/feeds/mtggoldfish-modern.json
The feed timestamp and deck data are refreshed, including a replacement for Izzet Prowess and new Boros Ponza and Mono-Green Eldrazi entries.
Pioneer deck snapshot
client/public/feeds/mtggoldfish-pioneer.json
Golgari Midrange, Dimir Midrange, Azorius Control, Orzhov Greasefang, and Mono-Black Midrange decklists are updated.
Standard feed metadata
client/public/feeds/mtggoldfish-standard.json
The top-level update timestamp advances to the new snapshot date.

Estimated code review effort: 4 (Complex) | ~45 minutes

Possibly related PRs

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly matches the PR’s purpose: a daily refresh of MTGGoldfish metagame feeds.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/refresh-metagame-feeds

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Actionable comments posted: 4

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
client/public/feeds/mtggoldfish-pioneer.json (1)

249-260: 🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Feed generator emits un-merged duplicate rows for the same card name. Three decks in the Pioneer feed contain the same card twice in one list, so true per-card totals are only visible after summing rows — any per-entry copy-limit check or per-row UI render is wrong.

  • client/public/feeds/mtggoldfish-pioneer.json#L249-L260: merge the second Sentinel of the Nameless City, Overgrown Tomb, and Culling Ritual rows into their earlier entries in Golgari Midrange's main.
  • client/public/feeds/mtggoldfish-pioneer.json#L920-L923: merge this Plains row into the earlier Plains entry in Orzhov Greasefang's main.
  • client/public/feeds/mtggoldfish-pioneer.json#L1292-L1295: merge this Swamp row into the earlier Swamp entry in Mono-Black Midrange's main (single 14-count row).
🤖 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-pioneer.json` around lines 249 - 260, Merge
duplicate card rows into the earlier entry so each affected deck’s main list has
one row per card with summed totals: in
client/public/feeds/mtggoldfish-pioneer.json at lines 249-260, combine the
duplicate Sentinel of the Nameless City, Overgrown Tomb, and Culling Ritual
rows; at lines 920-923, merge the duplicate Plains row; and at lines 1292-1295,
merge the duplicate Swamp row into the single 14-count entry.
🤖 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 12-16: The Commander colors metadata is narrower than the cards’
color identities and must be corrected in both listed sites. In
client/public/feeds/mtggoldfish-commander.json lines 12-16, update Doctor Doom,
King of Latveria’s colors to include U, B, and R; in lines 1375-1381, update The
Ur-Dragon’s colors to include W and U alongside R, G, and B.
- Around line 3492-3495: Remove the “[DSC]” set-code suffix from the Spiked
Corridor // Torture Pit feed entry so its name is the exact card name used by
the card database. Preserve the count and other entry fields, and ensure feed
generation does not reintroduce set annotations into card names.

In `@client/public/feeds/mtggoldfish-pioneer.json`:
- Around line 1292-1295: Merge the duplicate “Swamp” entries in the feed data
into one row with a count of 14, removing the second entry while preserving the
existing card name and list structure.
- Around line 920-923: Merge the duplicate Plains entries in the feed data into
a single Plains object, summing their count values while preserving the existing
entry structure.

---

Outside diff comments:
In `@client/public/feeds/mtggoldfish-pioneer.json`:
- Around line 249-260: Merge duplicate card rows into the earlier entry so each
affected deck’s main list has one row per card with summed totals: in
client/public/feeds/mtggoldfish-pioneer.json at lines 249-260, combine the
duplicate Sentinel of the Nameless City, Overgrown Tomb, and Culling Ritual
rows; at lines 920-923, merge the duplicate Plains row; and at lines 1292-1295,
merge the duplicate Swamp row into the single 14-count entry.
🪄 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: 6e010f13-1311-497d-853a-bd3b59203a47

📥 Commits

Reviewing files that changed from the base of the PR and between 3878a70 and 4122317.

📒 Files selected for processing (4)
  • client/public/feeds/mtggoldfish-commander.json
  • client/public/feeds/mtggoldfish-modern.json
  • client/public/feeds/mtggoldfish-pioneer.json
  • client/public/feeds/mtggoldfish-standard.json

Comment on lines +12 to 16
"name": "Doctor Doom, King of Latveria",
"author": "MTGGoldfish",
"colors": [
"W"
"U"
],

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Commander colors is not derived from the decklist or the commander's color identity. Two refreshed Commander decks declare a color set narrower than the cards they contain, which misclassifies them in feed filtering and contradicts CR 903.4.

  • client/public/feeds/mtggoldfish-commander.json#L12-L16: Doctor Doom, King of Latveria is declared mono-U but the list is Grixis (Bedevil, Terminate, Dark Ritual, Vandalblast) — set colors to ["U","B","R"].
  • client/public/feeds/mtggoldfish-commander.json#L1375-L1381: The Ur-Dragon is declared ["R","G","B"] but contains Flooded Strand, Mana Drain, Dragonlord Dromoka, and Silumgar — add W and U.
📍 Affects 1 file
  • client/public/feeds/mtggoldfish-commander.json#L12-L16 (this comment)
  • client/public/feeds/mtggoldfish-commander.json#L1375-L1381
🤖 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 12 - 16, The
Commander colors metadata is narrower than the cards’ color identities and must
be corrected in both listed sites. In
client/public/feeds/mtggoldfish-commander.json lines 12-16, update Doctor Doom,
King of Latveria’s colors to include U, B, and R; in lines 1375-1381, update The
Ur-Dragon’s colors to include W and U alongside R, G, and B.

Comment on lines 3492 to 3495
{
"count": 1,
"name": "Ohran Frostfang"
"name": "Spiked Corridor // Torture Pit [DSC]"
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win

Card name carries a set-code suffix, unlike every other entry in the feed.

"Spiked Corridor // Torture Pit [DSC]" embeds [DSC], so exact-name resolution against the card database will miss this entry while all sibling names resolve. Strip the set annotation during feed generation so the scraper output is uniformly exact card names.

🔧 Proposed fix
-          "name": "Spiked Corridor // Torture Pit [DSC]"
+          "name": "Spiked Corridor // Torture Pit"
📝 Committable suggestion

‼️ IMPORTANT
Carefully review the code before committing. Ensure that it accurately replaces the highlighted code, contains no missing lines, and has no issues with indentation. Thoroughly test & benchmark the code to ensure it meets the requirements.

Suggested change
{
"count": 1,
"name": "Ohran Frostfang"
"name": "Spiked Corridor // Torture Pit [DSC]"
},
{
"count": 1,
"name": "Spiked Corridor // Torture Pit"
},
🤖 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 3492 - 3495,
Remove the “[DSC]” set-code suffix from the Spiked Corridor // Torture Pit feed
entry so its name is the exact card name used by the card database. Preserve the
count and other entry fields, and ensure feed generation does not reintroduce
set annotations into card names.

Comment on lines 920 to 923
{
"count": 1,
"name": "Plains"
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win

Second Plains entry duplicates Line 912-915.

Same un-merged-row pattern as the Golgari list; emit one entry with the summed count.

🤖 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-pioneer.json` around lines 920 - 923, Merge
the duplicate Plains entries in the feed data into a single Plains object,
summing their count values while preserving the existing entry structure.

Comment on lines +1292 to 1295
{
"count": 7,
"name": "Swamp"
},

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🗄️ Data Integrity & Integration | 🟡 Minor | ⚡ Quick win

Second Swamp entry duplicates Line 1268-1271.

7 + 7 should be a single 14-count row; splitting it repeats the un-merged-row pattern seen in the Golgari and Orzhov lists.

🤖 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-pioneer.json` around lines 1292 - 1295, Merge
the duplicate “Swamp” entries in the feed data into one row with a count of 14,
removing the second entry while preserving the existing card name and list
structure.

@matthewevans
matthewevans added this pull request to the merge queue Jul 28, 2026
Merged via the queue into main with commit 3c45f1e Jul 28, 2026
15 checks passed
@matthewevans
matthewevans deleted the chore/refresh-metagame-feeds branch July 28, 2026 09:03
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