From 62c767295cb99339cbc3326c6bf319caf637d649 Mon Sep 17 00:00:00 2001 From: finalerock44 <77282157+finalerock44@users.noreply.github.com> Date: Wed, 24 Jun 2026 12:13:25 +0100 Subject: [PATCH] feat(cloud): drop legacy Maestro removed-versions block; soft-warn on deprecated 1.39.5/1.41.0 --- src/commands/cloud.ts | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/src/commands/cloud.ts b/src/commands/cloud.ts index a8fa847..c7bcc00 100644 --- a/src/commands/cloud.ts +++ b/src/commands/cloud.ts @@ -367,11 +367,17 @@ export const cloudCommand = defineCommand({ }, ); - const REMOVED_MAESTRO_VERSIONS = ['1.39.1', '1.39.2', '1.39.7', '2.0.3', '2.4.0']; - if (REMOVED_MAESTRO_VERSIONS.includes(resolvedMaestroVersion)) { - throw new CliError( - `Maestro version ${resolvedMaestroVersion} is no longer supported. ` + - `Please upgrade to a newer version. See: https://docs.devicecloud.dev/configuration/maestro-versions`, + // Soft deprecation notice for Maestro versions slated for removal on + // 26 June 2026. Non-fatal — these still run during the grace period. + const DEPRECATED_MAESTRO_VERSIONS = ['1.39.5', '1.41.0']; + if (DEPRECATED_MAESTRO_VERSIONS.includes(resolvedMaestroVersion)) { + warnOut(ui.warn(colors.bold(`Maestro ${resolvedMaestroVersion} is deprecated`))); + warnOut( + ui.branch([ + `Maestro ${resolvedMaestroVersion} will be removed on 26 June 2026; after that, tests pinned to it will fail.`, + 'Upgrade to Maestro 2.6.0 or above.', + `${colors.dim('See:')} ${colors.url('https://docs.devicecloud.dev/configuration/maestro-versions')}`, + ]), ); }