Skip to content

Fix pricing for new Pokémon releases#54

Merged
poketonova merged 2 commits into
mainfrom
fix/en-pokemon-price-fallback
Jul 18, 2026
Merged

Fix pricing for new Pokémon releases#54
poketonova merged 2 commits into
mainfrom
fix/en-pokemon-price-fallback

Conversation

@poketonova

Copy link
Copy Markdown
Collaborator

Summary

  • add a CI-built, exact-keyed English Pokémon TCGplayer price fallback for cards whose pokemontcg.io payload omits tcgplayer.prices
  • keep live variant prices authoritative while backfilling existing caches and all search, import, add, deck, set, and shelf price paths
  • cover Ascended Heroes onward, including an explicit source-ID mapping for Pitch Black, and preserve $0/mid-only prices

Root cause

Starting with Ascended Heroes (me2pt5), pokemontcg.io continues to return card metadata but omits the embedded price object. Rarebox previously had no secondary source for English Pokémon spot prices.

Asset coverage

  • Ascended Heroes (me2pt5): 295 cards
  • Perfect Order (me3): 124 cards
  • Chaos Rising (me4): 122 cards
  • Pitch Black (me5): 120 cards

Verification

  • npm run eval:harness
  • npm run eval:danger
  • npm run build
  • git diff --check
  • npm run smoke:browser attempted; skipped cleanly because Chrome is unavailable in the environment

Notes

  • live pokemontcg.io prices remain authoritative
  • fallback data is generated backend-side in the existing daily refresh workflow and cached for offline use
  • no collection schema migration is required

@vercel

vercel Bot commented Jul 18, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
pokemon-collectr Ready Ready Preview, Comment Jul 18, 2026 9:31pm

@poketonova
poketonova merged commit 5539be0 into main Jul 18, 2026
3 checks passed
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