Skip to content

ci: add an optional npm dependency report - #564

Closed
PresentJay wants to merge 1 commit into
bahmutov:masterfrom
PresentJay:zero-shelter-dependency-report
Closed

PresentJay wants to merge 1 commit into
bahmutov:masterfrom
PresentJay:zero-shelter-dependency-report

Conversation

@PresentJay

Copy link
Copy Markdown

The existing CI exercises unit tests, server demos and supported Node versions. A full-lockfile advisory report answers a separate maintenance question from whether a server starts and a test command completes.

Review the execa, wait-on and tree-kill dependency tree without starting demo servers. The new Dependency triage report runs only through workflow_dispatch, reads the npm lockfile without installing project dependencies or running their lifecycle scripts, and uploads the ranked HTML for seven days. It uses read-only repository permissions, SHA-pinned official actions and published zero-shelter@0.0.10.

Validation on 4a19b60b7691:

  • Actual npm audit --package-lock-only --ignore-scripts --json: exit 1.
  • Published zero-shelter JSON and HTML: 4 raw findings, 4 merged findings, 4 outstanding; both commands exited 1. The generated HTML was checked against the displayed package/advisory IDs.
  • YAML parsed, embedded Bash syntax checked, git diff --check passed; package manifest and lockfile unchanged.
  • Hosted Actions execution and the application test/OS matrix were not run for this workflow-only change.

The job keeps finding exit 1 and judgement-error exit 2 as failures; it does not accept a baseline or suppress existing checks. This is an npm-only dependency-metadata report, not a reachability or comprehensive-security assessment. npm audit sends package/version metadata to the configured registry, and npx obtains the pinned published CLI.

Disclosure: the contributor maintains zero-shelter; this PR was prepared with AI assistance. This is an opt-in proposal for maintainer review.

@MikeMcC399 MikeMcC399 closed this Nov 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants