Skip to content

feat(issue): Short ID aliases for monorepo support #44

Description

@betegon

Summary

Add short ID aliases for easier issue lookup in monorepos with multiple Sentry projects.

Features

# In a monorepo with spotlight-electron, spotlight-website projects:
$ sentry issue list
# Shows issues with aliases: e, w

$ sentry issue get e-4y
# Expands to SPOTLIGHT-ELECTRON-4Y

# Single project mode:
$ sentry issue get 4y
# Expands to PROJECT-4Y
  • Alias-suffix format: Type e-4y instead of SPOTLIGHT-ELECTRON-4Y
  • Smart prefix stripping: Common prefixes stripped for shorter aliases
  • Cached aliases: Aliases cached from issue list for fast lookup

Implementation

Acceptance Criteria

  • issue list shows aliases for each project
  • issue get accepts alias-suffix format
  • Aliases are cached for fast lookup
  • Works with explain/fix commands

Closes when PR #31 is merged.

Metadata

Metadata

Assignees

Labels

v0V0 release milestone
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions