Skip to content

dataproxy/vercel-edge-functions should include edge runtime route #3879

@rtbenfield

Description

@rtbenfield

We discovered an issue with @prisma/extension-accelerate where vercel deploy would fail for Edge Function deployments with an error message regarding it's ability to resolve the package entrypoint. This was not an issue for Next.js edge functions; only for "other" runtime edge functions. We were able to work with the Vercel team to identify the issue. I came back to review the ecosystem test here to understand why it was undetected.

Our current tests in dataproxy/vercel-edge-functions use a Serverless API route and not a route configured with runtime: "edge". This resulted in the vercel deploy compatibility checks not validating the extension package for edge compatibility.

Would it make sense to incorporate an edge API route into the existing test structure in addition to the serverless route?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions