v1.0 - Version stable: multi-PC, détection UI-DETR-1, 3 modes exécution
- Frontend v4 accessible sur réseau local (192.168.1.40) - Ports ouverts: 3002 (frontend), 5001 (backend), 5004 (dashboard) - Ollama GPU fonctionnel - Self-healing interactif - Dashboard confiance Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
56
debug_circuit_breaker_simple.py
Normal file
56
debug_circuit_breaker_simple.py
Normal file
@@ -0,0 +1,56 @@
|
||||
exc()t_back.prinrace ttraceback
|
||||
import e}")
|
||||
ur: {❌ Erre" print(f:
|
||||
tion as ept Excep
|
||||
|
||||
exce_1'])}")low:step'test_workfs[ive_failuresecutp_con(cb.steenutifs: {lonséc"📊 Échecs c print(f
|
||||
)
|
||||
gistré"chec enret("✅ É
|
||||
prin")T_NOT_FOUNDRGE, "TA"tep_1", "s_workflowestfailure("t.record_ cbple...")
|
||||
n échec simest d'ut("\n🧪 T
|
||||
prin QUANT")
|
||||
r}: MAN❌ {att nt(f" pri else:
|
||||
e}")
|
||||
alu)} = {vvaluee(r}: {typ" ✅ {att print(f , attr)
|
||||
(cbattr value = get :
|
||||
attr)cb, tr( hasat if s:
|
||||
ed_attrequirn r for attr i ]
|
||||
|
||||
w'
|
||||
indo 'global_w
|
||||
_windows',workflow ' ,
|
||||
_counts'cesstep_suc 's',
|
||||
ailurestive_fep_consecu 'st
|
||||
policy', ' [
|
||||
attrs =equired_ r)
|
||||
is:"s requ attributcation desfi"\n🔍 Vériint(
|
||||
pr")
|
||||
ttr}t(f" - {a prin '):
|
||||
ith('_rtsw attr.sta if notb):
|
||||
ir(cin d for attr s:")
|
||||
s disponible🔍 Attributprint("
|
||||
|
||||
éé")aker crrcuitBre"✅ Ci
|
||||
print(er(policy)akrercuitB
|
||||
cb = Ci.")r..reakecuitBion du Cirréatnt("📋 C pri}
|
||||
|
||||
shold': 2
|
||||
_threess_reset 'succ,
|
||||
_window': 30_inl_maxglobal_fai ': 10,
|
||||
w'ndol_max_in_wifailow_orkf'w
|
||||
600,dow_s':w_fail_winworkflo 'ed': 3,
|
||||
ak_to_degradrestl_'step_fai{
|
||||
y = polic
|
||||
|
||||
ssi")er réutBreakt Circuior Impint("✅ prer
|
||||
reaktBort Circuier imprcuit_breakre.system.cifrom cotry:
|
||||
')
|
||||
|
||||
pend('.
|
||||
sys.path.aprt sys"
|
||||
|
||||
impo
|
||||
""rcuitBreake pour Cirbug simple"
|
||||
De""ython3
|
||||
|
||||
n/env psr/bi#!/u
|
||||
Reference in New Issue
Block a user