Skip to content

fix test-runner fastedge-cli issue#42

Merged
godronus merged 7 commits into
mainfrom
fix/plugin-feed
May 22, 2026
Merged

fix test-runner fastedge-cli issue#42
godronus merged 7 commits into
mainfrom
fix/plugin-feed

Conversation

@godronus
Copy link
Copy Markdown
Collaborator

No description provided.

Copilot AI review requested due to automatic review settings May 21, 2026 11:38
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR addresses a FastEdge CLI discovery issue in the test runner by making bundled-binary path resolution robust across install/bundle layouts, and adjusts the library bundling pipeline to better handle node:* built-ins and CommonJS dependencies when emitting ESM.

Changes:

  • Update FastEdge-run CLI discovery to locate the package root by walking up to the @gcoredev/fastedge-test package.json, then derive bundled binary paths from that root.
  • Update esbuild lib bundling to externalize all node:* imports via a resolve plugin and add an ESM require shim banner to avoid runtime failures when CommonJS code is inlined.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
server/utils/fastedge-cli.ts Adds package-root discovery and simplifies bundled CLI path candidates to be rooted at the resolved package root.
esbuild/bundle-lib.js Improves Node built-in externalization for node:* specifiers and adds an ESM require shim banner for bundled output stability.

Comment thread server/utils/fastedge-cli.ts Outdated
Comment thread server/utils/fastedge-cli.ts Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 3 out of 3 changed files in this pull request and generated 3 comments.

Comment thread server/utils/fastedge-cli.ts
Comment thread server/utils/fastedge-cli.ts
Comment thread server/__tests__/unit/utils/fastedge-cli.test.ts Outdated
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 4 out of 5 changed files in this pull request and generated 2 comments.

Comment thread server/utils/fastedge-cli.ts
Comment thread server/__tests__/unit/utils/fastedge-cli.test.ts
godronus added 2 commits May 21, 2026 16:37
Fastedge node tests no longer pollute the Rust folder structure
@godronus godronus requested review from Copilot and qrdl May 21, 2026 15:52
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Copilot reviewed 6 out of 8 changed files in this pull request and generated 2 comments.

Comment thread docs/DEBUGGER.md
Comment thread server/__tests__/unit/utils/fastedge-cli.test.ts Outdated
@godronus godronus merged commit a9b1dca into main May 22, 2026
7 checks passed
@godronus
Copy link
Copy Markdown
Collaborator Author

🎉 This PR is included in version 0.2.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants