Repository navigation
fix(deploy): serve the API on Cloudflare Workers Free - #32
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
🚀 Deploying Preview to Cloudflare 🚀Preview URL: https://fix-cloudflare-free-worker-bonyan-api.relax3962.workers.dev (commit 138d118)This URL reflects your latest Preview deploymentPreview Deployments by commit
|
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The Container deployment failed at
/containers/meon this Workers Free account. The API now runs directly through native Request/Response handlers without Containers or Fastify initialization in Worker module scope. Node.js/Fastify remains supported through the same controllers and route declarations.Inflight cache I/O stays within each Worker request; stale refreshes use
waitUntil. Azkar now fetches the same pinned 132-chapter corpus from jsDelivr or raw GitHub, replacing the 133-request fallback that exceeded the free subrequest budget. Audio HEAD checks useredirect: manualand reject redirects by status because workerd rejectsredirect: error. OpenAPI identifies the new Azkar source.Wrangler declares
api.bonyanoss.orgas the production custom domain, supports branch previews and preserves Preview URLs. The v2 migration retires the unused Container Durable Object. The Dockerfile still supports the optional Node.js deployment.Validation on commit 138d118:
Preview: https://fix-cloudflare-free-worker-bonyan-api.relax3962.workers.dev/
Cloudflare build: https://dash.cloudflare.com/2b2187aa8e511252110cdcd6c495c521/workers/services/view/bonyan-api/production/previews/fix-cloudflare-free-worker/builds/21d66f38-c57e-437a-9b4f-64cfe35a021d
Production verification completed after merge c851b1a: Cloudflare build succeeded, deployed version d2fdf4f0-f502-434b-a67f-07b41c03546e to api.bonyanoss.org, and all 30 documented JSON success responses passed live schema validation on that domain. Main CI and CodeQL also passed. These live requests establish current functionality; they do not guarantee CPU headroom under production load. Both Azkar hosts share one data origin, and rate limiting/cache values remain isolate-local.