Sync Repo-docs-RELEASE-DEPENDENCIES from project files
@@ -1,4 +1,4 @@
|
|||||||
<!-- codex-wiki-sync:139ec2a4b3b9d5c798d4508c -->
|
<!-- codex-wiki-sync:4ac4cee4a2b691e1751522a9 -->
|
||||||
|
|
||||||
> Mirrored from `/mnt/DATA/git/govoplan-core/docs/RELEASE_DEPENDENCIES.md`.
|
> Mirrored from `/mnt/DATA/git/govoplan-core/docs/RELEASE_DEPENDENCIES.md`.
|
||||||
> Origin: `repository`.
|
> Origin: `repository`.
|
||||||
@@ -53,18 +53,37 @@ already installed. It does not install or uninstall Python/npm packages from
|
|||||||
inside the running server.
|
inside the running server.
|
||||||
|
|
||||||
For runtime package changes, create an operator install plan in Admin > System >
|
For runtime package changes, create an operator install plan in Admin > System >
|
||||||
Modules. The plan can also be rendered from the server shell:
|
Modules. The module manager shows the trusted installer preflight status and
|
||||||
|
blocks unsafe uninstalls before the operator touches packages.
|
||||||
|
|
||||||
|
Preflight from the server shell:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
govoplan-module-install-plan --format shell
|
govoplan-module-installer --format shell
|
||||||
# or
|
|
||||||
python -m govoplan_core.commands.module_install_plan --format shell
|
|
||||||
```
|
```
|
||||||
|
|
||||||
Apply those commands from a controlled operator shell while maintenance mode is
|
Apply from a controlled operator shell while maintenance mode is active:
|
||||||
active. Install rows must use tagged package/git refs or registry packages, not
|
|
||||||
local `file:` or workspace links. After package changes, run migrations and
|
```bash
|
||||||
restart or reload the affected server/WebUI processes according to the
|
govoplan-module-installer --apply --build-webui
|
||||||
|
```
|
||||||
|
|
||||||
|
The installer uses a runtime lock, snapshots `pip freeze` plus WebUI
|
||||||
|
`package.json`/`package-lock.json`, writes a run record below
|
||||||
|
`runtime/module-installer/runs`, and marks planned rows as applied only after
|
||||||
|
all commands succeed.
|
||||||
|
|
||||||
|
Rollback uses the saved run snapshot:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
govoplan-module-installer --rollback <run-id>
|
||||||
|
```
|
||||||
|
|
||||||
|
Install rows must use tagged package/git refs or registry packages, not local
|
||||||
|
`file:` or workspace links. WebUI package changes still require `npm install`
|
||||||
|
and a WebUI rebuild/reload because the current shell resolves WebUI modules from
|
||||||
|
the build-time package graph. After backend package changes, run migrations and
|
||||||
|
restart or reload the affected server/worker processes according to the
|
||||||
deployment model.
|
deployment model.
|
||||||
|
|
||||||
## WebUI
|
## WebUI
|
||||||
|
|||||||
Reference in New Issue
Block a user