feat(plugins): add source-aware evidence and recording timelines
This commit is contained in:
1 parent
72ff342605
commit
ef7af9988e
61 files changed
+3847
-108
No files matched your search
@@ -1488,6 +1488,8 @@ class DataEngine:
|
||||
"post_image_name": post_image_name,
|
||||
"generic_tools": self._get_generic_tools_for_sse(step_id),
|
||||
}
|
||||
if last_execution_result.get("pre_image_valid") is False:
|
||||
payload["pre_image_name"] = None
|
||||
if step_num is not None:
|
||||
payload["step_number"] = step_num
|
||||
self._publish("step_updated", payload)
|
||||
|
||||
@@ -803,6 +803,11 @@ class StorageManager:
|
||||
):
|
||||
"""Update the validator execution result and post_image_name for a step."""
|
||||
with self._get_connection() as conn:
|
||||
if last_execution_result.get("pre_image_valid") is False:
|
||||
conn.execute(
|
||||
"UPDATE steps SET pre_image_name = NULL WHERE step_id = ?",
|
||||
(str(step_id),),
|
||||
)
|
||||
if post_image_name:
|
||||
cursor = conn.execute(
|
||||
"SELECT pre_image_name FROM steps WHERE step_id = ?",
|
||||
|
||||
Reference in new issue
Block a user