Skip to content

Deprecate the migrate command#377

Merged
tschm merged 2 commits intomainfrom
copilot/deprecate-migrate-command
Mar 8, 2026
Merged

Deprecate the migrate command#377
tschm merged 2 commits intomainfrom
copilot/deprecate-migrate-command

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 8, 2026

The migrate command needs to signal to users that it is on the path to removal, without breaking existing workflows.

Changes

  • Deprecation warning: migrate() now emits a logger.warning at invocation time before performing any work:
    ⚠️  The 'migrate' command is deprecated and will be removed in a future release.
    
  • Test coverage: Added a log_sink fixture and test_migrate_shows_deprecation_warning to assert the warning is present in log output when migrate is called.
Original prompt

This section details on the original issue you should resolve

<issue_title>Deprecate the migrate command</issue_title>
<issue_description>Print a warning message but still don't change the functionality</issue_description>

Comments on the Issue (you are @copilot in this section)


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Co-authored-by: tschm <2046079+tschm@users.noreply.github.com>
Copilot AI changed the title [WIP] Deprecate migrate command with warning message Deprecate the migrate command Mar 8, 2026
Copilot finished work on behalf of tschm March 8, 2026 03:16
@tschm tschm marked this pull request as ready for review March 8, 2026 03:16
@tschm tschm merged commit 44ac8d9 into main Mar 8, 2026
16 checks passed
@tschm tschm deleted the copilot/deprecate-migrate-command branch March 8, 2026 03:17
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.

Deprecate the migrate command

2 participants