Skip to content

Rebase FastAPI Cloud onto main; update Vercel for Dockerfile support - #16

Merged
hbmartin merged 2 commits into
mainfrom
claude/rebase-onto-main-zvflvf
Jul 25, 2026
Merged

Rebase FastAPI Cloud onto main; update Vercel for Dockerfile support#16
hbmartin merged 2 commits into
mainfrom
claude/rebase-onto-main-zvflvf

Conversation

@hbmartin

@hbmartin hbmartin commented Jul 25, 2026

Copy link
Copy Markdown
Owner

Summary

Rebased this branch onto main and updated the Vercel entry in one-click-image-deployment.md for Vercel's June 30, 2026 Dockerfile launch.

Base was retargeted from claude/add-fastapi-cloud-noiap4 to main — that stale base was the sole cause of the merge conflicts, since it still carries the pre-squash history of #13. Against main this branch is a clean fast-forward.

The rebase

The branch previously carried three commits, two of which were already in main, squash-merged as 0d8479c (#13). Verified rather than assumed: the tree at 28542d1 is byte-identical to the tree at 0d8479c.

A plain rebase would have replayed already-merged work and conflicted, so only the genuinely new commit was replayed (git rebase --onto main 28542d1). What remains:

  • Add FastAPI Cloud — unchanged, now sitting on current main
  • Update Vercel entry for Dockerfile support and the Container Registry — new

This supersedes #14, whose branch is still on the pre-squash base.

Vercel changes

Vercel now builds a Dockerfile.vercel at deploy time, pushes it to the new Vercel Container Registry, and serves it on Fluid compute with Active CPU billing.

It stays in Excluded, for the same reason Clever Cloud and Netlify do: Vercel builds the image, and there is no documented way to point a service at a pre-built Docker Hub/GHCR image — which is this doc's inclusion bar. Promoting it to a table row would contradict the doc's stated scope and leave most cells unverifiable. Heroku and Cloudflare are included despite being own-registry-only because they can take a pre-built image without a build step.

The entry was refreshed instead, replacing the stale "no long-running processes" claim with the real constraints:

  • VCR is a project-scoped OCI registry at vcr.vercel.com speaking Docker Registry v2, with a vercel vcr CLI
  • containers are stateless and request-scoped; the server must listen on $PORT (default 80)
  • idle instances scale down after 5 min in production / 30 s in preview, with a 30 s SIGTERM grace
  • invocations capped at 300 s default, 800 s Pro/Enterprise, 1,800 s beta
  • WebSockets are native (Fluid compute required) but pinned to one invocation, closing at the duration cap
  • Secure Compute and Static IPs are not yet supported

Validation

typos passes on the repo (exit 0). markdownlint introduces no new warnings — the four reported (2 MD034 in one-click-image-deployment.md, 2 MD053 in README.md) all pre-exist on main.

Sourcing caveat

vercel.com is blocked by this session's egress policy, so its pages could not be fetched directly. The blog post and container-images docs were supplied as primary sources; the remaining details came from search summaries of Vercel's own pages. One thing deliberately not asserted: whether a pre-built image can be docker pushed to VCR and served without a Dockerfile build. The VCR changelog hints at it, no official doc confirms it, and if that path exists it would change the exclusion call — worth re-checking when vercel.com is reachable.

🤖 Generated with Claude Code

https://claude.ai/code/session_011ZoCsLVMprY2pKPDn7AS9s

claude added 2 commits July 25, 2026 16:18
FastAPI Labs' hosting platform (by the FastAPI creator's team), added to
all six tables with footnoted citations and a reference section:

- Public beta with open signup since June 22, 2026 (announced May 5,
  2025 alongside a $4.2M Sequoia-led seed)
- Hosts FastAPI apps exclusively; Python 3.10+ defaulting to latest
  stable; pyproject/uv or requirements.txt; `fastapi deploy` CLI,
  GitHub auto-deploy, local dev via `fastapi dev`
- Free Hobby plan (3 apps, 0.1 shared vCPU / 512 MB, 1 custom domain);
  Pro $20/seat/mo (25 apps, higher unpublished limits); compute usage
  is not billed yet while usage-based billing is built
- Caveats stated in a note under DevEx: scale-to-zero is officially
  "coming next" (not yet shipped), runtime limits largely unpublished,
  single unspecified region (EU on roadmap), no first-party data
  products (Neon/Supabase/Redis Cloud integrations instead)

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01X4AMvv1KYYvnmpkDZeW7Ra
Vercel shipped Dockerfile support on June 30, 2026: a Dockerfile.vercel (or
Containerfile.vercel) at the project root is detected at deploy time, built,
pushed to the new Vercel Container Registry, and served on Fluid compute with
Active CPU billing.

Vercel stays in Excluded, for the same reason Clever Cloud and Netlify do:
Vercel builds the image during deploy and there is no documented path to point
a service at a pre-built Docker Hub/GHCR image, which is this doc's inclusion
bar. The entry is refreshed rather than promoted to a table row, and the stale
"no long-running processes" claim is replaced with the actual constraints:

- VCR is a project-scoped OCI registry at vcr.vercel.com speaking Docker
  Registry v2 (docker push/pull/tag, OIDC or token auth), with a vercel vcr CLI
- containers are stateless and request-scoped; server must listen on $PORT
  (default 80)
- idle instances scale down after 5 min in production / 30 s in preview, with a
  30 s SIGTERM grace period
- invocations capped at 300 s by default, 800 s on Pro/Enterprise, 1,800 s beta
- WebSockets are native (Fluid compute required) but pinned to one invocation
  and closed at the duration cap
- Secure Compute and Static IPs are not yet supported

Sources accessed July 25, 2026; noted as such next to the doc's July 3
verification date, since only the Vercel data was re-checked.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_011ZoCsLVMprY2pKPDn7AS9s
@gemini-code-assist

Copy link
Copy Markdown

Caution

The consumer version of Gemini Code Assist on GitHub has been sunset. All code review activity has officially ceased.

@cursor

cursor Bot commented Jul 25, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@coderabbitai

coderabbitai Bot commented Jul 25, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: a753c55c-6c33-4f93-ae56-6d9971221738

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch claude/rebase-onto-main-zvflvf

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

@superagent-security superagent-security Bot added the contributor:flagged Contributor flagged for review by trust analysis. label Jul 25, 2026
@superagent-security

Copy link
Copy Markdown

🚨 Contributor flagged. Click here for more info: Superagent Dashboard

@hbmartin
hbmartin changed the base branch from claude/add-fastapi-cloud-noiap4 to main July 25, 2026 16:35
@hbmartin hbmartin changed the title Update documentation for container image deployment platforms Rebase FastAPI Cloud onto main; update Vercel for Dockerfile support Jul 25, 2026
@hbmartin
hbmartin merged commit 2bc0120 into main Jul 25, 2026
5 of 6 checks passed
@hbmartin
hbmartin deleted the claude/rebase-onto-main-zvflvf branch July 25, 2026 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contributor:flagged Contributor flagged for review by trust analysis.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants