Skip to content

chore(scripts): unbreak renovate by narrowing tsconfig to the CI script#686

Merged
robwoodgate merged 1 commit into
mainfrom
renovate-fix
Jun 3, 2026
Merged

chore(scripts): unbreak renovate by narrowing tsconfig to the CI script#686
robwoodgate merged 1 commit into
mainfrom
renovate-fix

Conversation

@robwoodgate

Copy link
Copy Markdown
Collaborator

Summary

  • Fix stale ../src/crypto/bls import in scripts/generate-nuts-vectors.ts (renamed to curve_bls in refactor(crypto): split curve primitives #667)
  • Narrow scripts/tsconfig.json include to just UpdateMakefileMintVersion.ts so the renovate workflow only compiles what it runs

Motivation

The nightly renovate workflow runs npm run update-docker-versions, which calls build:scripts (tsc -p scripts/tsconfig.json). The tsconfig included every .ts under scripts/, so a stale import in the one-shot generate-nuts-vectors.ts generator (left behind by the crypto split in #667) was enough to fail the whole step.

UpdateMakefileMintVersion.ts is the only script invoked from CI. The bench scripts and the nuts-vector generator are run ad-hoc via npx tsx. Narrowing the tsconfig include keeps CI focused on what it actually runs and prevents future dev/bench scripts from blocking renovate.

Test plan

  • npm run update-docker-versions succeeds locally
  • dist-scripts/ contains only UpdateMakefileMintVersion.js
  • Next renovate workflow run completes

The crypto split in #667 renamed src/crypto/bls to src/crypto/curve_bls
but left generate-nuts-vectors.ts pointing at the old path, which broke
renovate's build:scripts step. Narrow scripts/tsconfig.json to compile
only UpdateMakefileMintVersion.ts (the sole script CI runs) so dev/bench
files can't block renovate again, and fix the stale import.
@codecov

codecov Bot commented Jun 3, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.34%. Comparing base (dc72710) to head (55be1b9).
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #686   +/-   ##
=======================================
  Coverage   92.34%   92.34%           
=======================================
  Files          53       53           
  Lines        4964     4964           
  Branches     1224     1224           
=======================================
  Hits         4584     4584           
  Misses        161      161           
  Partials      219      219           
Flag Coverage Δ
integration 38.47% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@robwoodgate robwoodgate merged commit ba7429f into main Jun 3, 2026
18 checks passed
@robwoodgate robwoodgate deleted the renovate-fix branch June 3, 2026 18:53
@github-project-automation github-project-automation Bot moved this from Backlog to Done in cashu-ts Jun 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant