Skip to content

Conversation

@ViktorSvertoka
Copy link
Member

Summary

  • skip generateStaticParams for product pages when running on Netlify
  • avoid build-time DB calls that were failing with DNS resolution errors

Why

Netlify builds were failing because Next.js attempted to query Neon during static params generation, and DNS lookups (EAI_AGAIN) failed in CI.

How to test

  • trigger a Netlify build for main
  • verify the build completes successfully
  • open a product page to confirm it renders as expected

@ViktorSvertoka ViktorSvertoka requested a review from AM1007 as a code owner January 1, 2026 15:41
@netlify
Copy link

netlify bot commented Jan 1, 2026

Deploy Preview for develop-devlovers ready!

Name Link
🔨 Latest commit 68d6974
🔍 Latest deploy log https://app.netlify.com/projects/develop-devlovers/deploys/6956959a8e2c2300086881f7
😎 Deploy Preview https://deploy-preview-98--develop-devlovers.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@coderabbitai
Copy link

coderabbitai bot commented Jan 1, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.


Comment @coderabbitai help to get the list of available commands and usage tips.

@netlify
Copy link

netlify bot commented Jan 1, 2026

Deploy Preview for devlovers ready!

Name Link
🔨 Latest commit 68d6974
🔍 Latest deploy log https://app.netlify.com/projects/devlovers/deploys/6956959a0df91f00087a588a
😎 Deploy Preview https://deploy-preview-98--devlovers.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@ViktorSvertoka ViktorSvertoka merged commit bfa059e into main Jan 1, 2026
15 checks passed
ViktorSvertoka added a commit that referenced this pull request Jan 1, 2026
Merge pull request #98 from DevLoversTeam/develop
liudmylasovetovs pushed a commit that referenced this pull request Jan 9, 2026
Fix Netlify build by skipping product static params generation
liudmylasovetovs pushed a commit that referenced this pull request Jan 9, 2026
Merge pull request #98 from DevLoversTeam/develop
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