-
Notifications
You must be signed in to change notification settings - Fork 110
fix(toolchain): mark external deps #2713
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(toolchain): mark external deps #2713
Conversation
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the You can disable this status message by setting the 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Claude finished @NathanFlurry's task —— View job Code Review CompleteI've analyzed the changes in this PR that focus on marking external dependencies in the toolchain. Here's my detailed feedback: Todo List:
🔍 Review FeedbackCritical Issues 🚨
Code Quality Issues
|
@@ -86,5 +91,5 @@ export const rivetPreset: Preset = { | |||
//process: "@cloudflare/unenv-preset/runtime/node/process/index", | |||
}, | |||
polyfill: [], | |||
external: nodeCompatModules.flatMap((p) => [p, `node:${p}`]), | |||
externa: nodeCompatModules.flatMap((p) => [p, `node:${p}`]), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There appears to be a typo in the property name: externa
should be external
. This will prevent the external modules configuration from working correctly, as the system won't recognize the misspelled property.
externa: nodeCompatModules.flatMap((p) => [p, `node:${p}`]), | |
external: nodeCompatModules.flatMap((p) => [p, `node:${p}`]), |
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
@@ -48,6 +50,9 @@ const hybridNodeCompatModules = [ | |||
"util", | |||
]; | |||
|
|||
const externalModules = nodeCompatModules.flatMap((p) => [p, `node:${p}`]) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The externalModules
variable is defined but unused, while the same expression is duplicated in the externa
property below. Consider either:
- Using the variable in the property:
externa: externalModules
- Removing the unused variable definition
Also note that the property name appears to have a typo - externa
should likely be external
based on the context.
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
@@ -54,6 +54,8 @@ export async function build(input: Input): Promise<Output> { | |||
stdLibBrowser[ `node:${packageName}` ] = packagePath; | |||
} | |||
|
|||
console.log('foo') |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This debug console.log('foo')
statement should be removed before merging. It appears to be unintentional debugging code that made its way into the PR.
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
@@ -48,6 +50,9 @@ const hybridNodeCompatModules = [ | |||
"util", | |||
]; | |||
|
|||
const externalModules = nodeCompatModules.flatMap((p) => [p, `node:${p}`]) | |||
console.log('modules', externalModules); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This debug console.log
statement should be removed before merging. It appears to be printing the external modules list, which is likely only needed during development.
Spotted by Diamond
Is this helpful? React 👍 or 👎 to let us know.
363e596
to
9443c96
Compare
31794bf
to
03bcfbc
Compare
Claude finished @NathanFlurry's task —— View job Code Review CompleteI've analyzed the changes in this PR that focus on marking external dependencies in the toolchain. Here's my detailed feedback: Todo List:
🔍 Review FeedbackCritical Issues 🚨
Code Quality Issues
|
Claude finished @NathanFlurry's task —— View job PR Code Review CompleteReviewed the changes in this PR that focus on marking external dependencies in the toolchain. Todo List:
🔍 Review FeedbackCritical Issues 🚨
Code Quality Issues
|
Deploying rivet with
|
Latest commit: |
ecc699b
|
Status: | ✅ Deploy successful! |
Preview URL: | https://e96f4b2e.rivet.pages.dev |
Branch Preview URL: | https://07-03-fix-toolchain-mark-ext.rivet.pages.dev |
Deploying rivet-hub with
|
Latest commit: |
ecc699b
|
Status: | ✅ Deploy successful! |
Preview URL: | https://4551e855.rivet-hub-7jb.pages.dev |
Branch Preview URL: | https://07-03-fix-toolchain-mark-ext.rivet-hub-7jb.pages.dev |
9443c96
to
e81e23e
Compare
03bcfbc
to
5db3aad
Compare
Claude finished @NathanFlurry's task —— View job Claude finished @NathanFlurry's task —— View job Code Review CompleteI've analyzed the changes in this PR that focus on marking external dependencies in the toolchain. Here's my detailed feedback: Todo List:
🔍 Review FeedbackCritical Issues 🚨
Code Quality Issues
|
Claude finished @NathanFlurry's task —— View job Todo List:
🔍 Code Review FeedbackCritical Issues 🚨
Code Quality Issues
|
5db3aad
to
c1e41fb
Compare
e81e23e
to
30e7e82
Compare
Claude finished @NathanFlurry's task —— View job Claude Code is reviewing this PR… Todo List:
🔍 Code Review FeedbackCritical Issues 🚨
Code Quality Issues
|
Claude finished @NathanFlurry's task —— View job Code Review CompleteI've analyzed the changes in this PR that focus on marking external dependencies in the toolchain. Here's my detailed feedback: Todo List:
🔍 Review FeedbackCritical Issues 🚨
Code Quality Issues
|
Claude finished @NathanFlurry's task —— View job Claude Code is reviewing this PR… Todo List:
🔍 Code Review FeedbackCritical Issues 🚨
Code Quality Issues
|
Claude finished @NathanFlurry's task —— View job Claude Code is reviewing this PR… Todo List:
🔍 Code Review FeedbackCritical Issues 🚨
Code Quality Issues
|
34d28a2
to
ecc699b
Compare
97a6df1
to
184d5a4
Compare
Claude finished @NathanFlurry's task —— View job Code Review CompleteI've analyzed the changes in this PR that focus on marking external dependencies in the toolchain. Here's my detailed feedback: Todo List:
🔍 Review FeedbackCritical Issues 🚨
Code Quality Issues
|
Claude finished @NathanFlurry's task —— View job Claude Code is reviewing this PR… Todo List:
🔍 Code Review FeedbackCritical Issues 🚨
Code Quality Issues
|
184d5a4
to
97a6df1
Compare
ecc699b
to
34d28a2
Compare
Claude finished @NathanFlurry's task —— View job Code Review CompleteI've analyzed the changes in this PR that focus on marking external dependencies in the toolchain. Here's my detailed feedback: Todo List:
🔍 Review FeedbackCritical Issues 🚨
Code Quality Issues
|
Merge activity
|
<!-- Please make sure there is an issue that this PR is correlated to. --> ## Changes <!-- If there are frontend changes, please include screenshots. -->
Changes