Skip to content
This repository was archived by the owner on Jan 27, 2026. It is now read-only.

Use correct driver - #27

Merged
2xic merged 1 commit into
mainfrom
feature/use-correct-driver
Oct 24, 2025
Merged

Use correct driver#27
2xic merged 1 commit into
mainfrom
feature/use-correct-driver

Conversation

@2xic

@2xic 2xic commented Oct 24, 2025

Copy link
Copy Markdown
Contributor

Fixes IDX-1083

If developing locally or for some reason the creation of the Hyperdrive fails, we fallback to using the Neon driver which we are migrating off from.

This PR adds a check to only use the Neon driver if that is the hostname of the connection string and else fallback to vanilla Postgres.

2xic commented Oct 24, 2025

Copy link
Copy Markdown
Contributor Author

This stack of pull requests is managed by Graphite. Learn more about stacking.

@2xic
2xic force-pushed the feature/use-correct-driver branch from 28c4a60 to bca6fb3 Compare October 24, 2025 08:25
@2xic

2xic commented Oct 24, 2025

Copy link
Copy Markdown
Contributor Author

bugbot run

cursor[bot]

This comment was marked as outdated.

@2xic
2xic force-pushed the feature/use-correct-driver branch from bca6fb3 to bdf221e Compare October 24, 2025 08:30
@2xic

2xic commented Oct 24, 2025

Copy link
Copy Markdown
Contributor Author

bugbot run

cursor[bot]

This comment was marked as outdated.

@2xic
2xic force-pushed the feature/use-correct-driver branch from bdf221e to e061c51 Compare October 24, 2025 08:33
@2xic

2xic commented Oct 24, 2025

Copy link
Copy Markdown
Contributor Author

bugbot run

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Comment @cursor review or bugbot run to trigger another review on this PR

Comment thread src/db.ts
@2xic
2xic marked this pull request as ready for review October 24, 2025 08:41
@2xic
2xic merged commit b084859 into main Oct 24, 2025
5 checks passed
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant