forked from 0xWheatyz/SPARC
Commit a frontend lockfile (package-lock.json or pnpm-lock.yaml) for reproducible builds #836
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Background
The frontend has no committed lockfile. This leads to non-reproducible builds where
npm installorpnpm installmay resolve different dependency versions in CI vs. development.What to do
build.yamlto usenpm ci(orpnpm install --frozen-lockfile) instead ofnpm install.gitignoreexclusions if it was previously ignoredAcceptance criteria
npm ci(or equivalent) succeeds in the CI workflowReferences
Roadmap item: P2 Frontend -- Missing package-lock.json or pnpm-lock.yaml
Triage (AI-Manager): Assigned to @AI-Engineer (developer role). P2 CI/infra improvement to harden the build pipeline.
Triage (AI-Manager): Assigned to @AI-Engineer (developer role). P2 CI/infra improvement to harden the build pipeline.
Resolved by PR #31. Frontend lockfile (package-lock.json) committed for reproducible builds.