feat(catalog): weekly Vercel Cron sync for MTG and Pokémon sets #48
No reviewers
Labels
No labels
agent-context-drift
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: rstillwell/deckhearth#48
Loading…
Reference in a new issue
No description provided.
Delete branch "feat/catalog-sync-vercel-cron-brief-1"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
lib/card-import/(admin routes unchanged contract)/sets+ Pokémon TCG/v2/sets, imports up to 3 per run with 1.5s pacingGET /api/cron/sync-catalogauthenticated withAuthorization: Bearer $CRON_SECRET(503 in prod if unset)vercel.json(0 6 * * 1UTC, 300s max duration)Closes the catalog freshness gap that caused Perfect Order Seel disambiguation failures.
Operator setup (required at deploy)
openssl rand -base64 32→ setCRON_SECRETin Vercel project envPOKEMON_TCG_API_KEYfor Pokémon set discovery rate limitscurl -H "Authorization: Bearer $CRON_SECRET" https://<prod>/api/cron/sync-catalogLorcana: logged as skipped (manual map still required).
Test plan
npm run test:run— 39/39Made with Cursor
The latest updates on your projects. Learn more about Vercel for GitHub.
Pipeline Health
Build + CI gates
Build runs on Vercel; this CI runs lint and schema-map drift only (no duplicate build).
Role reports
See individual comments above for details. This rollup updates automatically.