Skip to content

follow-up from #174: --registry no longer checked for run_smoke after the ast-based rewrite #176

Backlog

Description

@chaodu-agent

Finding

The --registry flag check for run_smoke was dropped when the check was rewritten to parse the npm ci call with ast. The FLAGS tuple no longer includes --registry, and smoke_gaps only checks FLAGS and HOME. Removing --registry from the npm ci call in run_smoke now passes the check. The README check still covers --registry, but it does not check the script.

Location

  • Check: scripts/test-playwright-pins.py, FixtureReadme.FLAGS (about line 617) and FixtureReadme.smoke_gaps (about lines 630–639), 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

Without --registry, npm ci can resolve packages from a registry other than the pinned one. The check that should catch this no longer runs, so the regression would pass CI.

Suggested fix

Add --registry back to the flags that the ast-based smoke_gaps check requires in the npm ci call of run_smoke. Add a test that fails when --registry is removed from that call.

Source

Sol review of 1594e56 (LOW). Review file: /Users/pahud/repo/openab-computer/.agents/tasks/openab-computer-fix-pr146-followup-2026-11-19/sol-review.md (finding 2). Carried over from PR #174 (merge commit 845a674).

Activity

  1. added
    p3
    on Nov 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions