:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
feat(hogli): support 200 GiB devboxes (#71107)
Raúl Negrón-Otero2e543ac5a67c
diff --git a/tools/hogli-commands/hogli_commands/devbox/cli.py b/tools/hogli-commands/hogli_commands/devbox/cli.pyindex b8f9054f26d0..69134a4f1676 100644--- a/tools/hogli-commands/hogli_commands/devbox/cli.py+++ b/tools/hogli-commands/hogli_commands/devbox/cli.py@@ -1310,7 +1310,7 @@ def _maybe_hint_region_mismatch(name: str) -> None:@workspace_argument@click.option("--disk",- type=click.Choice(["60", "80", "100"]),+ type=click.Choice(["100", "200"]),default="100",help="Disk size in GiB (default: 100)",)diff --git a/tools/hogli-commands/hogli_commands/tests/test_devbox.py b/tools/hogli-commands/hogli_commands/tests/test_devbox.pyindex 51a762a7fcef..b6330e814336 100644--- a/tools/hogli-commands/hogli_commands/tests/test_devbox.py+++ b/tools/hogli-commands/hogli_commands/tests/test_devbox.py@@ -1551,6 +1551,23 @@ class TestDevboxCommands:"start_app": "None",}+ def test_devbox_start_forwards_larger_disk_size(self, monkeypatch: pytest.MonkeyPatch) -> None:+ # Guards that --disk 200 is an accepted choice and reaches create_workspace;+ # regresses if the choice list drifts from the Coder template's disk_size options.+ captured: dict[str, str | None] = {}++ monkeypatch.setattr(devbox_cli, "ensure_runtime_ready", lambda: None)+ monkeypatch.setattr(devbox_cli, "resolve_workspace_name", lambda ws, **kw: ("devbox-test-user", []))+ monkeypatch.setattr(devbox_cli, "get_workspace", lambda name, workspaces=None: None)+ monkeypatch.setattr(devbox_cli, "extract_workspace_label", lambda name: None)+ monkeypatch.setattr(devbox_cli, "load_config", lambda: {})+ monkeypatch.setattr(devbox_cli, "create_workspace", _stub_create_workspace(captured))++ result = runner.invoke(cli, ["devbox:start", "--disk", "200"])++ assert result.exit_code == 0, result.output+ assert captured["disk_size"] == "200"+def test_devbox_start_with_name_creates_labeled_workspace(self, monkeypatch: pytest.MonkeyPatch) -> None:captured: dict[str, str | None] = {}