Skip to content

feat(native): restart jetkvm_native automatically #629

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 3 commits into from
Jun 20, 2025

Conversation

ym
Copy link
Contributor

@ym ym commented Jun 19, 2025

No description provided.

@ym ym requested a review from Copilot June 19, 2025 14:23
Copilot

This comment was marked as outdated.

@ym ym force-pushed the feat/auto-restart-jetkvm-native branch from 18f3af9 to dd7cbd1 Compare June 19, 2025 19:09
@ym ym marked this pull request as ready for review June 19, 2025 19:09
@ym ym requested a review from Copilot June 19, 2025 19:10
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds functionality to automatically restart the jetkvm_native binary if it terminates unexpectedly.

  • Introduces locking around binary start-up via startNativeBinaryWithLock.
  • Implements functions (restartNativeBinary and superviseNativeBinary) to monitor and restart the binary.
  • Updates ExtractAndRunNativeBin to run a supervisor loop that ensures the binary is running.

ym and others added 2 commits June 20, 2025 14:06
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@ym ym merged commit 6f037a8 into dev Jun 20, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant