Cherry picked from https://github.com/cloudflare/serverless-registry/pull/29 and added a bit of concurrency safety that consists of throwing an error on manifest upload when a gc is ongoing, or if the gc is ongoing it throws an error when uploading a manifest.
We are also moving to the new vitest runner for the test suite and fixed small issues around _catalog pagination that were exposed when moving to miniflare3, which now uses the real workerd runtime.
Cherry picked from https://github.com/cloudflare/serverless-registry/pull/29 and added a bit of concurrency safety that consists of throwing an error on manifest upload when a gc is ongoing, or if the gc is ongoing it throws an error when uploading a manifest.
We are also moving to the new vitest runner for the test suite and fixed small issues around _catalog pagination that were exposed when moving to miniflare3, which now uses the real workerd runtime.