Bump min npm to 11.16.0 in setup-node action by harupy · Pull Request #23639 · mlflow/mlflow · GitHub
Skip to content

Bump min npm to 11.16.0 in setup-node action#23639

Merged
harupy merged 1 commit into
mlflow:masterfrom
harupy:bump-npm-11.16
May 28, 2026
Merged

Bump min npm to 11.16.0 in setup-node action#23639
harupy merged 1 commit into
mlflow:masterfrom
harupy:bump-npm-11.16

Conversation

@harupy

@harupy harupy commented May 28, 2026

Copy link
Copy Markdown
Member

Related Issues/PRs

Relates to npm/cli#9360

What changes are proposed in this pull request?

Bump the minimum npm pinned by .github/actions/setup-node/action.yml from ^11.10.0 to ^11.16.0.

Why: npm 11.16.0 ships Phase 1 of the allowScripts opt-in install-script policy (npm/cli#9360). Phase 1 is advisory-only: npm install now prints a block listing dependencies whose install scripts haven't been reviewed via allowScripts in package.json. No install behavior changes, but bumping the floor here lets us see those advisories in CI ahead of Phase 2, which will turn the advisory into an actual block.

How is this PR tested?

  • Existing unit/integration tests

Does this PR require documentation update?

  • No.

Does this PR require updating the MLflow Skills repository?

  • No.

Release Notes

Is this a user-facing change?

  • No.

What component(s), interfaces, languages, and integrations does this PR affect?

Components

  • area/build: Build and test infrastructure for MLflow

How should the PR be classified in the release notes? Choose one:

  • rn/none - No description will be included. The PR will be mentioned only by the PR number in the "Small Bugfixes and Documentation Updates" section

Is this PR a critical bugfix or security fix that should go into the next patch release?

  • This PR is critical and needs to be in the next patch release
  • This PR can wait for the next minor release

🤖 Generated with Claude Code

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: harupy <17039389+harupy@users.noreply.github.com>
Copilot AI review requested due to automatic review settings May 28, 2026 07:49
@github-actions

Copy link
Copy Markdown
Contributor

@github-actions github-actions Bot added area/build Build and test infrastructure for MLflow rn/none List under Small Changes in Changelogs. labels May 28, 2026
@harupy

harupy commented May 28, 2026

Copy link
Copy Markdown
Member Author

/review


Review completed (claude-sonnet-4-6, 49.5s, 11 turns, 2396 tokens, $0.14)

Result
{
  "type": "result",
  "subtype": "success",
  "is_error": false,
  "api_error_status": null,
  "duration_ms": 49477,
  "duration_api_ms": 44993,
  "ttft_ms": 2182,
  "num_turns": 11,
  "result": "The payload validated. Here's the review summary:\n\n**PR #23639 — Bump min npm to 11.16.0 in setup-node action**\n\n**Decision: APPROVE** — no findings.\n\nThe change is a one-line version bump (`^11.10.0` → `^11.16.0`) with a comment update that accurately explains the new motivation (allowScripts opt-in install-script policy) and links to the upstream npm PR for traceability. The `^` range is intentional and consistent with the prior approach. No behavioral change to install scripts in Phase 1 (advisory-only), so CI risk is low. Nothing to flag.",
  "stop_reason": "end_turn",
  "session_id": "5b51d0f2-5cdb-4baf-a2c9-2b6f770e1ade",
  "total_cost_usd": 0.14359034999999998,
  "usage": {
    "input_tokens": 10,
    "cache_creation_input_tokens": 15321,
    "cache_read_input_tokens": 165962,
    "output_tokens": 2386,
    "server_tool_use": {
      "web_search_requests": 0,
      "web_fetch_requests": 0
    },
    "service_tier": "standard",
    "cache_creation": {
      "ephemeral_1h_input_tokens": 0,
      "ephemeral_5m_input_tokens": 15321
    },
    "inference_geo": "",
    "iterations": [
      {
        "input_tokens": 1,
        "output_tokens": 152,
        "cache_read_input_tokens": 28291,
        "cache_creation_input_tokens": 147,
        "cache_creation": {
          "ephemeral_5m_input_tokens": 147,
          "ephemeral_1h_input_tokens": 0
        },
        "type": "message"
      }
    ],
    "speed": "standard"
  },
  "modelUsage": {
    "claude-haiku-4-5-20251001": {
      "inputTokens": 448,
      "outputTokens": 16,
      "cacheReadInputTokens": 0,
      "cacheCreationInputTokens": 0,
      "webSearchRequests": 0,
      "costUSD": 0.000528,
      "contextWindow": 200000,
      "maxOutputTokens": 32000
    },
    "claude-sonnet-4-6": {
      "inputTokens": 10,
      "outputTokens": 2386,
      "cacheReadInputTokens": 165962,
      "cacheCreationInputTokens": 15321,
      "webSearchRequests": 0,
      "costUSD": 0.14306235,
      "contextWindow": 200000,
      "maxOutputTokens": 32000
    }
  },
  "permission_denials": [],
  "terminal_reason": "completed",
  "fast_mode_state": "off",
  "uuid": "036dcc7d-f15d-44cc-9182-bfb7bf586a74"
}

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the repository’s composite Node setup action to install a newer minimum npm version for CI/build workflows.

Changes:

  • Bumps the pinned npm minimum from ^11.10.0 to ^11.16.0.
  • Updates the inline comment to explain the allowScripts policy motivation.

@mlflow-app mlflow-app Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Clean, well-motivated bump: the comment accurately describes why 11.16.0 is the new floor and links to the upstream npm PR for traceability. No behavioral change to install scripts in this phase, so CI risk is low.

🤖 Generated with Claude

@harupy harupy enabled auto-merge May 28, 2026 07:55
@github-actions

Copy link
Copy Markdown
Contributor

@harupy harupy added this pull request to the merge queue May 28, 2026
Merged via the queue into mlflow:master with commit c9169d9 May 28, 2026
63 of 65 checks passed
@harupy harupy deleted the bump-npm-11.16 branch May 28, 2026 08:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/build Build and test infrastructure for MLflow rn/none List under Small Changes in Changelogs. size/XS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants