1.9 KiB
1.9 KiB
| id | type | title | tags | importance | confidence | created | updated | relations | ||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| a08cfd86-d519-41cd-b93e-0877e11c7cc3 | workflow | PR review: paper-dynasty-database#36 — remove dead roster CSV fields |
|
0.4 | 0.8 | 2026-03-03T19:33:19.604675+00:00 | 2026-03-03T19:33:20.003651+00:00 |
|
PR Review: paper-dynasty-database#36
Verdict: APPROVED (posted as COMMENT — Gitea self-review restriction)
Branch: ai/paper-dynasty-database#35 (issue-worker agent)
File reviewed: app/routers_v2/cards.py
Fix
Removed non-existent roster1, roster2, roster3 columns from CSV output in v1_cards_get_one. These fields caused AttributeError at runtime on every GET /api/v2/cards/{card_id}?csv=true request.
Verification
Card model in db_engine.py (line 472) confirmed — only fields are player, team, pack, value. No roster fields exist.
Notes
- Bulk ruff reformatting (single→double quotes) is cosmetic, non-functional.
- Pre-existing issue:
this_card.playerin CSV row vsline.player.p_namein bulk endpoint — inconsistency, out of scope. - Pre-existing issue:
v1_cards_patchstill accepts and assignsroster1_id/2/3but Peewee silently ignores non-field attributes on save. Author tracking separately. - Gitea blocks self-approval — submitted as COMMENT instead of APPROVED.