post: commit 53255d0 in bojemoi
Some checks failed
Hugo Build & Deploy / build-deploy (push) Failing after 7s

This commit is contained in:
2026-06-19 10:03:58 +02:00
committed by Betty
parent 31f2fb546a
commit fe64836e24

View File

@@ -0,0 +1,45 @@
---
title: "[bojemoi] feat(uzi): add distributed lock for multi-worker support"
date: 2026-06-19T10:03:58+02:00
draft: false
tags: ["commit", "bojemoi", "main"]
categories: ["Git Activity"]
summary: "Commit 53255d0 par Betty dans bojemoi"
author: "Betty"
---
## Commit `53255d0`
| | |
|---|---|
| **Repository** | bojemoi |
| **Branch** | `main` |
| **Author** | Betty |
| **Hash** | `53255d088b3d34f961f67f07fdb4c43ffbd752f5` |
### Description
- uzi_scan_log: add locked_at column, status='running' for in-progress scans
- pick_next_host(): exclude 'running' hosts + atomic INSERT lock (ON CONFLICT DO NOTHING)
- ensure_uzi_scan_log(): migrate locked_at column, clean stale locks >2h
- Stack: scale uzi-service to 3 replicas
Multiple UZI workers can now run concurrently without scanning the same target.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
### Files Changed
```
M borodino/thearm_uzi
M stack/40-service-borodino.yml
```
### Diff Summary
```
borodino/thearm_uzi | 30 +++++++++++++++++++++++++++---
stack/40-service-borodino.yml | 2 +-
2 files changed, 28 insertions(+), 4 deletions(-)
```