Repository navigation
test(#159): couverture complète du pont omprog asynchrone (100 %) - #165
Closed
docker24017 wants to merge 2 commits into
Closed
docker24017 wants to merge 2 commits into
docker24017 wants to merge 2 commits into
Conversation
- branche 318->316 de handle_doc : clone (2 événements) — l'issue du premier événement est conservée au second passage de la boucle - indexer : avertissement multi-nœuds, auth Basic transmise au client HTTP, client partagé avec install_index_template, action invalide sans DLQ (RETRYABLE, comportement historique) - couverture totale 100 % (src + scripts), critère de #159 tenu - dépendance pystashtemplate v0.2.0 et await apply_events : déjà en place depuis #160 (PR #161) — vérifiés inchangés
3 tasks
Contributor
Author
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #159
Résumé
Le pont omprog est asynchrone et épinglé sur PyStashTemplate v0.2.0 depuis Mathilde-Team/PyStashTemplate#112 (PR #161 :
await apply_events,pystashtemplate @ git+...@v0.2.0) — ce PR termine le dernier critère de #159, la couverture à 100 %, et le prouve :318->316dehandle_doc(la seule manquante d'omprog.py) : clone produisant deux événements — au second passage de la boucle, l'issue du premier événement est conservée (non RETRYABLE,outcomedéjà fixé).indexer.pyà 100 % : avertissement « Plusieurs nœuds configurés », authentification transmise au client HTTP en Basic (vérifiée sur l'en-têteAuthorization), client HTTP partagé avecinstall_index_template(_client), action invalide sans--dlq-path→RETRYABLE(comportement historique, renvoyé à rsyslog).handle_line« OK »/« RETRY » sur les deux événements du clone, DLQ toujours alimentée sur erreur permanente (tests existantstest_erreur_4xx_permanente_vers_dlq,test_action_invalide_en_dlq).Testé
uv run --extra dev pytest -q --cov: 277 tests OK, couverture totale 100 % (src + scripts, lignes + branches ;omprog.pyetindexer.pyà 100 %).ruff check ./ruff format --check .: OK.python scripts/audit_debug_sorties.py --total: 0 (baseline inchangée).bash scripts/i18n-update.sh --check: catalogues à jour (29 langues).Limites
uv.lockréférence le tag v0.2.0 de PyStashTemplate (apply/apply_events asynchrones) ; les étapes suivantes du chantier async de PyStashTemplate (dns, FilterPipeline, atraced — déjà fusionnées sur son dev) seront disponibles au prochain étiquetage, sans impact sur ce pont.