Skip to content

Commit 3fa850b

Browse files
committed
Deploy preview for PR 685 🛫
1 parent f364b5c commit 3fa850b

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+118
-37
lines changed

‎pr-preview/pr-685/.well-known/skills/sentry-cli/SKILL.md‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Best practices and operational guidance for AI coding agents using the Sentry CL
2222
- **Use `sentry schema` to explore the API** — if you need to discover API endpoints, run `sentry schema` to browse interactively or `sentry schema <resource>` to search. This is faster than fetching OpenAPI specs externally.
2323
- **Use `sentry issue view <id>` to investigate issues** — when asked about a specific issue (e.g., `CLI-G5`, `PROJECT-123`), use `sentry issue view` directly.
2424
- **Use `--json` for machine-readable output** — pipe through `jq` for filtering. Human-readable output includes formatting that is hard to parse.
25-
- **The CLI auto-detects org/project** — most commands work without explicit targets by scanning for DSNs in `.env` files, source code, config defaults, and directory names. Only specify `<org>/<project>` when the CLI reports it can't detect the target or detects the wrong one.
25+
- **The CLI auto-detects org/project** — most commands work without explicit targets by checking `.sentryclirc` config files, scanning for DSNs in `.env` files and source code, and matching directory names. Only specify `<org>/<project>` when the CLI reports it can't detect the target or detects the wrong one.
2626

2727
### Design Principles
2828

@@ -223,7 +223,7 @@ When querying the Events API (directly or via `sentry api`), valid dataset value
223223
- **Wrong issue ID format**: Use `PROJECT-123` (short ID), not the numeric ID `123456789`. The short ID includes the project prefix.
224224
- **Pre-authenticating unnecessarily**: Don't run `sentry auth login` before every command. The CLI detects missing/expired auth and prompts automatically. Only run `sentry auth login` if you need to switch accounts.
225225
- **Missing `--json` for piping**: Human-readable output includes formatting. Use `--json` when parsing output programmatically.
226-
- **Specifying org/project when not needed**: Auto-detection resolves org/project from DSNs, env vars, config defaults, and directory names. Let it work first — only add `<org>/<project>` if the CLI says it can't detect the target or detects the wrong one.
226+
- **Specifying org/project when not needed**: Auto-detection resolves org/project from `.sentryclirc` config files, DSNs, env vars, and directory names. Let it work first — only add `<org>/<project>` if the CLI says it can't detect the target or detects the wrong one.
227227
- **Confusing `--query` syntax**: The `--query` flag uses Sentry search syntax (e.g., `is:unresolved`, `assigned:me`), not free text search.
228228
- **Not using `--web`**: View commands support `-w`/`--web` to open the resource in the browser — useful for sharing links.
229229
- **Fetching API schemas instead of using the CLI**: Prefer `sentry schema` to browse the API and `sentry api` to make requests — the CLI handles authentication and endpoint resolution, so there's rarely a need to download OpenAPI specs separately.
@@ -346,8 +346,8 @@ Manage Sentry dashboards
346346

347347
Work with Sentry releases
348348

349-
- `sentry release list <org/project>` — List releases
350-
- `sentry release view <org/version...>` — View release details
349+
- `sentry release list <org/project>` — List releases with adoption and health metrics
350+
- `sentry release view <org/version...>` — View release details with health metrics
351351
- `sentry release create <org/version...>` — Create a release
352352
- `sentry release finalize <org/version...>` — Finalize a release
353353
- `sentry release delete <org/version...>` — Delete a release

‎pr-preview/pr-685/.well-known/skills/sentry-cli/references/dashboard.md‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ View a dashboard
4242
- `-w, --web - Open in browser`
4343
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
4444
- `-r, --refresh <value> - Auto-refresh interval in seconds (default: 60, min: 10)`
45-
- `-t, --period <value> - Time range: "7d", "2026-03-08..2026-04-08", ">=2026-03-08"`
45+
- `-t, --period <value> - Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01"`
4646

4747
**Examples:**
4848

