Commit f409933
committed
fix(eval): decode JSON-encoded external_recipients in alert_skill check
The create_metric_alert tool returns external_recipients as a JSON-encoded
string (e.g. '["email@example.com"]') rather than a list. Use json.loads
before falling back to CSV splitting so recipients comparison works correctly.
JIRA: GDAI-1830
risk: nonprod1 parent ccbb77d commit f409933
1 file changed
Lines changed: 6 additions & 1 deletion
Lines changed: 6 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
99 | 99 | | |
100 | 100 | | |
101 | 101 | | |
102 | | - | |
| 102 | + | |
| 103 | + | |
| 104 | + | |
| 105 | + | |
| 106 | + | |
| 107 | + | |
103 | 108 | | |
104 | 109 | | |
105 | 110 | | |
| |||
0 commit comments