Repository navigation
fix: v0.9.2 session modules and pins - #39
Merged
Merged
Conversation
logosctl's plan lists installed dependencies too. Installing one again from a file counted as a reinstall, which unloaded the modules depending on it, e.g. chat_module when delivery_module was added.
up applies the project before it resumes sessions on a running chain, and logosctl package ls needs the daemon. A pin on a module another one brought along is now checked against the daemon too, instead of installing another version over it.
status, doctor and session ls asked each session's daemon without a limit, so a wedged one held them up for logosctl's 20 s.
doctor flagged stopped sessions but passed a hub whose daemon or nodes had died, since their ports are then free.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Fixes for session modules and pins found after v0.9.1, checked against logosctl 0.3.2's
package_ops.cpp.changes:
installedare skipped. Installing them again from a file counted as a reinstall, which unloaded their dependents, e.g.chat_modulewhendelivery_modulewas added, and the session is brought back (wallet first) after adding modulesupasks it which version a pin names, sincepackage lsneeds a daemon andupapplies the project before resuming sessions on a running chaindelivery_module@0.3.2whenchat_modulebrought 0.3.3) is refused instead of installed over itstatus,doctorandsession lsgive each session's daemon 5 s to answersession restart a breads everysession.jsonbefore restarting anydoctorchecks the hub's daemon and nodes while the chain runs0.9.2