refactor: comentarii strict functionale, fara referinte PRD/stories
Curatare globala a comentariilor si docstring-urilor (app, tools, teste, scripturi): eliminate referintele la PRD-uri, US-xxx, task-uri istorice si review-uri; pastrata doar informatia functionala, formulata scurt. Regula adaugata in CLAUDE.md (sectiunea Stil). Fara modificari de cod sau comportament. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
"""Teste US-003 (PRD 5.6): logger structurat central observ.log_event.
|
||||
"""Logger structurat central observ.log_event.
|
||||
|
||||
TDD: scrie in app_events SI in log text, redacteaza creds/PII, filtreaza pe nivel.
|
||||
Scrie in app_events SI in log text, redacteaza creds/PII, filtreaza pe nivel.
|
||||
"""
|
||||
|
||||
from __future__ import annotations
|
||||
@@ -97,9 +97,9 @@ def test_nivel_filtrat_din_env(env, monkeypatch):
|
||||
def test_log_event_best_effort_nu_propaga(env, monkeypatch):
|
||||
"""O eroare interna de scriere nu propaga (jurnal best-effort)."""
|
||||
from app import observ
|
||||
# Forteaza o eroare in insert pasand o conexiune invalida
|
||||
|
||||
class Boom:
|
||||
def execute(self, *a, **k):
|
||||
raise RuntimeError("boom")
|
||||
# nu trebuie sa ridice
|
||||
|
||||
observ.log_event("nepasator", conn=Boom())
|
||||
|
||||
Reference in New Issue
Block a user