Skip to content

deploy: update Zeabur template to PREBUILT_V2 and v2.0.0#826

Merged
tonychang04 merged 2 commits intomainfrom
deploy/update-zeabur-template
Mar 8, 2026
Merged

deploy: update Zeabur template to PREBUILT_V2 and v2.0.0#826
tonychang04 merged 2 commits intomainfrom
deploy/update-zeabur-template

Conversation

@tonychang04
Copy link
Copy Markdown
Contributor

@tonychang04 tonychang04 commented Mar 8, 2026

Summary

  • Switch all 4 services from PREBUILT to PREBUILT_V2 (fixes internal TCP routing between services)
  • Use custom postgres image ghcr.io/insforge/postgres:v15.13.2 with required extensions
  • Add postgres to entrypoint command for proper initdb execution
  • Enable shared_preload_libraries (pg_cron, http, pgcrypto)
  • Bump insforge-oss image from v1.4.3 to v2.0.0

turns out zeabur change a prebuilt version that changes the routing between tcp services. I tried deploying many templates than realizing this

Test plan

  • Deploy template to a fresh Zeabur project
  • Verify all 4 services start and are healthy (postgres, postgrest, deno, insforge)
  • Verify PostgREST can connect to PostgreSQL internally
  • Login with admin credentials and verify dashboard works

🤖 Generated with Claude Code

Summary by CodeRabbit

  • New Features

    • InsForge upgraded to v2.0.0 with an improved execution environment and stronger isolation.
    • Worker-based execution model added with enhanced error handling and timeout protections.
    • PostgreSQL enhanced with additional extensions and initialization improvements.
  • Chores

    • Updated deployment templates and service configurations across the stack.
  • Documentation

    • Removed multi-language translations section from the README.

- Switch all services from PREBUILT to PREBUILT_V2 (fixes internal TCP routing)
- Use custom postgres image ghcr.io/insforge/postgres:v15.13.2
- Add postgres to entrypoint command for proper initdb
- Enable shared_preload_libraries (pg_cron, http, pgcrypto)
- Bump insforge-oss image from v1.4.3 to v2.0.0

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Mar 8, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 3bcf1631-b9ec-495d-b7be-392deeb0a39c

📥 Commits

Reviewing files that changed from the base of the PR and between 83755fc and 4eba7d0.

📒 Files selected for processing (1)
  • README.md
💤 Files with no reviewable changes (1)
  • README.md

Walkthrough

Zeabur deployment templates were migrated to PREBUILT_V2 for multiple services; Postgres image and configuration were replaced and extended (pg_cron, pgcrypto, http); Deno's inline deno.json was replaced by a worker-template.js implementing worker-based execution and secret handling; README translations section removed.

Changes

Cohort / File(s) Summary
Service template upgrades
deploy/zeabur/template.yml
Multiple services (Postgrest, Deno, InsForge, etc.) switched from PREBUILT to PREBUILT_V2; InsForge image bumped to ghcr.io/insforge/insforge-oss:v2.0.0.
Postgres service
deploy/zeabur/template.yml
Postgres image changed to ghcr.io/insforge/postgres:v15.13.2; added explicit command, custom config_file path, enabled shared_preload_libraries (pg_cron,http,pgcrypto), cron.database_name, extra init SQL and initialization logic.
Deno / Worker template
deploy/zeabur/template.yml, .../worker-template.js
Replaced embedded deno.json with worker-template.js; introduced worker-based execution model, secret decryption/workflow, mock Deno.env, timeout and error handling, response serialization, and isolation of user functions.
Documentation
README.md
Removed the entire "Translations" section and associated language links.

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~20 minutes

Possibly related PRs

Suggested reviewers

  • Fermionic-Lyu
  • jwfing
  • Leo-rq-yu

Poem

🐰 I hop through templates, v2 in tow,

Secrets tucked, workers ready to go.
Postgres wakes with cron and key,
Functions run safe and freely,
A tiny rabbit cheers the deploy show! 🥕✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately summarizes the main changes: updating Zeabur template to PREBUILT_V2 and upgrading to v2.0.0, which are the primary objectives of this deployment PR.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch deploy/update-zeabur-template

Comment @coderabbitai help to get the list of available commands and usage tips.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@tonychang04 tonychang04 merged commit 7c4a074 into main Mar 8, 2026
5 checks passed
@tonychang04 tonychang04 deleted the deploy/update-zeabur-template branch March 8, 2026 17:35
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