Skip to content

chore: add Cloudflare keep-alive worker for Render - #41

Merged
ThuanNg05 merged 2 commits into
mainfrom
feat/cloudflare-render-keepalive
Aug 21, 2026
Merged

chore: add Cloudflare keep-alive worker for Render#41
ThuanNg05 merged 2 commits into
mainfrom
feat/cloudflare-render-keepalive

Conversation

@ThuanNg05

Copy link
Copy Markdown
Owner

Summary

  • Add a Cloudflare Workers Cron Trigger that calls Render production /health/live every 10 minutes.
  • Keep the keep-alive scope limited to Render health traffic; it does not touch WooCommerce webhooks, Supabase Database, or the WPF localhost API.
  • Ignore Wrangler local state so account metadata is not committed.

Verification

  • GET https://warehouse-api-dpx7.onrender.com/health/live returned HTTP 200 with {"status":"alive"}.
  • node --check cloudflare/render-keepalive/src/index.js passed.
  • git diff --check passed.

Deployment

After merging, deploy from cloudflare/render-keepalive with npx wrangler login, npx wrangler secret put RENDER_API_URL, and npx wrangler deploy.

@vercel

vercel Bot commented Aug 21, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
e-commerce Ready Ready Preview Aug 21, 2026 2:20am

@ThuanNg05
ThuanNg05 marked this pull request as ready for review August 21, 2026 02:26
Copilot AI lite review requested due to automatic review settings August 21, 2026 02:26
@ThuanNg05
ThuanNg05 merged commit a1aeda0 into main Aug 21, 2026
7 checks passed

Copilot AI 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.

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@ThuanNg05
ThuanNg05 deleted the feat/cloudflare-render-keepalive branch August 22, 2026 03:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants