You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
follow-up from #174: HOME check not bound to the npm ci call in test-playwright-pins run_smoke #175
The HOME isolation check in scripts/test-playwright-pins.py accepts HOME when run_smoke assigns any dict with a "HOME" key, and the npm ci call has any keyword named env. It does not check that the env= value of that call is the dict that contains HOME. A mutant that keeps the env dict with HOME but passes env=dict(os.environ) (or env=None) to npm ci still passes the check.
Location
Check: scripts/test-playwright-pins.py, FixtureReadme.smoke_gaps (about lines 634–638), used by test_run_smoke_npm_ci_carries_every_isolation_setting.
Code under test: scripts/playwright-pins.py, function run_smoke, the subprocess.run(["npm", "ci", ...]) call (about line 825).
Why it matters
HOME is what points npm at the isolated config and cache. If npm ci runs with the host environment, the install can pick up the user's npm state while the test reports success.
Suggested fix
Require the env= keyword of the npm ci call to be a Name that is bound to the dict containing "HOME". Add a test that fails when env= is missing or points at a different object.
Source
Opus and Sol reviews of 1594e56 (LOW). Review files: /Users/pahud/repo/openab-computer/.agents/tasks/openab-computer-fix-pr146-followup-2026-11-19/opus5-review.md (additional finding 1) and sol-review.md (finding 1). Carried over from PR #174 (merge commit 845a674).
Activity