-
Notifications
You must be signed in to change notification settings - Fork 1
PFM-ISSUE-34453 - github-actions: Normalize package-lock.json resolved URLs onto the JFrog npm proxy (release/25.2) #163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Kaltenbach
merged 28 commits into
release/25.2
from
fix/PFM-ISSUE-34453-normalize-package-lock-json/25.2
Aug 14, 2026
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
7661e9b
PFM-ISSUE-34453 - github-actions: research package-lock.json resolved…
Kaltenbach 7eaa9dd
PFM-ISSUE-34453 - github-actions: design and implementation plan for …
Kaltenbach fd63b83
PFM-ISSUE-34453 - github-actions: add package-lock.json normalizer, i…
Kaltenbach f08ac98
PFM-ISSUE-34453 - github-actions: normalize package-lock.json resolve…
Kaltenbach 1c2e0f3
PFM-ISSUE-34453 - github-actions: record implementation progress thro…
Kaltenbach ab1f4fc
PFM-ISSUE-34453 - github-actions: record the Actions-policy blocker a…
Kaltenbach bc2f890
PFM-ISSUE-34453 - github-actions: record the consumer canary result f…
Kaltenbach e27efa3
PFM-ISSUE-34453 - github-actions: gate Phase 7 on PR #163 approval, n…
Kaltenbach 791401b
PFM-ISSUE-34453 - github-actions: address review - require .tgz, drop…
Kaltenbach 4fc8229
PFM-ISSUE-34453 - github-actions: pre-flight Phase 7 while #163 is in…
Kaltenbach 6950658
PFM-ISSUE-34453 - github-actions: consumer survey for 34454, canary r…
Kaltenbach 3031b8a
PFM-ISSUE-34453 - github-actions: confirm cplace-paw-fe release/25.2 …
Kaltenbach ab7d153
PFM-ISSUE-34453 - github-actions: mitigate immediately via replace-re…
Kaltenbach 6babd97
PFM-ISSUE-34453 - github-actions: document the interim mitigation in …
Kaltenbach c3046f8
PFM-ISSUE-34453 - github-actions: record the mitigation canary result
Kaltenbach 928dfe9
PFM-ISSUE-34453 - github-actions: close out the mitigation canary, an…
Kaltenbach 604f95e
PFM-ISSUE-34453 - github-actions: fix two real bugs found in review o…
Kaltenbach 7fee8d4
PFM-ISSUE-34453 - github-actions: fix ten defects from the second rev…
Kaltenbach d023a86
PFM-ISSUE-34453 - github-actions: make the normalizer self-assertion …
Kaltenbach 2be5ef6
PFM-ISSUE-34453 - github-actions: restore lost plan checkboxes and re…
Kaltenbach 4a160a7
PFM-ISSUE-34453 - github-actions: fix the startswith predicate in war…
Kaltenbach ebca6fd
PFM-ISSUE-34453 - github-actions: review iteration 1 - 15 findings
Kaltenbach 81dc7b6
PFM-ISSUE-34453 - github-actions: triage review findings 1.2, 1.3 and…
Kaltenbach 1f2ab7c
PFM-ISSUE-34453 - github-actions: triage the remaining review finding…
Kaltenbach 8cb5d67
PFM-ISSUE-34453 - github-actions: allow slashes in the tarball path a…
Kaltenbach 5b7a73b
PFM-ISSUE-34453 - github-actions: implement plan Phase 9 - jq audit f…
Kaltenbach 9b1d3bf
PFM-ISSUE-34453 - github-actions: record the Phase 9 CI evidence
Kaltenbach 4d796dc
PFM-ISSUE-34453 - github-actions: add a visual overview of the lockfi…
Kaltenbach File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,61 @@ | ||
| name: PR Checks | ||
|
|
||
| # This repository's first `on: pull_request` workflow. Everything under | ||
| # .github/workflows/ is otherwise `workflow_call`-only, and the `pull_request` | ||
| # trigger lives in .github/workflow-templates/fe/fe-pr.yml, which GitHub never | ||
| # executes. | ||
| # | ||
| # No `paths:` filter on purpose: a path-filtered workflow reports as pending | ||
| # rather than success, and would permanently block merges once it becomes a | ||
| # required check. | ||
| on: | ||
| pull_request: | ||
| branches: | ||
| - '**' | ||
|
|
||
| permissions: | ||
| contents: read | ||
|
|
||
| jobs: | ||
| lockfile: | ||
| name: Lockfile registry invariant | ||
| runs-on: ${{ vars.SMALL_RUNNER || 'ubuntu-latest' }} | ||
| steps: | ||
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | ||
|
|
||
| # --prefix-only, NOT a baseline comparison. The ongoing guard must answer | ||
| # only "does every entry resolve via the proxy?" - a pull request has to | ||
| # stay free to add, remove or update dependencies. | ||
| # | ||
| # Comparing against the base branch would fail every legitimate dependency | ||
| # change, and would then advise running the normalizer, which cannot fix a | ||
| # graph difference. Graph invariance belongs to verifying a normalization | ||
| # commit (`--baseline HEAD~1`), not to everyday pull requests. | ||
| # | ||
| # With no baseline there is nothing to fetch, so the default shallow | ||
| # checkout is enough. jq is pre-installed on GitHub-hosted ubuntu runners, | ||
| # and this job runs no node and no `npm ci` - the guard has to be | ||
| # trustworthy precisely when the lockfile is broken. | ||
| - name: Check package-lock.json resolved URLs | ||
| run: ./tools/scripts/lockfile/check-lockfile.sh --prefix-only | ||
|
|
||
| scripts: | ||
| name: Shell scripts | ||
| runs-on: ${{ vars.SMALL_RUNNER || 'ubuntu-latest' }} | ||
| steps: | ||
| - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | ||
|
|
||
| # Never npm devDependencies: adding them would mutate package-lock.json on | ||
| # all seven branches and break the invariant this workflow exists to guard. | ||
| # shellcheck ships in the ubuntu image, but is installed here anyway so the | ||
| # job does not silently depend on image contents. | ||
| - name: Install bats and shellcheck | ||
| run: | | ||
| sudo apt-get update | ||
| sudo apt-get install -y bats shellcheck | ||
|
|
||
| - name: shellcheck | ||
| run: shellcheck tools/scripts/lockfile/*.sh tools/scripts/lockfile/test-helper.bash | ||
|
|
||
| - name: bats | ||
| run: bats tools/scripts/lockfile/ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,2 +1,3 @@ | ||
| node_modules | ||
| .idea | ||
| package-lock.json |
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.