Skip to content

feat(deploy): start the Docker preview with one command - #486

Merged
imshashank merged 1 commit into
mainfrom
fix/docker-preview-start
Sep 22, 2026
Merged

imshashank merged 1 commit into
mainfrom
fix/docker-preview-start

Conversation

@imshashank

@imshashank imshashank commented Sep 22, 2026 •

Copy link
Copy Markdown
Contributor

Add bun run preview:start so a fresh Orbit Docker evaluation can be started with one command. The launcher checks Docker, creates credentials only when absent, builds the tooling image, starts PostgreSQL/Redis/MinIO, applies migrations, builds the Node application, waits for healthy services and runs the presigned file-storage probe. A failed step stops the sequence, and retries preserve the existing credentials and data.

This builds on merged #472 and retains its Preview scope: standalone realtime and scheduled maintenance are not supplied. Hosted provider templates still need public origins, storage CORS, deployment validation and the documented operational work.

Validation: the full one-command run completed on Docker with all services healthy and Markdown/PDF/SVG upload-download, metadata and CORS checks passing. Five regression tests cover exported dependency links, secret permissions, credential preservation and aborting before application replacement when migrations fail. Lint, comment/source-byte policies and typecheck pass. Full bun run verify passed in Linux on isolated databases against this final change, including 2,793 web tests and 210 MCP tests. CI is running. Greptile reports an expired trial and CodeRabbit reports its review allowance exhausted; neither has completed a review of this follow-up, so the repository review gate is still outstanding.

Part of #392. Builds on #472; this does not close the production distribution issue.

@greptile-apps greptile-apps Bot 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.

Your trial has ended. Reactivate Greptile to resume code reviews.

@coderabbitai

coderabbitai Bot commented Sep 22, 2026

Copy link
Copy Markdown

Warning

Review limit reached

Next included review available in 38 minutes.

Check out review usage here.

View limit details

Limit details: You’ve used the included review currently available.

This review ran on the open-source allowance, not this organization's plan, because the pull request author doesn't have an assigned seat. Waiting won't change this — ask an organization admin to assign them a seat, or add seats in Billing if every seat is already assigned, then retry.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Repository: Noveum/orbit/.coderabbit.yaml

Review profile: CHILL

Plan: Advanced

Run ID: 56b0cf13-579a-4211-a2de-6744684b2804

📥 Commits

Reviewing files that changed from the base of the PR and between 539e646 and 904248a.

📒 Files selected for processing (4)
  • docs/docker-preview.md
  • package.json
  • scripts/start-docker-preview.ts
  • tests/docker-preview.test.ts

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

@github-actions github-actions Bot added documentation Docs, the README, or anything that explains Orbit tests Test coverage and test infrastructure ci Workflows, tooling and repo automation dependencies Dependency updates labels Sep 22, 2026
@vercel

vercel Bot commented Sep 22, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
orbit Ready Ready Preview Sep 22, 2026 9:43am UTC

Request Review

@imshashank imshashank left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewed all four changed files and reran the five Docker preview regressions: all pass. Startup preserves credentials on retry, waits for service health and stops before replacing the app when migrations fail. Current main is included, all CI and preview checks are green, and there are no unresolved review threads. No code changes requested; this is a Preview step under #392, which remains open.

@imshashank
imshashank merged commit eb3430a into main Sep 22, 2026
18 checks passed
@imshashank
imshashank deleted the fix/docker-preview-start branch September 22, 2026 09:47

This branch was successfully deployed

1 active deployment
Preview — 904248ad Deployed Sep 22, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci Workflows, tooling and repo automation dependencies Dependency updates documentation Docs, the README, or anything that explains Orbit tests Test coverage and test infrastructure

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant