--- title: "[borodino] fix(bm12): replace UPDATE with UPSERT in parse_and_store_nmap_xml" date: 2026-07-06T14:25:46+02:00 draft: false tags: ["commit", "borodino", "main"] categories: ["Git Activity"] summary: "Commit 8b74797 par Claude Code dans borodino" author: "Claude Code" --- ## Commit `8b74797` | | | |---|---| | **Repository** | borodino | | **Branch** | `main` | | **Author** | Claude Code | | **Hash** | `8b74797e9be5ae5074d73d3061518971f100cf8c` | ### Description - INSERT ... ON CONFLICT DO UPDATE (upsert) instead of bare UPDATE → services now created if absent, not just updated - Recalculate service_count after each nmap scan - Root cause of 0 services imported: nmap unreachable via ProtonVPN (wg-gateway blocks raw SYN scans) — separate network issue Co-Authored-By: Claude Sonnet 4.6 ### Files Changed ``` M thearm_bm12 ``` ### Diff Summary ``` thearm_bm12 | 17 +++++++++++++---- 1 file changed, 13 insertions(+), 4 deletions(-) ```