Skip to content

chore(card-data): refresh MTGJSON token & subtype catalogs - #6632

Merged
matthewevans merged 1 commit into
mainfrom
chore/refresh-card-data-catalogs
Jul 25, 2026
Merged

chore(card-data): refresh MTGJSON token & subtype catalogs#6632
matthewevans merged 1 commit into
mainfrom
chore/refresh-card-data-catalogs

Conversation

@matthewevans

@matthewevans matthewevans commented Jul 25, 2026

Copy link
Copy Markdown
Member

Automated refresh of the engine-embedded card-data catalogs from the latest MTGJSON publish.

  • crates/engine/data/known-tokens.toml — named-token catalog (tokens-gen)
  • crates/engine/data/oracle-subtypes.json — creature-subtype vocabulary (oracle-gen --write-subtypes)
  • crates/engine/data/mtgjson-vintage — vintage write-gate stamp

Generated by PHASE_REFRESH_MTGJSON=1 scripts/gen-card-data.sh; the vintage gate only promotes catalogs when the MTGJSON input date advances, so this diff reflects a genuine upstream data change. Review, then let it auto-merge once CI is green.

Summary by CodeRabbit

  • New Features

    • Added structured data for the Elf Warrior token, including stats, colors, sources, references, and image information.
    • Expanded token source-card associations, including Tolabow, Loch Rascal and Seize the Spoils.
  • Data Updates

    • Updated the MTGJSON vintage data date to July 25, 2026.

@matthewevans
matthewevans enabled auto-merge July 25, 2026 16:13
@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro Plus

Run ID: 4b3aa57c-ccea-45cf-9993-1b2dfa9fef0a

📥 Commits

Reviewing files that changed from the base of the PR and between 9110d68 and 6e6e6f2.

📒 Files selected for processing (2)
  • crates/engine/data/known-tokens.toml
  • crates/engine/data/mtgjson-vintage

📝 Walkthrough

Walkthrough

The known-token dataset adds an Elf Warrior record, extends source-card associations, and adjusts related TOML structure. The MTGJSON vintage marker advances from 2026-07-21 to 2026-07-25.

Changes

Token data refresh

Layer / File(s) Summary
Known token records
crates/engine/data/known-tokens.toml
Adds Secret Lair Drop metadata for the Elf Warrior token, extends existing source-card name and reference lists, and adjusts local TOML separation.
Vintage date marker
crates/engine/data/mtgjson-vintage
Updates the recorded vintage date from 2026-07-21 to 2026-07-25.

Estimated code review effort: 2 (Simple) | ~15 minutes

🚥 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 accurately reflects the main change: refreshing MTGJSON token-related catalogs and related data stamps.
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-card-data-catalogs

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

@matthewevans
matthewevans disabled auto-merge July 25, 2026 16:30
@matthewevans
matthewevans merged commit 0446b31 into main Jul 25, 2026
14 checks passed
@matthewevans
matthewevans deleted the chore/refresh-card-data-catalogs branch July 25, 2026 16:30
@github-actions

Copy link
Copy Markdown

Parse changes introduced by this PR

✓ No card-parse changes detected.

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