Skip to content

test: isolate systemd install from host OMP_WEB_OMP_BIN - #108

Merged
kahme247 merged 1 commit into
kahme247:mainfrom
andrebrait:fix/upstream-tests
Sep 16, 2026
Merged

kahme247 merged 1 commit into
kahme247:mainfrom
andrebrait:fix/upstream-tests

Conversation

@andrebrait

Copy link
Copy Markdown
Contributor

Summary

npm test on upstream main fails locally when the host exports OMP_WEB_OMP_BIN (omp-web itself does this).

install correctly persists that path into web-service.env. The LAN-settings test copied process.env and then asserted a closed env map, so the host value leaked into the assertion.

Change

Delete OMP_WEB_OMP_BIN from the child env, matching the existing PI_CODING_AGENT_DIR isolation. Product code unchanged.

Verification

  • Before: install creates the env file and unit with LAN settings fails with extra OMP_WEB_OMP_BIN.
  • After: that file 9/9 pass; full suite 811 pass, 0 fail; tsc --noEmit and eslint clean.

Install persists OMP_WEB_OMP_BIN when set. The LAN-settings test copied
process.env and leaked the host value into the written service env file.
@andrebrait

Copy link
Copy Markdown
Contributor Author

Companion review PR (same diff): andrebrait#29

@kahme247
kahme247 merged commit 330db7d into kahme247:main Sep 16, 2026
3 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.

2 participants