daily sync: 3 added, 4 modified, 0 deleted (3 edges)

This commit is contained in:
Cal Corum 2026-03-03 21:03:31 -06:00
parent 64eae8de03
commit 11f56e8d96
7 changed files with 74 additions and 4 deletions

View File

@ -0,0 +1,13 @@
---
id: 30ef8743-65a7-423d-9867-f9949c88bb8d
type: RELATED_TO
from_id: 802b350e-296c-448a-9f76-8684e786b3b3
from_title: "Fix: eliminate redundant double-query pattern in Peewee get_or_none + get_by_id"
to_id: d36a86f0-8183-4c94-8d63-0be65d3fd63a
to_title: "PR review: paper-dynasty-database#33 (APPROVED)"
strength: 0.75
created: "2026-03-04T03:03:31.357547+00:00"
updated: "2026-03-04T03:03:31.357547+00:00"
---
Auto-edge: Fix: eliminate redundant double-query pattern in Peewee get_or_none + get_by_id → PR review: paper-dynasty-database#33 (APPROVED)

View File

@ -0,0 +1,13 @@
---
id: 57e15307-bbd9-4314-b62e-5a042db329ce
type: RELATED_TO
from_id: 802b350e-296c-448a-9f76-8684e786b3b3
from_title: "Fix: eliminate redundant double-query pattern in Peewee get_or_none + get_by_id"
to_id: 5ae1bf6e-1e1c-4486-8a4d-10afd9e42189
to_title: "PR review: paper-dynasty-database#33 (APPROVED)"
strength: 0.75
created: "2026-03-04T03:03:31.389474+00:00"
updated: "2026-03-04T03:03:31.389474+00:00"
---
Auto-edge: Fix: eliminate redundant double-query pattern in Peewee get_or_none + get_by_id → PR review: paper-dynasty-database#33 (APPROVED)

View File

@ -0,0 +1,13 @@
---
id: d1610aeb-7f7f-4d7d-9911-b32a5e2fbd7c
type: RELATED_TO
from_id: 802b350e-296c-448a-9f76-8684e786b3b3
from_title: "Fix: eliminate redundant double-query pattern in Peewee get_or_none + get_by_id"
to_id: 04e57a23-0a20-49d6-8c5a-2fa5fc4e55b5
to_title: "PR review: paper-dynasty-database#33 (APPROVED)"
strength: 0.79
created: "2026-03-04T03:03:31.325138+00:00"
updated: "2026-03-04T03:03:31.325138+00:00"
---
Auto-edge: Fix: eliminate redundant double-query pattern in Peewee get_or_none + get_by_id → PR review: paper-dynasty-database#33 (APPROVED)

View File

@ -6,7 +6,23 @@ tags: [paper-dynasty-database, python, peewee, performance, fix, sqlite, fastapi
importance: 0.55
confidence: 0.8
created: "2026-03-04T03:03:30.726372+00:00"
updated: "2026-03-04T03:03:30.726372+00:00"
updated: "2026-03-04T03:03:31.389474+00:00"
relations:
- target: 04e57a23-0a20-49d6-8c5a-2fa5fc4e55b5
type: RELATED_TO
direction: outgoing
strength: 0.79
edge_id: d1610aeb-7f7f-4d7d-9911-b32a5e2fbd7c
- target: d36a86f0-8183-4c94-8d63-0be65d3fd63a
type: RELATED_TO
direction: outgoing
strength: 0.75
edge_id: 30ef8743-65a7-423d-9867-f9949c88bb8d
- target: 5ae1bf6e-1e1c-4486-8a4d-10afd9e42189
type: RELATED_TO
direction: outgoing
strength: 0.75
edge_id: 57e15307-bbd9-4314-b62e-5a042db329ce
---
## Problem

View File

@ -6,7 +6,7 @@ tags: [pr-reviewer, paper-dynasty-database, fastapi, peewee, middleware, python]
importance: 0.5
confidence: 0.8
created: "2026-03-03T18:08:58.224854+00:00"
updated: "2026-03-04T02:18:09.718651+00:00"
updated: "2026-03-04T03:03:31.325138+00:00"
relations:
- target: d36a86f0-8183-4c94-8d63-0be65d3fd63a
type: RELATED_TO
@ -68,6 +68,11 @@ relations:
direction: incoming
strength: 0.81
edge_id: ccf281c7-6a64-427e-85f6-45ba260fe9f5
- target: 802b350e-296c-448a-9f76-8684e786b3b3
type: RELATED_TO
direction: incoming
strength: 0.79
edge_id: d1610aeb-7f7f-4d7d-9911-b32a5e2fbd7c
---
Reviewed paper-dynasty-database PR #33 — fix: replace 467 manual db.close() calls with middleware (#30). Verdict: APPROVED.

View File

@ -6,7 +6,7 @@ tags: [pr-reviewer, paper-dynasty-database, automation]
importance: 0.5
confidence: 0.8
created: "2026-03-03T18:09:25.812471+00:00"
updated: "2026-03-04T01:32:51.174263+00:00"
updated: "2026-03-04T03:03:31.389474+00:00"
relations:
- target: 530bfb6f-841c-4381-b8a4-d0b6fbc02878
type: RELATED_TO
@ -48,6 +48,11 @@ relations:
direction: incoming
strength: 0.71
edge_id: 029ebb20-fd95-4b65-856b-e5492a6a755c
- target: 802b350e-296c-448a-9f76-8684e786b3b3
type: RELATED_TO
direction: incoming
strength: 0.75
edge_id: 57e15307-bbd9-4314-b62e-5a042db329ce
---
Reviewed paper-dynasty-database PR #33 — fix: replace 467 manual db.close() calls with middleware (#30). Verdict: APPROVED. Summary: Correct implementation of the standard Peewee + FastAPI middleware pattern. 467 db.close() calls removed from 30 router files; middleware correctly uses reuse_if_open=True with try/finally and is_clos. Cost: $1.062883

View File

@ -6,7 +6,7 @@ tags: [pr-reviewer, paper-dynasty-database, automation]
importance: 0.5
confidence: 0.8
created: "2026-03-03T06:06:26.108954+00:00"
updated: "2026-03-04T02:18:09.784253+00:00"
updated: "2026-03-04T03:03:31.357547+00:00"
relations:
- target: 04e57a23-0a20-49d6-8c5a-2fa5fc4e55b5
type: RELATED_TO
@ -73,6 +73,11 @@ relations:
direction: incoming
strength: 0.8
edge_id: a3a3fbfe-5797-4058-8692-a4128a5fe5fb
- target: 802b350e-296c-448a-9f76-8684e786b3b3
type: RELATED_TO
direction: incoming
strength: 0.75
edge_id: 30ef8743-65a7-423d-9867-f9949c88bb8d
---
Reviewed paper-dynasty-database PR #33 — fix: replace 467 manual db.close() calls with middleware (#30). Verdict: APPROVED. Summary: Correct implementation of the standard Peewee + FastAPI middleware pattern. Eliminates connection-leak bug across 467 call sites. Safe for both SQLite (dev) and PooledPostgresqlDatabase (prod). Minor:. Cost: $0.98641425