Azure / Azure/azure-sdk-tools

Investigate use of unpinned `npm install -g` and `npx --yes` in CI pipelines

Open
#7,679 0 comments 0 reactions 0 assignees View on GitHub
Central-EngSys
Dominant language
C#
Stars
135
Forks
260
Avg merge
1d 22h
Merged PRs (30d)
115

Description

CI builds should be deterministic and repeatable. Use of `npm install -g` and `npx --yes` violate deterministic builds by installing latest versions of packages and their dependencies.

Contributor guide

Open the contributing guide

Research direction

Search the CI pipelines for uses of `npm install -g` and `npx --yes`, then record which packages and versions each command installs. Review how those dependencies are currently resolved and identify the changes needed for deterministic, repeatable builds; done means all relevant uses have a clear resolution.

Written by the indexing model from the issue text.

Assessment

Tech stack
node.js
Domain
build-system, ci-cd
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.