Skip to content

add npm cache npx command and fix stale-version reuse in npx #9535

add npm cache npx command and fix stale-version reuse in npx

add npm cache npx command and fix stale-version reuse in npx #9535

Triggered via pull request February 11, 2025 19:01
Status Failure
Total duration 4m 15s
Artifacts

ci.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

86 errors
Smoke Tests
Process completed with exit code 1.
Test - Linux - 22.x: test/lib/commands/cache.js#L381
shows valid package info
Test - Linux - 22.x: test/lib/commands/cache.js#L384
shows invalid package info
Test - Linux - 22.x: test/lib/commands/cache.js#L405
logs removing single npx cache entry
Test - Linux - 22.x: test/lib/commands/cache.js#L452
logs removing everything
Test - Linux - 22.x: test/lib/commands/cache.js#L493
logs removing 2 of 3 entries
Test - Linux - 22.x: test/lib/commands/cache.js#L585
shows valid package info with _npx packages
Test - Linux - 22.x: test/lib/commands/cache.js#L624
shows valid package info with dependencies
Test - Linux - 22.x: test/lib/commands/cache.js#L661
shows valid package info with _npx directory package
Test - Linux - 22.x: test/lib/commands/cache.js#L712
shows link dependency realpath (child.isLink branch)
Test - Linux - 22.x
Could not read package.json: Error: ENOENT: no such file or directory, open '/home/runner/work/cli/cli/test/lib/commands/tap-testdir-link-hash-character-in-working-directory-path/other/i_like_%23_in_my_paths/test-pkg-link/package.json'
Test - macOS - 20.x: test/lib/commands/cache.js#L381
shows valid package info
Test - macOS - 20.x: test/lib/commands/cache.js#L384
shows invalid package info
Test - macOS - 20.x: test/lib/commands/cache.js#L405
logs removing single npx cache entry
Test - macOS - 20.x: test/lib/commands/cache.js#L452
logs removing everything
Test - macOS - 20.x: test/lib/commands/cache.js#L493
logs removing 2 of 3 entries
Test - macOS - 20.x: test/lib/commands/cache.js#L585
shows valid package info with _npx packages
Test - macOS - 20.x: test/lib/commands/cache.js#L624
shows valid package info with dependencies
Test - macOS - 20.x: test/lib/commands/cache.js#L661
shows valid package info with _npx directory package
Test - macOS - 20.x: test/lib/commands/cache.js#L712
shows link dependency realpath (child.isLink branch)
Test - macOS - 20.x
Could not read package.json: Error: ENOENT: no such file or directory, open '/Users/runner/work/cli/cli/test/lib/commands/tap-testdir-link-hash-character-in-working-directory-path/other/i_like_%23_in_my_paths/test-pkg-link/package.json'
Test - Linux - 22.9.0: test/lib/commands/cache.js#L381
shows valid package info
Test - Linux - 22.9.0: test/lib/commands/cache.js#L384
shows invalid package info
Test - Linux - 22.9.0: test/lib/commands/cache.js#L405
logs removing single npx cache entry
Test - Linux - 22.9.0: test/lib/commands/cache.js#L452
logs removing everything
Test - Linux - 22.9.0: test/lib/commands/cache.js#L493
logs removing 2 of 3 entries
Test - Linux - 22.9.0: test/lib/commands/cache.js#L585
shows valid package info with _npx packages
Test - Linux - 22.9.0: test/lib/commands/cache.js#L624
shows valid package info with dependencies
Test - Linux - 22.9.0: test/lib/commands/cache.js#L661
shows valid package info with _npx directory package
Test - Linux - 22.9.0: test/lib/commands/cache.js#L712
shows link dependency realpath (child.isLink branch)
Test - Linux - 22.9.0
Could not read package.json: Error: ENOENT: no such file or directory, open '/home/runner/work/cli/cli/test/lib/commands/tap-testdir-link-hash-character-in-working-directory-path/other/i_like_%23_in_my_paths/test-pkg-link/package.json'
Test - macOS - 22.9.0: test/lib/commands/cache.js#L381
shows valid package info
Test - macOS - 22.9.0: test/lib/commands/cache.js#L384
shows invalid package info
Test - macOS - 22.9.0: test/lib/commands/cache.js#L405
logs removing single npx cache entry
Test - macOS - 22.9.0: test/lib/commands/cache.js#L452
logs removing everything
Test - macOS - 22.9.0: test/lib/commands/cache.js#L493
logs removing 2 of 3 entries
Test - macOS - 22.9.0: test/lib/commands/cache.js#L585
shows valid package info with _npx packages
Test - macOS - 22.9.0: test/lib/commands/cache.js#L624
shows valid package info with dependencies
Test - macOS - 22.9.0: test/lib/commands/cache.js#L661
shows valid package info with _npx directory package
Test - macOS - 22.9.0: test/lib/commands/cache.js#L712
shows link dependency realpath (child.isLink branch)
Test - macOS - 22.9.0
Could not read package.json: Error: ENOENT: no such file or directory, open '/Users/runner/work/cli/cli/test/lib/commands/tap-testdir-link-hash-character-in-working-directory-path/other/i_like_%23_in_my_paths/test-pkg-link/package.json'
Test - Linux - 20.x: test/lib/commands/cache.js#L381
shows valid package info
Test - Linux - 20.x: test/lib/commands/cache.js#L384
shows invalid package info
Test - Linux - 20.x: test/lib/commands/cache.js#L405
logs removing single npx cache entry
Test - Linux - 20.x: test/lib/commands/cache.js#L452
logs removing everything
Test - Linux - 20.x: test/lib/commands/cache.js#L493
logs removing 2 of 3 entries
Test - Linux - 20.x: test/lib/commands/cache.js#L585
shows valid package info with _npx packages
Test - Linux - 20.x: test/lib/commands/cache.js#L624
shows valid package info with dependencies
Test - Linux - 20.x: test/lib/commands/cache.js#L661
shows valid package info with _npx directory package
Test - Linux - 20.x: test/lib/commands/cache.js#L712
shows link dependency realpath (child.isLink branch)
Test - Linux - 20.x
Could not read package.json: Error: ENOENT: no such file or directory, open '/home/runner/work/cli/cli/test/lib/commands/tap-testdir-link-hash-character-in-working-directory-path/other/i_like_%23_in_my_paths/test-pkg-link/package.json'
Test - Linux - 20.17.0: test/lib/commands/cache.js#L381
shows valid package info
Test - Linux - 20.17.0: test/lib/commands/cache.js#L384
shows invalid package info
Test - Linux - 20.17.0: test/lib/commands/cache.js#L405
logs removing single npx cache entry
Test - Linux - 20.17.0: test/lib/commands/cache.js#L452
logs removing everything
Test - Linux - 20.17.0: test/lib/commands/cache.js#L493
logs removing 2 of 3 entries
Test - Linux - 20.17.0: test/lib/commands/cache.js#L585
shows valid package info with _npx packages
Test - Linux - 20.17.0: test/lib/commands/cache.js#L624
shows valid package info with dependencies
Test - Linux - 20.17.0: test/lib/commands/cache.js#L661
shows valid package info with _npx directory package
Test - Linux - 20.17.0: test/lib/commands/cache.js#L712
shows link dependency realpath (child.isLink branch)
Test - Linux - 20.17.0
Could not read package.json: Error: ENOENT: no such file or directory, open '/home/runner/work/cli/cli/test/lib/commands/tap-testdir-link-hash-character-in-working-directory-path/other/i_like_%23_in_my_paths/test-pkg-link/package.json'
Test - macOS - 20.17.0: test/lib/commands/cache.js#L381
shows valid package info
Test - macOS - 20.17.0: test/lib/commands/cache.js#L384
shows invalid package info
Test - macOS - 20.17.0: test/lib/commands/cache.js#L405
logs removing single npx cache entry
Test - macOS - 20.17.0: test/lib/commands/cache.js#L452
logs removing everything
Test - macOS - 20.17.0: test/lib/commands/cache.js#L493
logs removing 2 of 3 entries
Test - macOS - 20.17.0: test/lib/commands/cache.js#L585
shows valid package info with _npx packages
Test - macOS - 20.17.0: test/lib/commands/cache.js#L624
shows valid package info with dependencies
Test - macOS - 20.17.0: test/lib/commands/cache.js#L661
shows valid package info with _npx directory package
Test - macOS - 20.17.0: test/lib/commands/cache.js#L712
shows link dependency realpath (child.isLink branch)
Test - macOS - 20.17.0
Could not read package.json: Error: ENOENT: no such file or directory, open '/Users/runner/work/cli/cli/test/lib/commands/tap-testdir-link-hash-character-in-working-directory-path/other/i_like_%23_in_my_paths/test-pkg-link/package.json'
Test - macOS - 22.x: test/lib/commands/cache.js#L381
shows valid package info
Test - macOS - 22.x: test/lib/commands/cache.js#L384
shows invalid package info
Test - macOS - 22.x: test/lib/commands/cache.js#L405
logs removing single npx cache entry
Test - macOS - 22.x: test/lib/commands/cache.js#L452
logs removing everything
Test - macOS - 22.x: test/lib/commands/cache.js#L493
logs removing 2 of 3 entries
Test - macOS - 22.x: test/lib/commands/cache.js#L585
shows valid package info with _npx packages
Test - macOS - 22.x: test/lib/commands/cache.js#L624
shows valid package info with dependencies
Test - macOS - 22.x: test/lib/commands/cache.js#L661
shows valid package info with _npx directory package
Test - macOS - 22.x: test/lib/commands/cache.js#L712
shows link dependency realpath (child.isLink branch)
Test - macOS - 22.x
Could not read package.json: Error: ENOENT: no such file or directory, open '/Users/runner/work/cli/cli/test/lib/commands/tap-testdir-link-hash-character-in-working-directory-path/other/i_like_%23_in_my_paths/test-pkg-link/package.json'
Windows Shims Tests
Process completed with exit code 1.
Test - Windows - 22.9.0
Process completed with exit code 1.
Test - Windows - 20.17.0
Process completed with exit code 1.
Test - Windows - 22.x
Process completed with exit code 1.
Test - Windows - 20.x
Process completed with exit code 1.