Skip to content

chore(ci): upgrade node to 24 (LTS) and remove stale dependabot ignores - #2350

Open
raiseandfall wants to merge 15 commits into
masterfrom
chore/node-24-maintenance
Open

chore(ci): upgrade node to 24 (LTS) and remove stale dependabot ignores#2350
raiseandfall wants to merge 15 commits into
masterfrom
chore/node-24-maintenance

Conversation

@raiseandfall

@raiseandfall raiseandfall commented Jul 17, 2026

Copy link
Copy Markdown
Member

This pull request introduces several updates focused on modernizing dependencies, improving error handling, and enhancing CI/CD workflows. The most significant changes include updating Node.js and related tooling to newer versions, switching to improved error propagation with the cause property, and refining the CI pipeline for better maintainability and release automation.

Dependency and Tooling Updates:

  • Updated the Node.js version from 22 to 24 in .nvmrc and aligned the CI workflow to use the version specified in .nvmrc, ensuring consistency across development and CI environments. (.nvmrc, .github/workflows/ci.yml) [1] [2]
  • Upgraded various development dependencies in package.json (such as @commitlint/cli, @eslint/js, and commitlint) to their latest major versions for improved compatibility and security.

CI/CD Workflow Improvements:

  • Updated action versions in the CI pipeline (e.g., actions/checkout, actions/setup-node, codecov/codecov-action) and replaced the manual release step with the cycjimmy/semantic-release-action for more robust and automated release management. (.github/workflows/ci.yml) [1] [2]
  • Enhanced Dependabot configuration by removing specific ignored dependency versions and adding commit message customization and cooldown settings to better control update frequency and commit labeling. (.github/dependabot.yml)

Error Handling Enhancements:

  • Improved error propagation throughout the codebase by adding the cause property to Error objects in several files (src/certificate.ts, src/inspectors/checkCredentialSchemaConformity.ts, src/inspectors/verifyIssuerProfile.ts, and src/parsers/parseV3.ts), making it easier to trace the root cause of errors during debugging. [1] [2] [3] [4]

raiseandfall and others added 2 commits July 17, 2026 17:32
Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
raiseandfall and others added 4 commits July 17, 2026 18:03
@raiseandfall raiseandfall changed the title chore(ci): upgrade node to 24 and remove stale dependabot ignores chore(ci): upgrade node to 24 (LTS) and remove stale dependabot ignores Jul 17, 2026

@lemoustachiste lemoustachiste left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

minor changes, but I'm not sure it is ideal to show the full error which caused rejection to the end user.

Comment thread src/inspectors/checkCredentialSchemaConformity.ts Outdated
Comment thread package.json Outdated
raiseandfall and others added 5 commits July 20, 2026 09:37
…preserve-caught-error lint rule

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
… ensureNotExpired test

Co-authored-by: Cursor <cursoragent@cursor.com>
…sues

- Add strip-node-protocol plugin to redirect node:buffer/crypto/process
  imports so rollup-plugin-polyfill-node can handle them (fixes node_buffer
  is not defined at runtime)
- Use commonjs({ defaultIsModuleExports: true }) to fix randombytes/browser.js
  default export interop with @blockcerts/ecdsa-secp256k1-verification-key-2019
- Replace rollup-plugin-node-globals with @rollup/plugin-inject for explicit
  Buffer/process injection

Co-authored-by: Cursor <cursoragent@cursor.com>
@codecov

codecov Bot commented Jul 20, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 86.96%. Comparing base (21de558) to head (2573879).

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #2350      +/-   ##
==========================================
+ Coverage   86.87%   86.96%   +0.08%     
==========================================
  Files         176      176              
  Lines        2247     2247              
  Branches      381      381              
==========================================
+ Hits         1952     1954       +2     
+ Misses        181      180       -1     
+ Partials      114      113       -1     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Co-authored-by: Cursor <cursoragent@cursor.com>

@lemoustachiste lemoustachiste left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think if you open that door, trying to remove rollup-plugin-node-globals entirely would be great

Comment thread rollup.iife.config.mjs
Comment thread rollup.iife.config.mjs
raiseandfall and others added 2 commits July 20, 2026 11:57
Co-authored-by: Cursor <cursoragent@cursor.com>
…xtureV2 as JSON

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
Comment thread test/manual-testing/browser/rollup.config.mjs Outdated
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.

3 participants