Latest Results
Add managed GCP provider, deployment rollback, and descriptions (#6810)
* Add GCP managed provider, rollbacks, and deployment descriptions to hosting CLI
Port the cloud GCP provider feature set to the reflex-hosting-cli client and
document it. The backend endpoints already exist; this wires them into the CLI
with a focus on UX.
reflex deploy:
- Prompt for "Reflex Cloud vs. Google Cloud (GCP)" when the org has a GCP
account connected and GCP deploys are allowed (Enterprise). Add --provider
to skip the prompt and a `provider` config-file field. The provider is
pinned before the hostname is reserved so a GCP app bakes its *.run.app
backend URL into the exported frontend, and region/VM-type are dropped for
GCP (they come from the connected account).
- Add --description to record an optional changelog note on the deployment.
reflex cloud apps:
- rollback DEPLOYMENT_ID: redeploy a previous deployment's image without
rebuilding from source.
- describe DEPLOYMENT_ID --description: set/clear a deployment's note.
- history now surfaces each deployment's description and rollback eligibility.
reflex cloud providers (new group):
- status / list: inspect the cloud provider accounts connected to the org.
Docs: new "Cloud Providers" page, app-management history/description/rollback
sections, a self-service-vs-managed note on deploy-to-gcp, CLI-reference
wiring, and towncrier news fragments.
Tests: unit coverage for the new hosting client functions, the deploy
provider-selection flow, the apps rollback/describe commands, and the
providers group.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K1YRndqwXapfwj5Rtx9Mzz
* Address review: safer rollback default, drop user-facing "fly" alias
- reflex cloud apps rollback: default the confirmation to "n" so pressing
Enter cancels rather than replacing the running deployment (matches
apps delete).
- Remove the "fly" alias from PROVIDER_ALIASES so `--provider fly` is not
accepted — users shouldn't couple deploy scripts to how Reflex Cloud is
hosted. Only provider-agnostic names (reflex-cloud/reflex/cloud/gcp/...)
are exposed; "fly" stays an internal wire value. De-emphasize "fly" in
docstrings and comments in favor of "Reflex Cloud".
- Tests: rollback now defaults to cancel; normalize_provider("fly") is None.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K1YRndqwXapfwj5Rtx9Mzz
* Fix pyright errors in test_hosting.py (pre-commit)
The pre-commit `pyright` hook (which checks `reflex tests`) flagged the new
tests:
- The shared `_ok` helper is typed for dict payloads; add a small `_ok_body`
helper for the list/str JSON responses (provider list, history list,
deployment id).
- rollback_deployment / update_deployment_description return `str | None`, so
narrow with `assert result is not None` before `.startswith(...)`.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K1YRndqwXapfwj5Rtx9Mzz
* Default provider-switch teardown confirmation to "n"
The "Continue?" prompt shown before switching a deployed app to a different
provider (which tears down the current deployment) defaulted to "y", so
pressing Enter alone proceeded with the destructive teardown. Default it to
"n" to match the rollback confirmation, and add a regression test.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K1YRndqwXapfwj5Rtx9Mzz
* Review fixes: restore provider on failed switch, arg precedence, rollback hint
Addresses three review comments:
- P1 (cli.py): a provider switch on an already-deployed app tears its old
resources down before hostname reservation, export, and deployment
creation — any of which can fail, stranding the app on the new provider.
Wrap that pipeline in `_restore_provider_on_failure`: on failure, best-effort
re-pin the previous provider so its last deployment stays a valid
`reflex cloud apps rollback` target, and tell the user how to recover.
- P2 (apps.py `_resolve_app_id`): honor an explicit `--app-name` before the
cloud.yml/pyproject `appid` fallback, so `--app-name` is no longer silently
ignored when a config appid is present. Precedence is now
--app-id > --app-name > config.
- P2 (apps.py rollback): include the deployment id and `--watch` in the
post-rollback tracking hint (the bare `reflex cloud apps status` exits with a
missing-argument error).
Adds regression tests for all three.
Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01K1YRndqwXapfwj5Rtx9Mzz
---------
Co-authored-by: Claude <noreply@anthropic.com> docs: enterprise component field notes (ag-grid, map, react flow) (#6781)
* docs: enterprise component field notes (ag-grid, map, react flow)
New AG Grid pages for tree data and master-detail (previously
undocumented), selection/filtering/fill-handle additions, a
model-wrapper kwarg bug fix (class_model -> model_class), formatter and
cell-renderer patterns; Leaflet map icon dicts and map-API pitfalls;
React Flow controlled-state wiring, provider constraints, and
screen_to_flow_position. Sidebar entries registered for the new pages.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* ENG: fix master-detail docs: keep callback-bearing detail params at module level, not in state
* docs: address review — runnable ag-grid examples, drop redundant cast
- Convert the master-detail and tree-data examples to `python demo exec`
so they're executed/verified at build and render live (verified they
build against reflex_enterprise). Left the aggregate value-formatter
snippet as plain python (it's a fragment with no component).
- tree-data: drop the redundant `.to(rx.vars.FunctionVar)` on the direct
ArgsFunctionOperation (it already is a FunctionVar); kept the cast on the
rx.cond result, which needs it.
- value-transformers: type the rx.memo arg as rx.Var[str].
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
* docs: address review — interactive tree example, drop redundant TOC
- tree-data: make the dynamic get_data_path example interactive — add a
switch that toggles combine_hosts, so the tree actually regroups (the
var was previously never toggled). Verified it builds.
- value-transformers: remove the manual TOC list; the on-page sidebar
already provides it.
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Fable 5 <noreply@anthropic.com> Latest Branches
0%
docs/enterprise-field-notes 0%
benedikt-bartscher:make-pydantic-optional 0%
benedikt-bartscher:try-orjson © 2026 CodSpeed Technology