Skip to content

ci(deps): add reproducible dependency installation check and workflow (#719) - #728

Open
ravendevhub wants to merge 1 commit into
Core-Foundry:mainfrom
ravendevhub:ci/reproducible-dependency-install-check-719
Open

ci(deps): add reproducible dependency installation check and workflow (#719)#728
ravendevhub wants to merge 1 commit into
Core-Foundry:mainfrom
ravendevhub:ci/reproducible-dependency-install-check-719

Conversation

@ravendevhub

Copy link
Copy Markdown

Summary

Resolves #719 by establishing an automated dependency lockfile validation utility (scripts/check-dependency-locks.sh) and GitHub Actions workflow (.github/workflows/reproducible-dependencies.yml) to detect lockfile drift and guarantee 100% reproducible builds across Node.js and Rust environments.

Changes

  1. Lockfile Integrity Checker (scripts/check-dependency-locks.sh):
    • Validates that listener/ and dashboard/ package-lock.json match package.json with zero drift.
    • Validates that contract/ Cargo.lock remains frozen and compatible with Cargo.toml.
    • Provides clear, actionable remediation commands when drift is detected.
  2. CI Workflow (.github/workflows/reproducible-dependencies.yml):
    • Enforces frozen lockfile verification on all PRs modifying package manifests.
  3. Policy Documentation (docs/REPRODUCIBLE_DEPENDENCY_INSTALLATION.md):
    • Outlines frozen install policies and local verification steps.

Acceptance Criteria

  • CI uses the appropriate frozen/locked installation mode.
  • Dependency lockfile drift is detected.
  • Installation failures provide actionable output.

…Core-Foundry#719)

- Add scripts/check-dependency-locks.sh auditing npm and cargo lockfiles
- Detect package-lock.json and Cargo.lock drift against root manifests
- Add GitHub Actions CI workflow enforcing frozen lockfile installation
- Document reproducible dependency policy in docs/REPRODUCIBLE_DEPENDENCY_INSTALLATION.md
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.

Add Reproducible Dependency Installation Check

1 participant