diff --git a/graph/decisions/object-handler-cloudsql-silver-layer-architecture-e80e16.md b/graph/decisions/object-handler-cloudsql-silver-layer-architecture-e80e16.md index 4a63f850c5d..287d0b4d5e2 100644 --- a/graph/decisions/object-handler-cloudsql-silver-layer-architecture-e80e16.md +++ b/graph/decisions/object-handler-cloudsql-silver-layer-architecture-e80e16.md @@ -6,7 +6,7 @@ tags: [esb-monorepo, object-handler, architecture, cloudsql, decision] importance: 0.8 confidence: 0.8 created: "2025-12-10T19:55:26.314546+00:00" -updated: "2026-03-03T01:22:05.384699+00:00" +updated: "2026-03-03T05:38:11.920614+00:00" relations: - target: 6d3dcf69-9c0c-4d8a-b1a7-27267c07da51 type: BUILDS_ON @@ -21,6 +21,11 @@ relations: direction: incoming strength: 0.58 edge_id: f335cae2-3e63-477e-a7ea-aaac59077089 + - target: 8a4ae0ed-5bac-459b-bdd8-d3075bfc108d + type: RELATED_TO + direction: incoming + strength: 0.65 + edge_id: 5718558e-60c9-487f-ab46-9dee64c3385c --- For object-handler silver layer (CloudSQL) output: Use Cloud SQL Python Connector + pg8000 driver (not SQLAlchemy). Connection method chosen because: (1) Works in Docker locally AND Cloud Functions, (2) IAM auth eliminates password management, (3) No VPC connector needed. Postgres functions handle upsert logic, so raw SQL calls are sufficient - SQLAlchemy would be overkill. Data flow: raw_data stripped before silver layer, full data goes to Firestore bronze layer. diff --git a/graph/edges/fix-replace-manual-dbclose-cal--RELATED_TO--fix-remove-debug-printreqscope-a45625.md b/graph/edges/fix-replace-manual-dbclose-cal--RELATED_TO--fix-remove-debug-printreqscope-a45625.md new file mode 100644 index 00000000000..786ba003980 --- /dev/null +++ b/graph/edges/fix-replace-manual-dbclose-cal--RELATED_TO--fix-remove-debug-printreqscope-a45625.md @@ -0,0 +1,13 @@ +--- +id: a4562549-7763-4d02-bb47-cb58024672d0 +type: RELATED_TO +from_id: 8a4ae0ed-5bac-459b-bdd8-d3075bfc108d +from_title: "Fix: Replace manual db.close() calls with FastAPI middleware in paper-dynasty-database" +to_id: 947fe7fd-b23c-4e46-8065-51c0519f2756 +to_title: "Fix: Remove debug print(req.scope) from paper-dynasty-database get_docs route" +strength: 0.68 +created: "2026-03-03T05:38:11.871410+00:00" +updated: "2026-03-03T05:38:11.871410+00:00" +--- + +Auto-edge: Fix: Replace manual db.close() calls with FastAPI middleware in paper-dynasty-database → Fix: Remove debug print(req.scope) from paper-dynasty-database get_docs route diff --git a/graph/edges/fix-replace-manual-dbclose-cal--RELATED_TO--issue-poller-paper-dynasty-dat-d3b9f9.md b/graph/edges/fix-replace-manual-dbclose-cal--RELATED_TO--issue-poller-paper-dynasty-dat-d3b9f9.md new file mode 100644 index 00000000000..2699305906e --- /dev/null +++ b/graph/edges/fix-replace-manual-dbclose-cal--RELATED_TO--issue-poller-paper-dynasty-dat-d3b9f9.md @@ -0,0 +1,13 @@ +--- +id: d3b9f90f-6f05-4178-b3f2-5c7851b01b33 +type: RELATED_TO +from_id: 8a4ae0ed-5bac-459b-bdd8-d3075bfc108d +from_title: "Fix: Replace manual db.close() calls with FastAPI middleware in paper-dynasty-database" +to_id: 25a63239-d077-4a92-8466-0900e16b837f +to_title: "Issue poller: paper-dynasty-database#31 (success)" +strength: 0.67 +created: "2026-03-03T05:38:11.898570+00:00" +updated: "2026-03-03T05:38:11.898570+00:00" +--- + +Auto-edge: Fix: Replace manual db.close() calls with FastAPI middleware in paper-dynasty-database → Issue poller: paper-dynasty-database#31 (success) diff --git a/graph/edges/fix-replace-manual-dbclose-cal--RELATED_TO--object-handler-cloudsql-silver-571855.md b/graph/edges/fix-replace-manual-dbclose-cal--RELATED_TO--object-handler-cloudsql-silver-571855.md new file mode 100644 index 00000000000..4eb942f2328 --- /dev/null +++ b/graph/edges/fix-replace-manual-dbclose-cal--RELATED_TO--object-handler-cloudsql-silver-571855.md @@ -0,0 +1,13 @@ +--- +id: 5718558e-60c9-487f-ab46-9dee64c3385c +type: RELATED_TO +from_id: 8a4ae0ed-5bac-459b-bdd8-d3075bfc108d +from_title: "Fix: Replace manual db.close() calls with FastAPI middleware in paper-dynasty-database" +to_id: e80e161a-4be4-428d-8590-267b9ab4cc7c +to_title: "Object-handler CloudSQL silver layer architecture" +strength: 0.65 +created: "2026-03-03T05:38:11.920614+00:00" +updated: "2026-03-03T05:38:11.920614+00:00" +--- + +Auto-edge: Fix: Replace manual db.close() calls with FastAPI middleware in paper-dynasty-database → Object-handler CloudSQL silver layer architecture diff --git a/graph/fixes/fix-remove-debug-printreqscope-from-paper-dynasty-database-g-947fe7.md b/graph/fixes/fix-remove-debug-printreqscope-from-paper-dynasty-database-g-947fe7.md index 15d82b06cd0..3b80c2c9241 100644 --- a/graph/fixes/fix-remove-debug-printreqscope-from-paper-dynasty-database-g-947fe7.md +++ b/graph/fixes/fix-remove-debug-printreqscope-from-paper-dynasty-database-g-947fe7.md @@ -6,7 +6,7 @@ tags: [paper-dynasty, fastapi, python, debug-cleanup, tech-debt] importance: 0.4 confidence: 0.8 created: "2026-03-03T04:36:40.503397+00:00" -updated: "2026-03-03T05:03:16.301177+00:00" +updated: "2026-03-03T05:38:11.871410+00:00" relations: - target: c4e8403a-a4bb-4606-bca5-8d26fa8988cf type: RELATED_TO @@ -28,6 +28,11 @@ relations: direction: incoming strength: 0.84 edge_id: d23b14a5-0995-4353-903e-3631bc9d0888 + - target: 8a4ae0ed-5bac-459b-bdd8-d3075bfc108d + type: RELATED_TO + direction: incoming + strength: 0.68 + edge_id: a4562549-7763-4d02-bb47-cb58024672d0 --- ## Problem diff --git a/graph/fixes/fix-replace-manual-dbclose-calls-with-fastapi-middleware-in-8a4ae0.md b/graph/fixes/fix-replace-manual-dbclose-calls-with-fastapi-middleware-in-8a4ae0.md index 5fdfa30fdf7..a9449f39728 100644 --- a/graph/fixes/fix-replace-manual-dbclose-calls-with-fastapi-middleware-in-8a4ae0.md +++ b/graph/fixes/fix-replace-manual-dbclose-calls-with-fastapi-middleware-in-8a4ae0.md @@ -6,7 +6,23 @@ tags: [paper-dynasty-database, fastapi, peewee, python, middleware, database, co importance: 0.7 confidence: 0.8 created: "2026-03-03T05:38:10.354619+00:00" -updated: "2026-03-03T05:38:10.354619+00:00" +updated: "2026-03-03T05:38:11.920614+00:00" +relations: + - target: 947fe7fd-b23c-4e46-8065-51c0519f2756 + type: RELATED_TO + direction: outgoing + strength: 0.68 + edge_id: a4562549-7763-4d02-bb47-cb58024672d0 + - target: 25a63239-d077-4a92-8466-0900e16b837f + type: RELATED_TO + direction: outgoing + strength: 0.67 + edge_id: d3b9f90f-6f05-4178-b3f2-5c7851b01b33 + - target: e80e161a-4be4-428d-8590-267b9ab4cc7c + type: RELATED_TO + direction: outgoing + strength: 0.65 + edge_id: 5718558e-60c9-487f-ab46-9dee64c3385c --- ## Problem diff --git a/graph/workflows/issue-poller-paper-dynasty-database31-success-25a632.md b/graph/workflows/issue-poller-paper-dynasty-database31-success-25a632.md index f7f14a95cad..b1d3ff9bc5d 100644 --- a/graph/workflows/issue-poller-paper-dynasty-database31-success-25a632.md +++ b/graph/workflows/issue-poller-paper-dynasty-database31-success-25a632.md @@ -6,13 +6,18 @@ tags: [issue-poller, paper-dynasty-database, automation] importance: 0.5 confidence: 0.8 created: "2026-03-03T04:37:13.859450+00:00" -updated: "2026-03-03T05:03:16.327164+00:00" +updated: "2026-03-03T05:38:11.898570+00:00" relations: - target: c29e169a-896c-4b80-9b69-22c2880d61d7 type: RELATED_TO direction: incoming strength: 0.88 edge_id: fe74aa9c-f730-4e6a-80bd-cc8bcf097159 + - target: 8a4ae0ed-5bac-459b-bdd8-d3075bfc108d + type: RELATED_TO + direction: incoming + strength: 0.67 + edge_id: d3b9f90f-6f05-4178-b3f2-5c7851b01b33 --- Attempted paper-dynasty-database#31 — Remove debug print(req.scope) from get_docs route. Status: success. Summary: Removed debug print(req.scope) from get_docs route in app/main.py. PR: https://git.manticorum.com/cal/paper-dynasty-database/pulls/32. Cost: $0.5910284999999998