db0 icon indicating copy to clipboard operation
db0 copied to clipboard

feat: cloudflare hyperdrive

Open RihanArfan opened this issue 8 months ago • 2 comments

Cloudflare Hyperdrive variants of the MySQL and PostgreSQL connectors. The connectors themselves are identical besides getting connection strings from Hyperdrive and omitting them from the options type.

RihanArfan avatar Apr 27 '25 09:04 RihanArfan

Thanks for PR. Having drivers standalone for hyperdrive as current seems better idea.

pi0 avatar Apr 27 '25 15:04 pi0

can you check failing tests?

pi0 avatar May 05 '25 10:05 pi0

Codecov Report

:x: Patch coverage is 27.77778% with 104 lines in your changes missing coverage. Please review. :warning: Please upload report for BASE (main@9a1f861). Learn more about missing BASE report.

Files with missing lines Patch % Lines
src/connectors/cloudflare-hyperdrive-postgresql.ts 28.78% 47 Missing :warning:
src/connectors/cloudflare-hyperdrive-mysql.ts 30.15% 44 Missing :warning:
src/connectors/_internal/cloudflare.ts 0.00% 13 Missing :warning:
Additional details and impacted files
@@           Coverage Diff           @@
##             main     #164   +/-   ##
=======================================
  Coverage        ?   57.10%           
=======================================
  Files           ?       25           
  Lines           ?     1049           
  Branches        ?      136           
=======================================
  Hits            ?      599           
  Misses          ?      448           
  Partials        ?        2           

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

:rocket: New features to boost your workflow:
  • :snowflake: Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • :package: JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

codecov[bot] avatar Oct 01 '25 17:10 codecov[bot]