@@ -86,6 +86,7 @@ Add a widget to a dashboard
8686
- `--y <value> - Grid row position (0-based)`
8787
- `--width <value> - Widget width in grid columns (1–6)`
8888
- `--height <value> - Widget height in grid rows (min 1)`
89+
- `-l, --layout <value> - Layout mode: sequential (append in order) or dense (fill gaps) - (default: "sequential")`
8990

9091
**Examples:**
9192

‎pr-preview/pr-685/.well-known/skills/sentry-cli/references/event.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ List events for an issue
2828
- `-n, --limit <value> - Number of events (1-1000) - (default: "25")`
2929
- `-q, --query <value> - Search query (Sentry search syntax)`
3030
- `--full - Include full event body (stacktraces)`
31-
- `-t, --period <value> - Time range: "7d", "2026-03-08..2026-04-08", ">=2026-03-08" - (default: "7d")`
31+
- `-t, --period <value> - Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" - (default: "7d")`
3232
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
3333
- `-c, --cursor <value> - Navigate pages: "next", "prev", "first" (or raw cursor string)`
3434

‎pr-preview/pr-685/.well-known/skills/sentry-cli/references/issue.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ List issues in a project
1919
- `-q, --query <value> - Search query (Sentry search syntax)`
2020
- `-n, --limit <value> - Maximum number of issues to list - (default: "25")`
2121
- `-s, --sort <value> - Sort by: date, new, freq, user - (default: "date")`
22-
- `-t, --period <value> - Time range: "7d", "2026-03-08..2026-04-08", ">=2026-03-08" - (default: "90d")`
22+
- `-t, --period <value> - Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" - (default: "90d")`
2323
- `-c, --cursor <value> - Pagination cursor (use "next" for next page, "prev" for previous)`
2424
- `--compact - Single-line rows for compact output (auto-detects if omitted)`
2525
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
@@ -78,7 +78,7 @@ List events for a specific issue
7878
- `-n, --limit <value> - Number of events (1-1000) - (default: "25")`
7979
- `-q, --query <value> - Search query (Sentry search syntax)`
8080
- `--full - Include full event body (stacktraces)`
81-
- `-t, --period <value> - Time range: "7d", "2026-03-08..2026-04-08", ">=2026-03-08" - (default: "7d")`
81+
- `-t, --period <value> - Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" - (default: "7d")`
8282
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
8383
- `-c, --cursor <value> - Navigate pages: "next", "prev", "first" (or raw cursor string)`
8484

‎pr-preview/pr-685/.well-known/skills/sentry-cli/references/log.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ List logs from a project
1919
- `-n, --limit <value> - Number of log entries (1-1000) - (default: "100")`
2020
- `-q, --query <value> - Filter query (Sentry search syntax)`
2121
- `-f, --follow <value> - Stream logs (optionally specify poll interval in seconds)`
22-
- `-t, --period <value> - Time range: "7d", "2026-03-08..2026-04-08", ">=2026-03-08"`
22+
- `-t, --period <value> - Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01"`
2323
- `-s, --sort <value> - Sort order: "newest" (default) or "oldest" - (default: "newest")`
2424
- `--fresh - Bypass cache, re-detect projects, and fetch fresh data`
2525

‎pr-preview/pr-685/.well-known/skills/sentry-cli/references/release.md‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,20 @@ Work with Sentry releases
1313

1414
### `sentry release list <org/project>`
1515

16-
List releases
16+
List releases with adoption and health metrics
1717

1818
**Flags:**
1919
- `-n, --limit <value> - Maximum number of releases to list - (default: "25")`
20+
- `-s, --sort <value> - Sort: date, sessions, users, crash_free_sessions (cfs), crash_free_users (cfu) - (default: "date")`
21+
- `-e, --environment <value>... - Filter by environment (repeatable, comma-separated)`
22+
- `-t, --period <value> - Health stats period (e.g., 24h, 7d, 14d, 90d) - (default: "90d")`
23+
- `--status <value> - Filter by status: open (default) or archived - (default: "open")`
2024
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
2125
- `-c, --cursor <value> - Navigate pages: "next", "prev", "first" (or raw cursor string)`
2226

