Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
6d0934d
perf(issue): skip org listing when DSN or cache resolves project
betegon Mar 17, 2026
c08cb91
test: verify DSN shortcut and cached-orgs optimizations
betegon Mar 17, 2026
70d1730
fix: address PR review — narrow catch scope, document cache assumption
betegon Mar 17, 2026
580e733
fix: skip already-searched orgs on findProjectsBySlug fallthrough
betegon Mar 17, 2026
0bef71c
refactor: generalize org listing cache into listOrganizations itself
BYK Mar 17, 2026
3c623f5
fix: add 7-day TTL to org listing cache
BYK Mar 17, 2026
d0238c0
chore: sync AGENTS.md from main
BYK Mar 17, 2026
2382064
fix: cache self-hosted orgs + wire --fresh to org cache
BYK Mar 17, 2026
5cd67b9
refactor(list): align all list commands to issue list standards
BYK Mar 17, 2026
943668d
Merge remote-tracking branch 'origin/main' into refactor/align-list-c…
BYK Mar 17, 2026
2f3728b
fix(e2e): update log list e2e tests for trace-id positional and JSON …
BYK Mar 18, 2026
785c3f0
fix: address BugBot and Seer review feedback
BYK Mar 18, 2026
bd6b5f4
chore: regenerate SKILL.md
github-actions[bot] Mar 18, 2026
fb2bc4a
fix: handle multi-arg trace mode and fix orphaned JSDoc
BYK Mar 18, 2026
3006b22
fix: add 'up to N' to all spinner messages, consolidate hex-id normal…
BYK Mar 18, 2026
7b71f7e
fix: use data.hasMore instead of re-deriving in trace logs human form…
BYK Mar 18, 2026
f2a6847
fix: remove dead limit field from TraceLogsData (replaced by hasMore)
BYK Mar 18, 2026
fe82fcd
fix: use accurate spinner message for single-project fetch
BYK Mar 18, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
61 changes: 40 additions & 21 deletions AGENTS.md

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions plugins/sentry-cli/skills/sentry-cli/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -599,15 +599,15 @@ sentry team list --json

View Sentry logs

#### `sentry log list <org/project>`
#### `sentry log list <org/project-or-trace-id...>`

List logs from a project

**Flags:**
- `-n, --limit <value> - Number of log entries (1-1000) - (default: "100")`
- `-q, --query <value> - Filter query (Sentry search syntax)`
- `-f, --follow <value> - Stream logs (optionally specify poll interval in seconds)`
- `--trace <value> - Filter logs by trace ID (32-character hex string)`
- `-t, --period <value> - Time period (e.g., "90d", "14d", "24h"). Default: 90d (project mode), 14d (trace mode)`
- `--fresh - Bypass cache, re-detect projects, and fetch fresh data`
- `--json - Output as JSON`
- `--fields <value> - Comma-separated fields to include in JSON output (dot.notation supported)`
Expand Down
5 changes: 4 additions & 1 deletion src/commands/dashboard/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,10 @@ export const listCommand = buildCommand({
}

const dashboards = await withProgress(
{ message: `Fetching dashboards (up to ${flags.limit})...` },
{
message: `Fetching dashboards (up to ${flags.limit})...`,
json: flags.json,
},
() => listDashboards(orgSlug, { perPage: flags.limit })
);
const url = buildDashboardsListUrl(orgSlug);
Expand Down
4 changes: 2 additions & 2 deletions src/commands/issue/list.ts
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ async function handleOrgAllIssues(
setContext([org], []);

const { issues, nextCursor } = await withProgress(
{ message: `Fetching issues (up to ${flags.limit})...` },
{ message: `Fetching issues (up to ${flags.limit})...`, json: flags.json },
(setMessage) =>
fetchOrgAllIssues(org, flags, cursor, (fetched, limit) =>
setMessage(
Expand Down Expand Up @@ -954,7 +954,7 @@ async function handleResolvedTargets(
: "Fetching issues";

const { results, hasMore } = await withProgress(
{ message: `${baseMessage} (up to ${flags.limit})...` },
{ message: `${baseMessage} (up to ${flags.limit})...`, json: flags.json },
(setMessage) =>
fetchWithBudget(
activeTargets,
Expand Down
Loading
Loading