post: commit 1ff5c4b in bojemoi
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 15s
All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 15s
This commit is contained in:
44
content/posts/commits/2026-05-22-commit-1ff5c4b.md
Normal file
44
content/posts/commits/2026-05-22-commit-1ff5c4b.md
Normal file
@@ -0,0 +1,44 @@
|
|||||||
|
---
|
||||||
|
title: "[bojemoi] fix(nuclei): ignorer les host_ids absents de la DB (stale après reset)"
|
||||||
|
date: 2026-05-22T23:29:51+02:00
|
||||||
|
draft: false
|
||||||
|
tags: ["commit", "bojemoi", "main"]
|
||||||
|
categories: ["Git Activity"]
|
||||||
|
summary: "Commit 1ff5c4b par Betty dans bojemoi"
|
||||||
|
author: "Betty"
|
||||||
|
---
|
||||||
|
|
||||||
|
## Commit `1ff5c4b`
|
||||||
|
|
||||||
|
| | |
|
||||||
|
|---|---|
|
||||||
|
| **Repository** | bojemoi |
|
||||||
|
| **Branch** | `main` |
|
||||||
|
| **Author** | Betty |
|
||||||
|
| **Hash** | `1ff5c4b00477a495a3ccd5f32bf93a1c3e728a21` |
|
||||||
|
|
||||||
|
|
||||||
|
### Description
|
||||||
|
|
||||||
|
La DB MSF a été réinitialisée le 2026-05-19. La queue Valkey
|
||||||
|
contenait ~75k anciens host_ids (IDs > 278k) provoquant des
|
||||||
|
violations de FK sur nuclei_scan_log_host_id_fkey.
|
||||||
|
|
||||||
|
Ajout d'un check SELECT 1 FROM hosts WHERE id = %s avant tout
|
||||||
|
traitement : si le host n'existe plus, l'item est ignoré avec
|
||||||
|
un WARNING plutôt qu'une erreur FK.
|
||||||
|
|
||||||
|
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
||||||
|
|
||||||
|
### Files Changed
|
||||||
|
|
||||||
|
```
|
||||||
|
M borodino/thearm_nuclei
|
||||||
|
```
|
||||||
|
|
||||||
|
### Diff Summary
|
||||||
|
|
||||||
|
```
|
||||||
|
borodino/thearm_nuclei | 8 ++++++++
|
||||||
|
1 file changed, 8 insertions(+)
|
||||||
|
```
|
||||||
Reference in New Issue
Block a user