Describe the bug
Looking through the logs, looks like the hook for shutting down never triggered. The log cuts out mid line like the process was terminated. That must've been when you had to manually kill it.
This might be a mac specific problem.
To Reproduce
- Run the agent
- Wait for a few minutes
- Run
polykey agent stop
Test on Linux version that same way we got the error on Mac to see if it's an OS isolated incident or not.
Expected behavior
We handle most signals to trigger stopping the agent. The only thing that should really kill it like this is a SIGKILL signal.
Screenshots
Platform
- Device: Mac
- OS: Sonoma 14 Terminal Version 2.14
- Version:
polykey-cli-0.3.1-darwin-universal
Additional context
- Polykey logs can be found here: Polykey-CLI#183
- Propagated problem of connections being leaked causing push error flow being discussed here: Polykey-CLI#198
Notify maintainers
@tegefaulkes
Describe the bug
Looking through the logs, looks like the hook for shutting down never triggered. The log cuts out mid line like the process was terminated. That must've been when you had to manually kill it.
This might be a mac specific problem.
To Reproduce
polykey agent stopTest on Linux version that same way we got the error on Mac to see if it's an OS isolated incident or not.
Expected behavior
We handle most signals to trigger stopping the agent. The only thing that should really kill it like this is a
SIGKILLsignal.Screenshots
Platform
polykey-cli-0.3.1-darwin-universalAdditional context
Notify maintainers
@tegefaulkes