Skip to content

refactor(launcher): split into package and preserve services on core restart - #42

Merged
charlesmadjeri merged 2 commits into
cma/feat-pixi-foundationfrom
cma/refactor-launcher-archi
Aug 31, 2026
Merged

refactor(launcher): split into package and preserve services on core restart#42
charlesmadjeri merged 2 commits into
cma/feat-pixi-foundationfrom
cma/refactor-launcher-archi

Conversation

@charlesmadjeri

@charlesmadjeri charlesmadjeri commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

OP#176

Summary

Splits launcher.py into a launcher/ package and fixes control panel Vite being killed when applying core modifier changes (e.g. switching to headless simulator) while the panel stays running.

  • Modular layout: platform, process, shell, tmux, apply, state, tui, etc., with backward-compatible from launcher import …
  • Entry point: python -m launcher (launch_lucy.sh); launcher.py kept as a thin shim
  • Orphan cleanup preserves selected running interfaces; Vite protection comes from package readiness_check / command, not a hardcoded id
  • Docs/README entry points updated; launcher tests expanded to 28 cases

@charlesmadjeri charlesmadjeri self-assigned this Aug 31, 2026
@charlesmadjeri charlesmadjeri changed the title Cma/refactor launcher archi refactor(launcher): split into package and preserve services on core restart Aug 31, 2026
Mael-RABOT
Mael-RABOT previously approved these changes Aug 31, 2026
@charlesmadjeri

Copy link
Copy Markdown
Contributor Author

Add windows Pixi install steps to readme: https://pixi.prefix.dev/latest/installation/

Cadavre-chan
Cadavre-chan previously approved these changes Aug 31, 2026
@charlesmadjeri

Copy link
Copy Markdown
Contributor Author

Add nixld documentation: https://github.com/nix-community/nix-ld

@Mael-RABOT
Mael-RABOT dismissed stale reviews from Cadavre-chan and themself via d802cba August 31, 2026 13:35
charlesmadjeri and others added 2 commits August 31, 2026 18:00
…restart

Split monolithic launcher.py into a launcher/ module tree with backward-compatible
imports. Orphan cleanup during core/modifier restarts no longer kills control
panel Vite when that service is still selected and running.

- launcher/: constants, config, platform, process, shell, tmux, package, state,
  apply, tui; entry via python -m launcher
- launcher.py: thin shim for python launcher.py
- launch_lucy.sh: python -m launcher
- process: protect_vite from package readiness/command metadata; clear pending
  preserve after debounced teardown
- apply: preserve running interfaces/tools during partial teardown
- docs/README: update launcher entry points
- tests: expand test_launcher_pixi.py (28 tests)
Signed-off-by: Mael-RABOT <mael.rabot@epitech.eu>
Comment thread config/repos.json
"url_ssh": "git@github.com:micro-ROS/micro-ROS-Agent.git"
},
{
"name": "audio_common",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What was this for?

Base automatically changed from cma/evol-windows-docs to cma/feat-pixi-foundation August 31, 2026 16:48
@charlesmadjeri
charlesmadjeri merged commit a979c35 into cma/feat-pixi-foundation Aug 31, 2026
3 of 7 checks passed
@charlesmadjeri
charlesmadjeri deleted the cma/refactor-launcher-archi branch August 31, 2026 16:51
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.

4 participants