Skip to content

ci: add an opt-in npm dependency report - #140

Open
PresentJay wants to merge 1 commit into
cursorless-dev:mainfrom
PresentJay:ci/zero-shelter-report-20261103-b
Open

PresentJay wants to merge 1 commit into
cursorless-dev:mainfrom
PresentJay:ci/zero-shelter-report-20261103-b

Conversation

@PresentJay

@PresentJay PresentJay commented Nov 2, 2026 •

Copy link
Copy Markdown

This offers a manual view of the extension’s npm lockfile alongside its existing build and type checks. I’m developing zero-shelter and trying it in existing projects to learn where a dependency report adds useful context.

This PR adds one separate Dependency triage report workflow with only a workflow_dispatch trigger. It collects npm audit JSON using --package-lock-only --ignore-scripts, renders it with zero-shelter@0.0.10, and keeps an HTML artifact for seven days. Permissions are contents: read; the job installs no project packages and does not accept a baseline. Finding exit 1 and judgement-error exit 2 stay failures.

The local capture from 2026-11-02 UTC, at base 09ff4c3011d0, had 0 raw / 0 merged / 0 outstanding / 0 accepted findings. npm audit and both JSON/HTML commands returned 0; a synthetic failed-scanner input returned 2. YAML, shell syntax and whitespace checks passed, and the manifest and lockfile hashes matched. This is the saved npm-only result, not a new scan. I did not run the extension test/build checks or the new hosted manual workflow.

npm audit queries the configured registry; npx downloads and runs third-party code in CI even with read-only repository permissions. Reachability and exploitability remain unverified. Implementation and this description were prepared with AI assistance.

Would a report like this be useful alongside the extension checks? I’m happy to withdraw it if your existing dependency review already covers what you need.

@PresentJay
PresentJay requested a review from a team as a code owner November 2, 2026 19:24
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 2, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-02T19:27:56.793448Z 153fb64 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@PresentJay

Copy link
Copy Markdown
Author

I contribute to zero-shelter and proposed this as a manual npm report alongside the extension’s build and type checks. The zero-finding capture in the description is a saved result, not a current security assessment. Would this report format add anything useful to your existing dependency review?

@AndreasArvidsson

Copy link
Copy Markdown
Member

I see the use case, but I don't think we really need it.

This branch has not been deployed

No deployments
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