Skip to content

fix: set NETLIFY_DB_DRIVER to server in dev#670

Merged
pieh merged 1 commit intomainfrom
fix/explictly-set-db-driver-for-local-dev
Apr 28, 2026
Merged

fix: set NETLIFY_DB_DRIVER to server in dev#670
pieh merged 1 commit intomainfrom
fix/explictly-set-db-driver-for-local-dev

Conversation

@pieh
Copy link
Copy Markdown
Contributor

@pieh pieh commented Apr 28, 2026

This is proper place to address netlify/cli#8219

Once this is released, CLI change should be reverted and @netlify/dev version bumped.

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented Apr 28, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: bd77c602-2582-4a4a-8bb3-e86128bad51d

📥 Commits

Reviewing files that changed from the base of the PR and between ecff4f3 and 6ebe4de.

📒 Files selected for processing (1)
  • packages/dev/src/main.ts

📝 Walkthrough

Summary by CodeRabbit

  • Chores
    • Updated local development database configuration with enhanced runtime settings.

Walkthrough

The local database startup routine in the development package now injects an additional environment variable NETLIFY_DB_DRIVER with the value 'server' during initialization, alongside the existing NETLIFY_DB_URL variable assignment.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Title check ✅ Passed The title directly describes the main change: setting NETLIFY_DB_DRIVER to server in the dev environment, which matches the code modification.
Description check ✅ Passed The description is related to the changeset, explaining the purpose of setting the environment variable and referencing the corresponding CLI issue it addresses.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch fix/explictly-set-db-driver-for-local-dev

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

@pieh pieh marked this pull request as ready for review April 28, 2026 11:51
@pieh pieh requested a review from a team as a code owner April 28, 2026 11:51
@pieh pieh enabled auto-merge (squash) April 28, 2026 12:21
@pieh pieh merged commit cedca7a into main Apr 28, 2026
24 of 25 checks passed
@pieh pieh deleted the fix/explictly-set-db-driver-for-local-dev branch April 28, 2026 12:23
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