Skip to content

[GEN-2321] Stabilité: traitement des logs de Import EA EATT#5979

Merged
vincentporte merged 3 commits into
masterfrom
vp/GEN-2321_automatisation_import_EA_EATT
May 5, 2025
Merged

[GEN-2321] Stabilité: traitement des logs de Import EA EATT#5979
vincentporte merged 3 commits into
masterfrom
vp/GEN-2321_automatisation_import_EA_EATT

Conversation

@vincentporte

@vincentporte vincentporte commented Apr 17, 2025

Copy link
Copy Markdown

🤔 Pourquoi ?

capturer les logs de la command dans le logger, en passant les données variables en kwargs

🚨 À vérifier

Non Mettre à jour le CHANGELOG_breaking_changes.md ?
Non Ajouter l'étiquette « Bug » ?

🏝️ Comment tester ?

@notion-workspace

Copy link
Copy Markdown

@vincentporte vincentporte marked this pull request as draft April 17, 2025 08:44
@vincentporte vincentporte self-assigned this Apr 17, 2025
@vincentporte vincentporte added the modifié Modifié dans le changelog. label Apr 17, 2025
@vincentporte vincentporte force-pushed the vp/GEN-2321_automatisation_import_EA_EATT branch from 842facc to 01e2b01 Compare April 17, 2025 12:20
@vincentporte vincentporte marked this pull request as ready for review April 17, 2025 12:21
@vincentporte vincentporte force-pushed the vp/GEN-2321_automatisation_import_EA_EATT branch from 01e2b01 to de50b7d Compare April 17, 2025 13:48

@rsebille rsebille left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Un peu (beaucoup) circonspect sur le fait d'avoir mis toutes les variables dans extra, car j'ai pas l'impression qu'on y gagne voir même que ça nuirais à la lecture des logs car on cache les détails, et quand ça ne fonctionne pas c'est souvent ça la cause ^^.

Comment thread config/settings/base.py Outdated
Comment thread itou/companies/management/commands/import_ea_eatt.py Outdated
Comment thread itou/companies/management/commands/import_ea_eatt.py Outdated
@vincentporte vincentporte force-pushed the vp/GEN-2321_automatisation_import_EA_EATT branch 2 times, most recently from 1f4d427 to 03b30cb Compare April 29, 2025 12:13
Comment thread itou/companies/management/commands/import_ea_eatt.py Outdated
Comment thread config/settings/base.py Outdated
Comment thread itou/companies/management/commands/import_ea_eatt.py Outdated
Comment thread itou/companies/management/commands/import_ea_eatt.py Outdated
Comment thread tests/companies/test_import_ea_eatt.py
Comment thread tests/companies/test_import_ea_eatt.py Outdated
@vincentporte vincentporte force-pushed the vp/GEN-2321_automatisation_import_EA_EATT branch from 2d4bd8f to a1af338 Compare April 29, 2025 18:17

@francoisfreitag francoisfreitag left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ça m’a l’air bien. Quelques petites remarques pour peaufiner et je pense qu’on est bons 💯

Le commit “catch extra kwargs from management command” ne me semble plus utile ? On peut directement using re.compile in DJANGO_DATADOG_LOGGER_EXTRA_INCLUDE (avec un reword pour indiquer que itou a maintenant le droit d’ajouter des extra)

Comment thread tests/companies/test_import_ea_eatt.py Outdated
Comment thread tests/companies/test_import_ea_eatt.py Outdated
Comment thread config/settings/base.py
Comment thread tests/companies/test_import_ea_eatt.py Outdated
Vincent Porte and others added 3 commits May 5, 2025 17:31
@vincentporte vincentporte force-pushed the vp/GEN-2321_automatisation_import_EA_EATT branch from a1af338 to e94636c Compare May 5, 2025 15:39
@vincentporte vincentporte added this pull request to the merge queue May 5, 2025
Merged via the queue into master with commit cb20af7 May 5, 2025
@vincentporte vincentporte deleted the vp/GEN-2321_automatisation_import_EA_EATT branch May 5, 2025 16:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

modifié Modifié dans le changelog.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants