Skip to content

fix: v0.9.2 session modules and pins - #39

Merged
drptbl merged 7 commits into
mainfrom
fix/session-modules
Nov 15, 2026
Merged

drptbl merged 7 commits into
mainfrom
fix/session-modules

Conversation

@drptbl

@drptbl drptbl commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Fixes for session modules and pins found after v0.9.1, checked against logosctl 0.3.2's package_ops.cpp.

changes:

  • packages the install plan marks installed are skipped. Installing them again from a file counted as a reinstall, which unloaded their dependents, e.g. chat_module when delivery_module was added, and the session is brought back (wallet first) after adding modules
  • a stopped session's daemon is started before up asks it which version a pin names, since package ls needs a daemon and up applies the project before resuming sessions on a running chain
  • a pin on a module the session got through another one (delivery_module@0.3.2 when chat_module brought 0.3.3) is refused instead of installed over it
  • status, doctor and session ls give each session's daemon 5 s to answer
  • session restart a b reads every session.json before restarting any
  • doctor checks the hub's daemon and nodes while the chain runs
  • the skill quotes the pin refusals as the code prints them
  • bumped the version to 0.9.2

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.
@drptbl
drptbl merged commit 45f83cb into main Nov 15, 2026
7 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