post: commit 483f092 in bojemoi
Some checks failed
Hugo Build & Deploy / build-deploy (push) Has been cancelled

This commit is contained in:
2026-05-29 21:49:18 +02:00
committed by Betty
parent 6c186da167
commit d65b5f739c

View File

@@ -0,0 +1,45 @@
---
title: "[bojemoi] feat(maintenance): watchdog dojo-token-watchdog — sync token API après reset DB"
date: 2026-05-29T21:49:18+02:00
draft: false
tags: ["commit", "bojemoi", "main"]
categories: ["Git Activity"]
summary: "Commit 483f092 par Betty dans bojemoi"
author: "Betty"
---
## Commit `483f092`
| | |
|---|---|
| **Repository** | bojemoi |
| **Branch** | `main` |
| **Author** | Betty |
| **Hash** | `483f092848abf7b29cf060799f4dfd74d0e939da` |
### Description
- dojo_token_init.py : vérifie toutes les 5 min si dojo_api_token est valide
Si 403 → INSERT/UPDATE authtoken_token depuis le secret (source de vérité)
- 02-service-maintenance.yml : service dojo-token-watchdog (manager, on-failure)
+ secret dojo_api_token ajouté à la section secrets du stack
Cause du bug : reset DB defectdojo → authtoken_token vide → secret périmé
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
### Files Changed
```
M stack/02-service-maintenance.yml
A volumes/maintenance/dojo_token_init.py
```
### Diff Summary
```
stack/02-service-maintenance.yml | 36 ++++++++
volumes/maintenance/dojo_token_init.py | 161 +++++++++++++++++++++++++++++++++
2 files changed, 197 insertions(+)
```