-
Notifications
You must be signed in to change notification settings - Fork 8
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
Enabling serverless in new next app #152
base: main
Are you sure you want to change the base?
Conversation
adding config removing bak
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
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.
👍 Looks good to me! Reviewed everything up to 8712890 in 44 seconds
More details
- Looked at
2606
lines of code in37
files - Skipped
2
files when reviewing. - Skipped posting
7
drafted comments based on config settings.
1. apps/app-config/connectors/connectors.def.ts:8
- Draft comment:
The removal of the Firebase, Foreceipt, and MongoDB connectors from this file suggests they are no longer needed. Ensure these connectors are not used elsewhere in the codebase to avoid runtime errors. - Reason this comment was not posted:
Comment did not seem useful.
2. apps/app-config/connectors/connectors.merged.ts:15
- Draft comment:
The removal of the Firebase, Foreceipt, and MongoDB connectors from this file suggests they are no longer needed. Ensure these connectors are not used elsewhere in the codebase to avoid runtime errors. - Reason this comment was not posted:
Marked as duplicate.
3. apps/app-config/connectors/connectors.server.ts:8
- Draft comment:
The removal of the Firebase, Foreceipt, and MongoDB connectors from this file suggests they are no longer needed. Ensure these connectors are not used elsewhere in the codebase to avoid runtime errors. - Reason this comment was not posted:
Marked as duplicate.
4. apps/app-config/connectors/meta.js:81
- Draft comment:
The removal of the Firebase, Foreceipt, and MongoDB connectors from this file suggests they are no longer needed. Ensure these connectors are not used elsewhere in the codebase to avoid runtime errors. - Reason this comment was not posted:
Marked as duplicate.
5. apps/app-config/package.json:24
- Draft comment:
The removal of the Firebase, Foreceipt, and MongoDB dependencies suggests they are no longer needed. Ensure these connectors are not used elsewhere in the codebase to avoid runtime errors. - Reason this comment was not posted:
Marked as duplicate.
6. apps/cli/package.json:11
- Draft comment:
The removal of the Firebase dependency suggests it is no longer needed. Ensure this connector is not used elsewhere in the codebase to avoid runtime errors. - Reason this comment was not posted:
Marked as duplicate.
7. package.json:115
- Draft comment:
The removal of the Firebase patch suggests it is no longer needed. Ensure this connector is not used elsewhere in the codebase to avoid runtime errors. - Reason this comment was not posted:
Marked as duplicate.
Workflow ID: wflow_Tn3ew9S36MpBmAhy
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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.
👍 Looks good to me! Incremental review on 374ab1d in 20 seconds
More details
- Looked at
156
lines of code in2
files - Skipped
0
files when reviewing. - Skipped posting
0
drafted comments based on config settings.
Workflow ID: wflow_Hc5FliPnYwUGk63X
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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.
👍 Looks good to me! Incremental review on 2c9c532 in 20 seconds
More details
- Looked at
158
lines of code in4
files - Skipped
1
files when reviewing. - Skipped posting
2
drafted comments based on config settings.
1. packages/ui/components/SchemaForm.tsx:140
- Draft comment:
Thevalidator
is defined but not used in theSchemaForm
component. Ensure that the validation logic is correctly implemented or remove the unusedvalidator
to avoid confusion. - Reason this comment was not posted:
Comment did not seem useful.
2. apps/web/package.json:13
- Draft comment:
The--turbo
flag was removed from thedev
script. Ensure this change is intentional and doesn't negatively impact development performance. - Reason this comment was not posted:
Confidence changes required:50%
Thedev
script inapps/web/package.json
was modified to remove--turbo
, which might affect performance. It's important to ensure this change is intentional and doesn't degrade the development experience.
Workflow ID: wflow_i6PqFF1B9zy10Ns1
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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.
👍 Looks good to me! Incremental review on 1b2e842 in 1 minute and 1 seconds
More details
- Looked at
5686
lines of code in79
files - Skipped
1
files when reviewing. - Skipped posting
3
drafted comments based on config settings.
1. tbd/db/upsert.ts:102
- Draft comment:
TheshallowMergeJsonbColumns
option defaults to merging all JSONB columns if set totrue
. Consider explicitly specifying which columns should be merged to avoid unintended behavior. - Reason this comment was not posted:
Confidence changes required:50%
ThedbUpsert
function inupsert.ts
has a potential issue with theshallowMergeJsonbColumns
option. It currently defaults to merging all JSONB columns if set totrue
, which might not be the intended behavior. It would be better to explicitly specify which columns should be merged.
2. tbd/db/upsert.ts:99
- Draft comment:
EnsurekeyColumns
is always defined to prevent runtime errors. Consider adding a check to handle cases where the table does not have primary keys defined. - Reason this comment was not posted:
Confidence changes required:50%
ThedbUpsert
function inupsert.ts
does not handle the case wherekeyColumns
is undefined. This could lead to runtime errors if the table does not have primary keys defined. A check should be added to ensurekeyColumns
is always defined.
3. tbd/db/upsert.spec.ts:99
- Draft comment:
Avoid usingas never
to bypass type checks. Consider using more appropriate types or restructuring the test to ensure type safety. - Reason this comment was not posted:
Confidence changes required:50%
Inupsert.spec.ts
, the test forupsert param handling inc. jsonb
usesas never
to bypass type checks. This is not ideal as it can hide potential type errors. Consider using more appropriate types or restructuring the test to avoid usingas never
.
Workflow ID: wflow_AaJVuuutkFV68mrD
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
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.
👍 Looks good to me! Incremental review on d973e1c in 28 seconds
More details
- Looked at
689
lines of code in19
files - Skipped
1
files when reviewing. - Skipped posting
1
drafted comments based on config settings.
1. connectors/connector-splitwise/def.ts:80
- Draft comment:
TheformatAmount
function fromblossomfinance/iso-4217-currencies
has been removed, but it is still referenced in the code. This may cause runtime errors. Consider replacing it with an alternative implementation or removing the reference. - Reason this comment was not posted:
Comment looked like it was already resolved.
Workflow ID: wflow_R40gezWink3tjzJ1
You can customize Ellipsis with 👍 / 👎 feedback, review rules, user-specific overrides, quiet
mode, and more.
|
✨ No issues found! Your code is sparkling clean! ✨ 🗒️ View all ignored comments in this repo
|
Important
Enables serverless functionality in Next.js app with Cloudflare Workers and removes unused connectors.
open-next.config.ts
andwrangler.toml
.connector-firebase
,connector-foreceipt
, andconnector-mongodb
fromconnectors.def.ts
,connectors.merged.ts
,connectors.server.ts
, andmeta.js
.@openint/connector-firebase
,@openint/connector-foreceipt
, and@openint/connector-mongodb
frompackage.json
inapp-config
,cli
, andweb
.package.json
scripts and dependencies for Cloudflare Workers..gitignore
to include.open-next/
and.next-bak
.next.config.js
to includecrypto
alias and Cloudflare settings.worker-aliases/crypto.js
andworker-aliases/critters.js
for module aliasing.bar()
infoo.py
.baz()
infoo.py
to describe input dict format.This description was created by
for 25218a2. It will automatically update as commits are pushed.