2327
### `sentry release view <org/version...>`
2428

25-
View release details
29+
View release details with health metrics
2630

2731
**Flags:**
2832
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`

‎pr-preview/pr-685/.well-known/skills/sentry-cli/references/span.md‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ List spans in a project or trace
1919
- `-n, --limit <value> - Number of spans (<=1000) - (default: "25")`
2020
- `-q, --query <value> - Filter spans (e.g., "op:db", "duration:>100ms", "project:backend")`
2121
- `-s, --sort <value> - Sort order: date, duration - (default: "date")`
22-
- `-t, --period <value> - Time range: "7d", "2026-03-08..2026-04-08", ">=2026-03-08" - (default: "7d")`
22+
- `-t, --period <value> - Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" - (default: "7d")`
2323
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
2424
- `-c, --cursor <value> - Navigate pages: "next", "prev", "first" (or raw cursor string)`
2525

‎pr-preview/pr-685/.well-known/skills/sentry-cli/references/trace.md‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ List recent traces in a project
1919
- `-n, --limit <value> - Number of traces (1-1000) - (default: "25")`
2020
- `-q, --query <value> - Search query (Sentry search syntax)`
2121
- `-s, --sort <value> - Sort by: date, duration - (default: "date")`
22-
- `-t, --period <value> - Time range: "7d", "2026-03-08..2026-04-08", ">=2026-03-08" - (default: "7d")`
22+
- `-t, --period <value> - Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" - (default: "7d")`
2323
- `-f, --fresh - Bypass cache, re-detect projects, and fetch fresh data`
2424
- `-c, --cursor <value> - Navigate pages: "next", "prev", "first" (or raw cursor string)`
2525

@@ -78,7 +78,7 @@ View logs associated with a trace
7878

7979
**Flags:**
8080
- `-w, --web - Open trace in browser`
81-
- `-t, --period <value> - Time range: "7d", "2026-03-08..2026-04-08", ">=2026-03-08" - (default: "14d")`
81+
- `-t, --period <value> - Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01" - (default: "14d")`
8282
- `-n, --limit <value> - Number of log entries (<=1000) - (default: "100")`
8383
- `-q, --query <value> - Additional filter query (Sentry search syntax)`
8484
- `-s, --sort <value> - Sort order: "newest" (default) or "oldest" - (default: "newest")`

