Skip to content

SP-1233: Deprecate Studio package push/pull/list commands in favour of config#386

Open
Kastriot Salihu (ksalihu) wants to merge 1 commit into
mainfrom
ksalihu/SP-1233-deprecate-studio-push-pull
Open

SP-1233: Deprecate Studio package push/pull/list commands in favour of config#386
Kastriot Salihu (ksalihu) wants to merge 1 commit into
mainfrom
ksalihu/SP-1233-deprecate-studio-push-pull

Conversation

@ksalihu

Copy link
Copy Markdown
Contributor

Description

There have been cases where the agent reached for the old Studio package commands (push / pull / list) instead of the modern config commands, which caused issues and further agent confusion (SP-1233).

This PR marks the Studio package commands that have a clear config counterpart as deprecated, steering users (and the agent) toward the config equivalents. We deliberately point at config rather than t2tc, since t2tc has its own dedicated use cases that users should opt into explicitly.

Deprecated Studio command Recommended replacement
pull package config package export
push package config package import
push packages config package import (single package)
list packages config package list

Each command now:

  • shows a [Deprecated] Use '<replacement>' instead. … prefix in --help
  • emits a runtime deprecation notice (via the existing CommandConfig.deprecationNotice mechanism) when invoked

No behaviour change — the commands still work exactly as before, they just warn.

The broader plan for deprecating/removing the rest of the Studio command group is tracked separately in SP-1375.

Relevant links

Checklist

  • I have self-reviewed this PR
  • I have tested the change and proved that it works in different scenarios
  • I have updated docs if needed

Made with Cursor

Mark the Studio package commands that have clear config counterparts as
deprecated, pointing users at the config equivalents (never t2tc):

- pull package  -> config package export
- push package  -> config package import
- push packages -> config package import (single package)
- list packages -> config package list

Each command now shows a [Deprecated] help prefix and emits a runtime
deprecation notice via the existing CommandConfig.deprecationNotice
mechanism. Adds a studio module test covering the four notices and
asserting none of them point at t2tc.

Includes-AI-Code: true
Co-authored-by: Cursor <cursoragent@cursor.com>
@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants