All checks were successful
Hugo Build & Deploy / build-deploy (push) Successful in 15s
45 lines
1013 B
Markdown
45 lines
1013 B
Markdown
---
|
|
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(+)
|
|
```
|