From f13c192ff724932d54eb9a11d28fb999557f1ee1 Mon Sep 17 00:00:00 2001 From: Samir Hanna Verza <123646616+samirhvbr@users.noreply.github.com> Date: Wed, 28 Oct 2026 19:45:18 -0300 Subject: [PATCH] fix(cloud): show effective scopes in recovery instructions --- strix/interface/cloud/session.py | 2 +- tests/test_cloud_session.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/strix/interface/cloud/session.py b/strix/interface/cloud/session.py index 98fb548c1..519e1abd9 100644 --- a/strix/interface/cloud/session.py +++ b/strix/interface/cloud/session.py @@ -134,7 +134,7 @@ def _run_scopes_set(console: Console, argv: list[str]) -> int: http.CloudError( "the platform updated the session scopes, but the local session " f"metadata could not be stored: {exc}. Check the active scopes with " - "`strix cloud session show`; fix local storage and rerun the same " + "`strix cloud session scopes`; fix local storage and rerun the same " "scopes set command to refresh the stored metadata.", payload={"scopes_updated": True, "local_record_updated": False}, ), diff --git a/tests/test_cloud_session.py b/tests/test_cloud_session.py index 8789a36aa..bca98caf5 100644 --- a/tests/test_cloud_session.py +++ b/tests/test_cloud_session.py @@ -162,7 +162,7 @@ def test_session_scope_update_reports_local_storage_failure( assert payload["local_record_updated"] is False output = payload["error"] assert "disk full" in output - assert "session show" in output + assert "session scopes" in output assert "platform updated the session scopes" in output assert calls == [("PATCH", "/cli/session")] assert auth_path.read_text(encoding="utf-8") == before