Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 19, 2026

The Dependabot upgrade of d3-graphviz from 5.2.0 to 5.6.0 introduced a transitive dependency on @hpcc-js/wasm v2.31.0, which has a packaging bug: its bundled graphviz.cjs requires @hpcc-js/wasm-graphviz at runtime but only declares it as a devDependency.

Changes

  • Add explicit dependency: Added @hpcc-js/wasm-graphviz@^1.18.0 to package.json to satisfy the missing runtime requirement
  • Update Jest transform config: Added @hpcc-js scope to test/jest-config.ts transform patterns to handle ES modules in the package

This fixes the test failure in src/view/results/__tests__/results.spec.tsx where the module resolution failed during Jest execution.

Original prompt

Fix the failing GitHub Actions workflow Unit Test (ubuntu-latest)
Analyze the workflow logs, identify the root cause of the failure, and implement a fix.
Job ID: 59798632195
Job URL: https://github.com/github/vscode-codeql/actions/runs/20818028463/job/59798632195


💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.

…d Jest transform config

Add @hpcc-js/wasm-graphviz as explicit dependency to work around upstream packaging issue in @hpcc-js/wasm package. Also add @hpcc-js scope to Jest transform patterns to handle ES modules.

Co-authored-by: d10c <9970661+d10c@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix failing GitHub Actions workflow for unit test Fix failing Unit Test workflow by adding missing @hpcc-js/wasm-graphviz dependency Jan 19, 2026
Copilot AI requested a review from d10c January 19, 2026 14:37
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