2.1 KiB
| id | type | title | tags | importance | confidence | created | updated | relations | ||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 57e38d6f-828e-496b-af23-da7f4806252c | workflow | PR review: major-domo-database#40 — raise HTTPException fix (standings.py) |
|
0.6 | 0.8 | 2026-03-03T01:20:24.848534+00:00 | 2026-03-03T01:37:03.490572+00:00 |
|
PR #40: fix: raise HTTPException in recalculate_standings on failure (#23)
Verdict: REQUEST_CHANGES (review post blocked — Gitea rejects self-reviews)
Key Findings
-
Core fix is correct:
recalculate_standingsinstandings.pywas missing araisebeforeHTTPException(status_code=500, ...), causing the endpoint to silently return HTTP 200 on failure. Addingraisecorrectly propagates the error. -
Undocumented
stratgame.pychanges: PR body says onlystandings.pywas changed, but diff includes full changes tostratgame.py(order_by return-value fix + reformatting). This is misleading. -
Merge conflict risk with PR #39: PR #39 ("fix: assign order_by() return value in GET /api/v3/games") modifies the exact same
stratgame.pychanges. Merging both creates conflict risk. -
Gitea self-review block: Both PRs (#39, #40) were created by
cal, socreate_pull_request_reviewfails with "reject your own pull is not allowed". Automated review posting is not possible for self-authored PRs in this repo.
Files Reviewed
app/routers_v3/standings.pyapp/routers_v3/stratgame.py