Skip to content

Deprecate project upgrade-check for October 2026 - #1477

Merged
Soner (shyim) merged 1 commit into
mainfrom
fix/deprecate-upgrade-check
Sep 1, 2026
Merged

Deprecate project upgrade-check for October 2026#1477
Soner (shyim) merged 1 commit into
mainfrom
fix/deprecate-upgrade-check

Conversation

@shyim

Copy link
Copy Markdown
Member

What changed?

shopware-cli project upgrade-check now prints a Cobra deprecation notice and stays fully executable.

Example when the command is used or --help is shown:

Command "upgrade-check" is deprecated, will be removed in October 2026

The command is hidden from parent --help listings, which is Cobra's default for deprecated commands, but it can still be invoked by name.

Why?

upgrade-check is being replaced by the guided project upgrade flow. Keep a deprecation window before removal in October 2026, matching project generate-jwt and extension prepare.

How was this tested?

The change only sets Cobra's Deprecated field. Cobra prints the notice and hides the command from parent help automatically.

Related issue or discussion

Mark the command as deprecated so Cobra prints a notice that it will be
removed in October 2026. The command stays executable during the window.
@coderabbitai

coderabbitai Bot commented Aug 31, 2026

Copy link
Copy Markdown
Contributor

Warning

Review limit reached

Next included review available in 30 minutes.

View limit details

Limit details: You’ve used all 2 included reviews currently available.

You've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository.

Learn how review limits work.

Review configuration:

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro Plus

Run ID: 5d1ea67a-c78c-449f-8943-a4d178b780a1

📥 Commits

Reviewing files that changed from the base of the PR and between 7dd154e and 45d93fc.

📒 Files selected for processing (1)
  • cmd/project/project_upgrade_check.go

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 62.20%. Comparing base (7dd154e) to head (45d93fc).

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #1477   +/-   ##
=======================================
  Coverage   62.20%   62.20%           
=======================================
  Files         427      427           
  Lines       28991    28991           
=======================================
  Hits        18035    18035           
  Misses      10956    10956           
Flag Coverage Δ
go-test 62.20% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@shyim
Soner (shyim) merged commit 379a99a into main Sep 1, 2026
6 checks passed
@shyim
Soner (shyim) deleted the fix/deprecate-upgrade-check branch September 1, 2026 02:44
@github-actions

github-actions Bot commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Docs check: this PR adds a Cobra deprecation notice to shopware-cli project upgrade-check. The Docker installation-updates guide (guides/hosting/installation-updates/docker.md) instructs users to run this command as a manual upgrade step, so I opened a small draft docs PR noting the deprecation and pointing to shopware-cli project upgrade as the replacement: shopware/docs (branch docs/deprecate-upgrade-check).

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.

3 participants