Skip to content

Record npm provenance metadata#1604

Open
AgentGoose32 wants to merge 1 commit into
ecosyste-ms:mainfrom
AgentGoose32:polar-418-npm-provenance
Open

Record npm provenance metadata#1604
AgentGoose32 wants to merge 1 commit into
ecosyste-ms:mainfrom
AgentGoose32:polar-418-npm-provenance

Conversation

@AgentGoose32
Copy link
Copy Markdown

Refs #418

Adds npm provenance metadata capture during version sync.

Changes:

  • Reuses the parsed npm dist hash while mapping version metadata
  • Records provenance-related fields under metadata["provenance"] when present:
    • dist.attestations
    • dist.provenance
    • dist.signatures
    • dist.npm-signature
  • Keeps existing metadata["dist"] storage intact

Validation:

  • ruby -c app/models/ecosystem/npm.rb
  • git diff --check

Notes:

  • Full Rails test execution remains locally blocked by the repo lockfile requiring Bundler 4.0.10 under system Ruby.

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.

1 participant