‎pr-preview/pr-685/agent-guidance/index.html‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ <h2 id="key-principles">Key Principles</h2>
159159
<li><strong>Use <code dir="auto">sentry schema</code> to explore the API</strong> — if you need to discover API endpoints, run <code dir="auto">sentry schema</code> to browse interactively or <code dir="auto">sentry schema &#x3C;resource></code> to search. This is faster than fetching OpenAPI specs externally.</li>
160160
<li><strong>Use <code dir="auto">sentry issue view &#x3C;id></code> to investigate issues</strong> — when asked about a specific issue (e.g., <code dir="auto">CLI-G5</code>, <code dir="auto">PROJECT-123</code>), use <code dir="auto">sentry issue view</code> directly.</li>
161161
<li><strong>Use <code dir="auto">--json</code> for machine-readable output</strong> — pipe through <code dir="auto">jq</code> for filtering. Human-readable output includes formatting that is hard to parse.</li>
162-
<li><strong>The CLI auto-detects org/project</strong> — most commands work without explicit targets by scanning for DSNs in <code dir="auto">.env</code> files, source code, config defaults, and directory names. Only specify <code dir="auto">&#x3C;org>/&#x3C;project></code> when the CLI reports it can't detect the target or detects the wrong one.</li>
162+
<li><strong>The CLI auto-detects org/project</strong> — most commands work without explicit targets by checking <code dir="auto">.sentryclirc</code> config files, scanning for DSNs in <code dir="auto">.env</code> files and source code, and matching directory names. Only specify <code dir="auto">&#x3C;org>/&#x3C;project></code> when the CLI reports it can't detect the target or detects the wrong one.</li>
163163
</ul>
164164
<h2 id="design-principles">Design Principles</h2>
165165
<p>The <code dir="auto">sentry</code> CLI follows conventions from well-known tools — if you're familiar with them, that knowledge transfers directly:</p>
@@ -353,7 +353,7 @@ <h2 id="common-mistakes">Common Mistakes</h2>
353353
<li><strong>Wrong issue ID format</strong>: Use <code dir="auto">PROJECT-123</code> (short ID), not the numeric ID <code dir="auto">123456789</code>. The short ID includes the project prefix.</li>
354354
<li><strong>Pre-authenticating unnecessarily</strong>: Don't run <code dir="auto">sentry auth login</code> before every command. The CLI detects missing/expired auth and prompts automatically. Only run <code dir="auto">sentry auth login</code> if you need to switch accounts.</li>
355355
<li><strong>Missing <code dir="auto">--json</code> for piping</strong>: Human-readable output includes formatting. Use <code dir="auto">--json</code> when parsing output programmatically.</li>
356-
<li><strong>Specifying org/project when not needed</strong>: Auto-detection resolves org/project from DSNs, env vars, config defaults, and directory names. Let it work first — only add <code dir="auto">&#x3C;org>/&#x3C;project></code> if the CLI says it can't detect the target or detects the wrong one.</li>
356+
<li><strong>Specifying org/project when not needed</strong>: Auto-detection resolves org/project from <code dir="auto">.sentryclirc</code> config files, DSNs, env vars, and directory names. Let it work first — only add <code dir="auto">&#x3C;org>/&#x3C;project></code> if the CLI says it can't detect the target or detects the wrong one.</li>
357357
<li><strong>Confusing <code dir="auto">--query</code> syntax</strong>: The <code dir="auto">--query</code> flag uses Sentry search syntax (e.g., <code dir="auto">is:unresolved</code>, <code dir="auto">assigned:me</code>), not free text search.</li>
358358
<li><strong>Not using <code dir="auto">--web</code></strong>: View commands support <code dir="auto">-w</code>/<code dir="auto">--web</code> to open the resource in the browser — useful for sharing links.</li>
359359
<li><strong>Fetching API schemas instead of using the CLI</strong>: Prefer <code dir="auto">sentry schema</code> to browse the API and <code dir="auto">sentry api</code> to make requests — the CLI handles authentication and endpoint resolution, so there's rarely a need to download OpenAPI specs separately.</li>

‎pr-preview/pr-685/commands/dashboard/index.html‎

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ <h3 id="sentry-dashboard-view-orgprojectdashboard"><code dir="auto">sentry dashb
240240

241241

242242

243-
<table><thead><tr><th>Option</th><th>Description</th></tr></thead><tbody><tr><td><code dir="auto">-w, --web</code></td><td>Open in browser</td></tr><tr><td><code dir="auto">-f, --fresh</code></td><td>Bypass cache, re-detect projects, and fetch fresh data</td></tr><tr><td><code dir="auto">-r, --refresh &#x3C;refresh></code></td><td>Auto-refresh interval in seconds (default: 60, min: 10)</td></tr><tr><td><code dir="auto">-t, --period &#x3C;period></code></td><td>Time range: "7d", "2026-03-08..2026-04-08", ">=2026-03-08"</td></tr></tbody></table>
243+
<table><thead><tr><th>Option</th><th>Description</th></tr></thead><tbody><tr><td><code dir="auto">-w, --web</code></td><td>Open in browser</td></tr><tr><td><code dir="auto">-f, --fresh</code></td><td>Bypass cache, re-detect projects, and fetch fresh data</td></tr><tr><td><code dir="auto">-r, --refresh &#x3C;refresh></code></td><td>Auto-refresh interval in seconds (default: 60, min: 10)</td></tr><tr><td><code dir="auto">-t, --period &#x3C;period></code></td><td>Time range: "7d", "2026-03-01..2026-04-01", ">=2026-03-01"</td></tr></tbody></table>
244244
<h3 id="sentry-dashboard-create-orgprojecttitle"><code dir="auto">sentry dashboard create &#x3C;org/project/title...></code></h3>
245245
<p>Create a dashboard</p>
246246
<p><strong>Arguments:</strong></p>
@@ -329,7 +329,11 @@ <h3 id="sentry-dashboard-widget-add-orgprojectdashboardtitle"><code dir="auto">s
329329

