tools: install Codex into the worker executable path
Use a global npm install within the service user's prefix so the configured .local/bin launcher exists. Exercise npm with an offline synthetic package and check the installed launcher without contacting a provider. Refs #19
This commit is contained in:
@@ -232,6 +232,11 @@ of configuration/keys, partial setup, stopped services and activation rollback.
|
||||
a real Proxmox create/update, Linux build, certificate issuance or provider login. No Proxmox
|
||||
host/container was changed while developing this script.
|
||||
|
||||
One installer regression uses real Node.js/npm with an offline synthetic package to check the
|
||||
configured Codex launcher and repeat installation. It skips explicitly when Node.js/npm are
|
||||
unavailable. On Windows its fixture adapts npm's global-prefix layout to the guest's Linux `bin`
|
||||
path; that checks npm install mode and actual files without claiming Linux execution.
|
||||
|
||||
Updater tests use real local Git repositories and Bash with a synthetic installer. They verify
|
||||
two-version fast-forward deployment, no-change retry, dirty/diverged/ahead/detached refusal,
|
||||
fetch failure, dry-run, exit status, ignored-state retention and ignored-file collisions. Advisory lock command results
|
||||
|
||||
Reference in New Issue
Block a user