Skip to content

fix: stop polling when simulation fails#518

Open
cuixiao174 wants to merge 1 commit into666ghj:mainfrom
cuixiao174:running_failed_process
Open

fix: stop polling when simulation fails#518
cuixiao174 wants to merge 1 commit into666ghj:mainfrom
cuixiao174:running_failed_process

Conversation

@cuixiao174
Copy link
Copy Markdown

Previously, the frontend only checked for 'completed' and 'stopped' status to stop polling. When the simulation process exited with an error (runner_status === 'failed'), polling continued indefinitely.

This commit adds handling for the 'failed' status:

  • Stop polling when runner_status is 'failed'
  • Display error message in the log
  • Update UI status to 'error'
  • Add i18n translations for simFailed key

Previously, the frontend only checked for 'completed' and 'stopped'
status to stop polling. When the simulation process exited with an
error (runner_status === 'failed'), polling continued indefinitely.

This commit adds handling for the 'failed' status:
- Stop polling when runner_status is 'failed'
- Display error message in the log
- Update UI status to 'error'
- Add i18n translations for simFailed key
@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant