guardicore / guardicore/monkey

Terminate timestamp doesn't update on "Delete data"

Open
#2,642 0 comments 0 reactions 0 assignees View on GitHub
Bug Complexity: Low Impact: Low
Dominant language
Python
Stars
7.1k
Forks
830
PR merge metrics
No merged PRs in 30d

Description

## Describe the bug
The "terminate_signal_time" field in `simulation.json` does not update if only the Island data is cleared using "Delete data" in the UI. It updates to `null` when the Island is reset.

## To Reproduce
Steps to reproduce the behavior:
1. Run an agent.
2. Kill all agents from the map page.
3. See that the "terminate_signal_time" field in `simulation.json` changes.
4. Click on "Reset" in the side pane in the UI and then "Delete data".
5. See that the "terminate_signal_time" field in `simulation.json` does not change.

## Expected behavior
It should change to `null` even on "Delete data".

## Screenshots
https://user-images.githubusercontent.com/44770317/204770646-89eb21b4-669d-4e13-85c4-5915ef0d21d5.mp4

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.