Skip to content

ci: add an optional npm dependency triage report - #295

Closed
PresentJay wants to merge 1 commit into
pchuri:mainfrom
PresentJay:chore/dependency-triage-report
Closed

PresentJay wants to merge 1 commit into
pchuri:mainfrom
PresentJay:chore/dependency-triage-report

Conversation

@PresentJay

@PresentJay PresentJay commented Nov 2, 2026 •

Copy link
Copy Markdown

Pull Request Template

Description

I contribute to zero-shelter and am exploring where a manual HTML view of npm advisories is useful. Confluence CLI already audits production dependencies before publishing. This proposal offers an optional view of the full committed npm tree, including development tools. It needs no Confluence credentials or API calls. AI assistance was used for the change and validation.

Only .github/workflows/dependency-report.yml changes. Dependency triage report uses workflow_dispatch, contents: read, and Node 24 within this report job. It runs npm audit --package-lock-only --ignore-scripts followed by pinned zero-shelter@0.0.10, retaining generated HTML for 7 days. It installs no project dependencies, runs no project lifecycle scripts and accepts no baseline. Finding exit 1 and judgement-error exit 2 fail the job. The existing production audit and release gate remain in place.

Type of Change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Documentation update
  • Performance improvement
  • Code refactoring

This adds optional CI reporting only.

Testing

Stored validation at 3006d6562837 recorded 3 raw, 3 merged and 3 outstanding findings; JSON and HTML exited 1. It records 48 test suites / 1,946 tests and lint passing, plus YAML, shell and diff checks. Manifest and lockfile were unchanged. The checked items below refer to that saved validation, not a new test run. No fresh scan was made for this rewrite; the new hosted manual run remains unverified.

  • Tests pass locally with my changes
  • I have added tests that prove my fix is effective or that my feature works
  • New and existing unit tests pass locally with my changes

The existing tests passed in the saved run; no new application test files are included.

Checklist

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • Any dependent changes have been merged and published in downstream modules

The self-review was agent-assisted. No README or other documentation update is included; unchecked contribution requirements remain for review.

Screenshots (if applicable)

No screenshot is included.

Additional Context

The input is npm alone, without runtime reachability assessment. Audit sends dependency metadata to the configured registry; npx downloads and executes third-party CLI code in CI. Read-only repository permissions do not remove that execution boundary.

Does a full-tree HTML report fit your existing production-audit workflow? I can withdraw this if it would be redundant.

@PresentJay

Copy link
Copy Markdown
Author

I contribute to zero-shelter. This proposes a manual HTML view of the full npm tree, including development tools, alongside your existing production audit. The outstanding contribution checklist items remain visible in the description. Would this reporting format be useful for your workflow? I can withdraw it if the extra report would be redundant.

@pchuri

pchuri commented Nov 15, 2026

Copy link
Copy Markdown
Owner

Thanks for taking the time to put this together and for the clear write-up. Since we already audit production dependencies in the release workflow, I'd rather keep the CI surface small and not add another report for now, so I'm going to close this. Appreciate the offer, though!

@pchuri pchuri closed this Nov 15, 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