Skip to content

Conversation

@BYK
Copy link
Member

@BYK BYK commented Feb 2, 2026

Summary

Group CLI meta-commands under a new cli subcommand to avoid collision with the existing Sentry Feedback feature (user feedback on issues).

Changes

Commands:

  • sentry feedbacksentry cli feedback
  • sentry upgradesentry cli upgrade
  • Removed sentry update alias

Files:

  • Created src/commands/cli/ with index.ts, feedback.ts, upgrade.ts
  • Updated src/app.ts to use cliRoute
  • Updated version check notification message
  • Updated all documentation (commands/cli/, SKILL.md files)

Breaking Changes

Users will need to use sentry cli feedback and sentry cli upgrade instead of the old top-level commands.

Group CLI meta-commands under a new `cli` subcommand to avoid collision
with the existing Sentry Feedback feature (user feedback on issues).

Commands changed:
- `sentry feedback` → `sentry cli feedback`
- `sentry upgrade` → `sentry cli upgrade`
- Removed `sentry update` alias
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (feedback) Add command to submit CLI feedback by betegon in #150
  • (telemetry) Add is_self_hosted tag by BYK in #153
  • (upgrade) Add self-update command by betegon in #132
  • Add update available notification by BYK in #151

Bug Fixes 🐛

  • (telemetry) Capture command errors to Sentry by betegon in #145
  • Update docs URL in help output by betegon in #149

Documentation 📚

  • (upgrade) Add documentation for upgrade command by betegon in #152
  • Update README and AGENTS.md by betegon in #148

Internal Changes 🔧

  • Move feedback and upgrade under sentry cli command by BYK in #154

🤖 This preview updates automatically when you update the PR.

@BYK BYK requested a review from betegon February 2, 2026 14:41
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

PR Preview Action v1.8.1

QR code for preview link

🚀 View preview at
https://cli.sentry.dev/pr-preview/pr-154/

Built to branch gh-pages at 2026-02-02 16:10 UTC.
Preview will be ready when the GitHub Pages deployment is complete.

@BYK BYK marked this pull request as ready for review February 2, 2026 14:44
@github-actions
Copy link

github-actions bot commented Feb 2, 2026

Codecov Results 📊

✅ Patch coverage is 100.00%. Project has 1964 uncovered lines.
✅ Project coverage is 69.39%. Comparing base (base) to head (head).

Files with missing lines (28)
File Patch % Lines
human.ts 31.87% ⚠️ 682 Missing
resolve-target.ts 20.82% ⚠️ 251 Missing
oauth.ts 25.10% ⚠️ 194 Missing
upgrade.ts 39.76% ⚠️ 153 Missing
api-client.ts 71.60% ⚠️ 146 Missing
resolver.ts 3.23% ⚠️ 120 Missing
errors.ts 5.94% ⚠️ 95 Missing
migration.ts 47.44% ⚠️ 82 Missing
api.ts 89.80% ⚠️ 47 Missing
seer.ts 75.54% ⚠️ 45 Missing
seer.ts 79.87% ⚠️ 30 Missing
preload.ts 39.02% ⚠️ 25 Missing
version-check.ts 76.00% ⚠️ 18 Missing
detector.ts 87.79% ⚠️ 16 Missing
schema.ts 64.10% ⚠️ 14 Missing
auth.ts 94.78% ⚠️ 7 Missing
feedback.ts 84.21% ⚠️ 6 Missing
upgrade.ts 93.83% ⚠️ 5 Missing
utils.ts 97.59% ⚠️ 4 Missing
index.ts 95.06% ⚠️ 4 Missing
colors.ts 91.84% ⚠️ 4 Missing
telemetry.ts 97.20% ⚠️ 4 Missing
env-file.ts 97.17% ⚠️ 3 Missing
sentry-urls.ts 88.00% ⚠️ 3 Missing
alias.ts 98.56% ⚠️ 2 Missing
project-aliases.ts 97.40% ⚠️ 2 Missing
java.ts 97.22% ⚠️ 1 Missing
parser.ts 98.63% ⚠️ 1 Missing
Coverage diff
@@            Coverage Diff             @@
##          main       #PR       +/-##
==========================================
+ Coverage    68.30%    69.39%    +1.09%
==========================================
  Files           55        56        +1
  Lines         6395      6416       +21
  Branches         0         0         —
==========================================
+ Hits          4368      4452       +84
- Misses        2027      1964       -63
- Partials         0         0         —

Generated by Codecov Action

Copy link

@cursor cursor bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cursor Bugbot has reviewed your changes and found 1 potential issue.

Bugbot Autofix is OFF. To automatically fix reported issues with Cloud Agents, enable Autofix in the Cursor dashboard.

Comment on lines 12 to 28
describe("cliRoute", () => {
test("is exported and defined", () => {
expect(cliRoute).toBeDefined();
});
});

describe("feedbackCommand", () => {
test("is exported and defined", () => {
expect(feedbackCommand).toBeDefined();
});
});

describe("upgradeCommand", () => {
test("is exported and defined", () => {
expect(upgradeCommand).toBeDefined();
});
});
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These are silly tests. Use e2e tests for these.

@BYK
Copy link
Member Author

BYK commented Feb 2, 2026

Removed the trivial 'is exported and defined' tests as suggested. The file now only contains functional unit tests for command behavior.

@BYK BYK merged commit 7c83ca4 into main Feb 2, 2026
24 checks passed
@BYK BYK deleted the refactor/cli-command-group branch February 2, 2026 17:14
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