Skip to content
This repository was archived by the owner on Mar 14, 2024. It is now read-only.
This repository was archived by the owner on Mar 14, 2024. It is now read-only.

package-lock.json mismatches are not caught by presubmit #7619

@jeffposnick

Description

@jeffposnick

#7614 introduced a mismatch between our package.json and package-lock.json files, which prevented production deployments from succeeding. Ostensibly, this should have been caught by our presubmit GitHub Action, but looking at the logs, I see that npm ci succeeded when run during presubmit.

The difference might be that our production deployment uses npm ci --production, and presubmit uses npm ci, but I do not see anything in the docs about --production changing the way package-lock.json mismatches are treated by npm ci.

We should investigate the discrepancy and ensure that this sort of mismatch is properly flagged in presubmit.

Metadata

Metadata

Assignees

No one assigned

    Labels

    P1A high priority task. This task *must* be completed soon.engFor items that require engineering work.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions