Skip to content

fix(ci): restore lockfile entries lost in the dashboard merges - #30

Closed
rudra496 wants to merge 1 commit into
Riddlrealm:mainfrom
rudra496:fix/lockfile-sync
Closed

rudra496 wants to merge 1 commit into
Riddlrealm:mainfrom
rudra496:fix/lockfile-sync

Conversation

@rudra496

Copy link
Copy Markdown
Contributor

Problem

npm ci fails on main since #24 was merged (CI run 32722050710, "Install dependencies" step) and still fails after #25 (run 32725539180). Every open PR inherits the failure because CI merges main in first — that's why the test checks on #26/#27 are red even though their code is fine.

The lockfile is missing several entries that the dependency tree requires:

  • the istanbul chain used by coverage: make-dir, html-escaper, nested semver
  • the vitest coverage stack: @vitest/coverage-v8, @bcoe/v8-coverage, ast-v8-to-istanbul (+ nested js-tokens), magicast
  • a few nested helpers (@humanfs/types, @napi-rs/lzma-linux-x64-gnu, eslint-visitor-keys under visitor-keys)

Reproduced locally: npm ci on main exits with EUSAGE listing exactly those missing packages.

Fix

Adds back those 12 entries with registry metadata (version, resolved URL, integrity, engines, bin). No existing pin is touched — 0 deletions in the diff, every resolved version stays identical to pre-#24, so installed behavior doesn't change.

I deliberately avoided regenerating the whole file: a full npm install re-resolve drifts ~168 packages to newer versions within their ranges, which is churn this fix doesn't need.

Verification

  • npm ci → exit 0 on this branch
  • no source files changed

Once this lands, the Install step goes green again and the pending test runs on #26/#27 reflect their actual code.

npm ci has been failing on main since #24 (Install dependencies step,
run 32722050710) and still fails after #25. The lockfile was left
missing several entries that the tree requires: the istanbul chain used
by coverage (make-dir, html-escaper, nested semver), the vitest
coverage stack (@vitest/coverage-v8, @bcoe/v8-coverage,
ast-v8-to-istanbul, magicast), and a few nested helpers.

This adds back exactly those entries with registry metadata. No
dependency version changes - every existing pin is untouched, so
resolved behavior is identical to before #24.
Copilot AI lite review requested due to automatic review settings August 26, 2026 11:54

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot wasn't able to review any files in this pull request.


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@rudra496

Copy link
Copy Markdown
Contributor Author

Note: #31 now includes these lockfile entries (merged the branch in) and is green end-to-end — Install and all 51 tests. If you'd rather take one PR, merging #31 alone fixes main completely; this one stays here as the minimal lockfile-only option, whatever you prefer.

@rudra496

Copy link
Copy Markdown
Contributor Author

Closing this — its purpose got served by side doors: #28/#32's chains landed their own lockfile repairs and test fixes on main (absorbing most of what this PR carried), and the gameplay PRs merged through regardless of CI state. With several people now touching the lockfile in parallel I don't want to add a competing repair on top — main's remaining npm ci gaps are better sorted by whoever's actively in that file. Thanks for merging #26/#27!

@rudra496 rudra496 closed this Aug 27, 2026
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