Skip to content
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

fix: send sighup after installing when synchronizer boots, remove load com… #324

Merged
merged 2 commits into from
Jan 14, 2025

Conversation

djantzen
Copy link
Contributor

Temporary fix to address the problem reported by Patina in which plugins fail to run reliably after a home-app deploy.

The failure mode is a race condition in which plugins may be loaded into memory before the synchronizer has finished installing them on the file system. This solution causes the synchronizer to signal the runner to restart after installation, at which time the runner will load the plugins.

This solution results in some wasted work because the runner starts after the deploy and is shortly thereafter restarted. A better solution will embed the installation work into the plugin runner so that plugins can be loaded into memory after installation without requiring a restart. That work will be in a different changeset.

…mand when ReloadPlugins is received since this occurs on plugin_runner start
@djantzen djantzen requested a review from a team as a code owner January 14, 2025 19:52
@djantzen djantzen requested a review from mbiannaccone January 14, 2025 19:53
@djantzen
Copy link
Contributor Author

djantzen commented Jan 14, 2025 via email

@beaugunderson
Copy link
Member

good to go!

@djantzen djantzen merged commit bd82819 into main Jan 14, 2025
4 checks passed
@djantzen djantzen deleted the fix/hup-runner-after-install branch January 14, 2025 22:40
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.

2 participants