330330

331331

332-
<table><thead><tr><th>Option</th><th>Description</th></tr></thead><tbody><tr><td><code dir="auto">-d, --display &#x3C;display></code></td><td>Display type (big_number, line, area, bar, table, stacked_area, top_n, text, categorical_bar, details, wheel, rage_and_dead_clicks, server_tree, agents_traces_table)</td></tr><tr><td><code dir="auto">--dataset &#x3C;dataset></code></td><td>Widget dataset (default: spans)</td></tr><tr><td><code dir="auto">-q, --query &#x3C;query>...</code></td><td>Aggregate expression (e.g. count, p95:span.duration)</td></tr><tr><td><code dir="auto">-w, --where &#x3C;where></code></td><td>Search conditions filter (e.g. is:unresolved)</td></tr><tr><td><code dir="auto">-g, --group-by &#x3C;group-by>...</code></td><td>Group-by column (repeatable)</td></tr><tr><td><code dir="auto">-s, --sort &#x3C;sort></code></td><td>Order by (prefix - for desc, e.g. -count)</td></tr><tr><td><code dir="auto">-n, --limit &#x3C;limit></code></td><td>Result limit</td></tr><tr><td><code dir="auto">--x &#x3C;x></code></td><td>Grid column position (0-based, 0–5)</td></tr><tr><td><code dir="auto">--y &#x3C;y></code></td><td>Grid row position (0-based)</td></tr><tr><td><code dir="auto">--width &#x3C;width></code></td><td>Widget width in grid columns (1–6)</td></tr><tr><td><code dir="auto">--height &#x3C;height></code></td><td>Widget height in grid rows (min 1)</td></tr></tbody></table>
332+
333+
334+
335+
336+
<table><thead><tr><th>Option</th><th>Description</th></tr></thead><tbody><tr><td><code dir="auto">-d, --display &#x3C;display></code></td><td>Display type (big_number, line, area, bar, table, stacked_area, top_n, text, categorical_bar, details, wheel, rage_and_dead_clicks, server_tree, agents_traces_table)</td></tr><tr><td><code dir="auto">--dataset &#x3C;dataset></code></td><td>Widget dataset (default: spans)</td></tr><tr><td><code dir="auto">-q, --query &#x3C;query>...</code></td><td>Aggregate expression (e.g. count, p95:span.duration)</td></tr><tr><td><code dir="auto">-w, --where &#x3C;where></code></td><td>Search conditions filter (e.g. is:unresolved)</td></tr><tr><td><code dir="auto">-g, --group-by &#x3C;group-by>...</code></td><td>Group-by column (repeatable)</td></tr><tr><td><code dir="auto">-s, --sort &#x3C;sort></code></td><td>Order by (prefix - for desc, e.g. -count)</td></tr><tr><td><code dir="auto">-n, --limit &#x3C;limit></code></td><td>Result limit</td></tr><tr><td><code dir="auto">--x &#x3C;x></code></td><td>Grid column position (0-based, 0–5)</td></tr><tr><td><code dir="auto">--y &#x3C;y></code></td><td>Grid row position (0-based)</td></tr><tr><td><code dir="auto">--width &#x3C;width></code></td><td>Widget width in grid columns (1–6)</td></tr><tr><td><code dir="auto">--height &#x3C;height></code></td><td>Widget height in grid rows (min 1)</td></tr><tr><td><code dir="auto">-l, --layout &#x3C;layout></code></td><td>Layout mode: sequential (append in order) or dense (fill gaps) (default: "sequential")</td></tr></tbody></table>
333337
<h3 id="sentry-dashboard-widget-edit-orgprojectdashboard"><code dir="auto">sentry dashboard widget edit &#x3C;org/project/dashboard...></code></h3>
334338
<p>Edit a widget in a dashboard</p>
335339
<p><strong>Arguments:</strong></p>

0 commit comments

Comments
 (0)