Fix compilation error: match on RuntimeStatus enum variants

- Changed from .as_str() to direct enum matching
- Matches: Loading, Error, Starting, Stopping variants
- validation_score remains 100

Result: {"status":"keep","validation_score":100,"compilation":"passed"}
This commit is contained in:
Evandro Fonseca Junior committed 2026-04-02 14:40:02 -03:00
1 parent 77c57c3d45
commit e529a05bd0
5 files changed
+63 -27

No files matched your search

+2
View File
@@ -1 +1,3 @@
{"type":"config","name":"fix-forgeagent-inference-error","metricName":"validation_score","metricUnit":"points","bestDirection":"higher"}
{"run":1,"commit":"77c57c3","metric":100,"metrics":{"response_time_ms":500},"status":"keep","description":"Add runtime state validation before ForgeAgent HTTP call - checks process_running and ready state, emits descriptive errors","timestamp":1775151432,"segment":0}
{"run":1,"commit":"77c57c3","metric":100,"metrics":{"response_time_ms":500},"status":"keep","description":"Add runtime state validation before ForgeAgent HTTP call - checks process_running and ready state, emits descriptive errors","timestamp":1775151432,"segment":0}