-
Notifications
You must be signed in to change notification settings - Fork 158
feat(toolkit): import CLI and docs history #1320
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
+369,634
−561
Merged
Changes from all commits
Commits
Show all changes
767 commits
Select commit
Hold shift + click to select a range
38e84db
feat(dashboard): Render graphics with Spleen (#1521)
MathurAditya724 dee0d42
feat(dashboard): Render graphics with Spleen (#1521)
MathurAditya724 2401110
feat(dashboard): Render graphics with Spleen (#1521)
MathurAditya724 19cce85
fix(dashboard): Cap high-DPI graphics canvases (#1527)
MathurAditya724 57fde67
fix(dashboard): Cap high-DPI graphics canvases (#1527)
MathurAditya724 0c1df5e
fix(dashboard): Cap high-DPI graphics canvases (#1527)
MathurAditya724 9a89981
fix(version-check): log errors in maybePrefetchPatches catch blocks (…
cursor[bot] 15a5b16
fix(version-check): log errors in maybePrefetchPatches catch blocks (…
cursor[bot] 8cf3d37
fix(version-check): log errors in maybePrefetchPatches catch blocks (…
cursor[bot] 5d2fa21
fix(dif): log errors in tryProguard and tryObject catch blocks (#1513)
cursor[bot] e8f3314
fix(dif): log errors in tryProguard and tryObject catch blocks (#1513)
cursor[bot] c51b55e
fix(dif): log errors in tryProguard and tryObject catch blocks (#1513)
cursor[bot] e8044bc
fix(dashboard): use revision restore endpoint (#1529)
skaasten 034d2de
fix(dashboard): use revision restore endpoint (#1529)
skaasten fa60371
fix(dashboard): use revision restore endpoint (#1529)
skaasten 1514a05
fix(arg-parsing): Handle space-separated event IDs from agents (#1530)
sentry[bot] 353b08a
fix(arg-parsing): Handle space-separated event IDs from agents (#1530)
sentry[bot] 1b664dc
fix(arg-parsing): Handle space-separated event IDs from agents (#1530)
sentry[bot] e0f5628
docs: weekly documentation audit — add sentry docs/status coverage, i…
cursor[bot] f7f7970
docs: weekly documentation audit — add sentry docs/status coverage, i…
cursor[bot] 6823f73
docs: weekly documentation audit — add sentry docs/status coverage, i…
cursor[bot] ef2ec1b
docs: weekly documentation audit — add sentry docs/status coverage, i…
cursor[bot] 0c157b7
fix(scope-recovery): log error in hasActiveOAuthGrant catch block (#1…
cursor[bot] f64cd35
fix(scope-recovery): log error in hasActiveOAuthGrant catch block (#1…
cursor[bot] 9de46a4
fix(scope-recovery): log error in hasActiveOAuthGrant catch block (#1…
cursor[bot] cb54f01
fix(alerts): Remove deprecated transactions dataset (#1516)
mjq fa62de1
fix(alerts): Remove deprecated transactions dataset (#1516)
mjq 0fecc14
fix(alerts): Remove deprecated transactions dataset (#1516)
mjq 7a83d73
fix(alerts): Remove deprecated transactions dataset (#1516)
mjq d0b17ad
feat(errors): wire up no-silent-catch lint rule, drop ratchet baselin…
jared-outpost[bot] cbf0e50
feat(errors): wire up no-silent-catch lint rule, drop ratchet baselin…
jared-outpost[bot] 074ae48
feat(errors): wire up no-silent-catch lint rule, drop ratchet baselin…
jared-outpost[bot] 00f5bd2
feat(status): probe Statuspage summary directly instead of host heuri…
jared-outpost[bot] 549fe91
feat(status): probe Statuspage summary directly instead of host heuri…
jared-outpost[bot] ed5fab3
feat(status): probe Statuspage summary directly instead of host heuri…
jared-outpost[bot] 55301e8
fix(dashboards): Remove references to removed datasets (#1515)
mjq f8fb48d
fix(dashboards): Remove references to removed datasets (#1515)
mjq b31d6b8
fix(dashboards): Remove references to removed datasets (#1515)
mjq 4b74aba
fix(dashboards): Remove references to removed datasets (#1515)
mjq 0099840
fix(telemetry): Silence CliError for process exit code 1 (#1449)
sentry[bot] f38aa57
fix(telemetry): Silence CliError for process exit code 1 (#1449)
sentry[bot] 1fea669
fix(telemetry): Silence CliError for process exit code 1 (#1449)
sentry[bot] c90eeb0
feat(init): track completion-screen actions in run telemetry (#1534)
betegon a0c9fa5
feat(init): track completion-screen actions in run telemetry (#1534)
betegon 98504a2
feat(init): track completion-screen actions in run telemetry (#1534)
betegon 33ba2e4
fix(lint): force-ignore output.ts from Biome type analysis (200k limi…
betegon 55f1694
fix(lint): force-ignore output.ts from Biome type analysis (200k limi…
betegon 4b9a09f
fix(lint): force-ignore output.ts from Biome type analysis (200k limi…
betegon 6bcf580
fix(init): gate unsupported --features and tag dry-run runs (#1535)
betegon 15ff648
fix(init): gate unsupported --features and tag dry-run runs (#1535)
betegon 9ff7a7f
fix(init): gate unsupported --features and tag dry-run runs (#1535)
betegon b9183f8
fix(docs): Explain regional model unavailability (#1537)
MathurAditya724 64606e1
fix(docs): Explain regional model unavailability (#1537)
MathurAditya724 b8f7db3
fix(docs): Explain regional model unavailability (#1537)
MathurAditya724 e3b0853
fix(init): stop recording skipped verification as an error (#1544)
betegon ff86a7e
fix(init): stop recording skipped verification as an error (#1544)
betegon 5182a03
fix(init): stop recording skipped verification as an error (#1544)
betegon c6f6239
feat(config): follow XDG Base Directory spec for config location (#1503)
jared-outpost[bot] 3b79af2
feat(config): follow XDG Base Directory spec for config location (#1503)
jared-outpost[bot] cebfbfc
feat(config): follow XDG Base Directory spec for config location (#1503)
jared-outpost[bot] aedf456
feat(config): follow XDG Base Directory spec for config location (#1503)
jared-outpost[bot] 6829369
fix(telemetry): log process-tree walk failures in agent detection (#1…
cursor[bot] fb2dbbf
fix(telemetry): log process-tree walk failures in agent detection (#1…
cursor[bot] 5ce699b
fix(telemetry): log process-tree walk failures in agent detection (#1…
cursor[bot] ef55492
fix(cli): log UID resolution failures in sentry cli fix (#1541)
cursor[bot] d39ed6b
fix(cli): log UID resolution failures in sentry cli fix (#1541)
cursor[bot] 2f8d2d3
fix(cli): log UID resolution failures in sentry cli fix (#1541)
cursor[bot] 913eee6
feat(local): Add agent debugging stream (#1538)
MathurAditya724 a413d4a
feat(local): Add agent debugging stream (#1538)
MathurAditya724 4ef809b
feat(local): Add agent debugging stream (#1538)
MathurAditya724 d17a714
feat(local): Add agent debugging stream (#1538)
MathurAditya724 fae0452
fix(org): log region URL parse failures in org list (#1539)
cursor[bot] 2044201
fix(org): log region URL parse failures in org list (#1539)
cursor[bot] 08dfbc1
fix(org): log region URL parse failures in org list (#1539)
cursor[bot] 8fa60a5
feat(local): Add browser viewer for local telemetry (#1560)
MathurAditya724 2a52929
feat(local): Add browser viewer for local telemetry (#1560)
MathurAditya724 473d078
feat(local): Add browser viewer for local telemetry (#1560)
MathurAditya724 6620138
feat(local): Add browser viewer for local telemetry (#1560)
MathurAditya724 3c869e3
feat(telemetry): refresh coding agent detection (#1571)
betegon 86871f4
feat(telemetry): refresh coding agent detection (#1571)
betegon ea3005d
feat(telemetry): refresh coding agent detection (#1571)
betegon b1749f0
fix(event): Prevent immediate retry of rate-limited org in event view…
sentry[bot] edce4e2
fix(event): Prevent immediate retry of rate-limited org in event view…
sentry[bot] 5781093
fix(event): Prevent immediate retry of rate-limited org in event view…
sentry[bot] 81f11d0
feat(cli): add toolkit upgrade bridge (#1569)
BYK 3eb5cc0
feat(cli): add toolkit upgrade bridge (#1569)
BYK 229673d
feat(cli): add toolkit upgrade bridge (#1569)
BYK b5bb384
release: 0.45.0
BYK 16cf40d
release: 0.45.0
BYK cff620f
release: 0.45.0
BYK 9d4b516
chore: regenerate docs
github-actions[bot] 0e187dd
chore: regenerate docs
github-actions[bot] d5ffbce
chore: regenerate docs
github-actions[bot] 47cf1b6
Merge remote-tracking branch 'remotes/origin/release/0.45.0'
sentry-release-bot[bot] 6967fca
Merge remote-tracking branch 'remotes/origin/release/0.45.0'
sentry-release-bot[bot] 7b0166c
meta: Bump new development version
sentry-release-bot[bot] 012d018
meta: Bump new development version
sentry-release-bot[bot] 49bf6a1
meta: Bump new development version
sentry-release-bot[bot] 5bcb4f7
chore: regenerate docs
github-actions[bot] 1c012b3
chore: regenerate docs
github-actions[bot] fd3aa9b
chore: regenerate docs
github-actions[bot] 2bc7796
fix(explore): Remove deprecated `transaction` dataset (#1573)
mjq 450fcee
fix(explore): Remove deprecated `transaction` dataset (#1573)
mjq 3142335
fix(explore): Remove deprecated `transaction` dataset (#1573)
mjq d9a2414
feat(local): Add observability workspace (#1576)
MathurAditya724 a6e068b
feat(local): Add observability workspace (#1576)
MathurAditya724 8e861e5
feat(local): Add observability workspace (#1576)
MathurAditya724 d0ca0de
feat(auth): start login after interactive CLI installs (#1574)
betegon 3a220a0
feat(auth): start login after interactive CLI installs (#1574)
betegon b03c0f6
feat(auth): start login after interactive CLI installs (#1574)
betegon 891a310
feat(auth): start login after interactive CLI installs (#1574)
betegon da5eded
docs: weekly documentation audit — XDG config paths, new agents, Loca…
cursor[bot] 86767f6
docs: weekly documentation audit — XDG config paths, new agents, Loca…
cursor[bot] 3b9ac2e
docs: weekly documentation audit — XDG config paths, new agents, Loca…
cursor[bot] 1804ddb
docs: weekly documentation audit — XDG config paths, new agents, Loca…
cursor[bot] c67ca01
fix: drain 3 grandfathered silent catches (resolve-team, trace-target…
cursor[bot] 03b6572
fix: drain 3 grandfathered silent catches (resolve-team, trace-target…
cursor[bot] 699e107
fix: drain 3 grandfathered silent catches (resolve-team, trace-target…
cursor[bot] 6d5ab68
feat(agent-conversation): Link conversation IDs to Sentry (#1585)
vgrozdanic cdce31b
feat(agent-conversation): Link conversation IDs to Sentry (#1585)
vgrozdanic 992cba8
feat(agent-conversation): Link conversation IDs to Sentry (#1585)
vgrozdanic e36a0c6
fix(agent-conversation): Keep conversation IDs copyable (#1586)
vgrozdanic 6dd5a3f
fix(agent-conversation): Keep conversation IDs copyable (#1586)
vgrozdanic 2090438
fix(agent-conversation): Keep conversation IDs copyable (#1586)
vgrozdanic 20ee4f4
feat(snapshots): Follow the server-selected objectstore usecase (#1587)
NicoHinderling b66dca2
feat(snapshots): Follow the server-selected objectstore usecase (#1587)
NicoHinderling 2108ec2
feat(snapshots): Follow the server-selected objectstore usecase (#1587)
NicoHinderling da58321
feat(wasm-split): port Symbolicator wasm-split (#1589)
d2anamaria d4cc640
feat(wasm-split): port Symbolicator wasm-split (#1589)
d2anamaria 9deaa14
feat(wasm-split): port Symbolicator wasm-split (#1589)
d2anamaria 4358ec2
feat(wasm-split): port Symbolicator wasm-split (#1589)
d2anamaria 21c9c26
fix(dsn): skip downward scan when project root falls back to $HOME (#…
jared-outpost[bot] 80bb3ce
fix(dsn): skip downward scan when project root falls back to $HOME (#…
jared-outpost[bot] a6b8545
fix(dsn): skip downward scan when project root falls back to $HOME (#…
jared-outpost[bot] 6b08e90
fix(error-reporting): silence ValidationError for ambiguous project s…
sentry[bot] 5924725
fix(error-reporting): silence ValidationError for ambiguous project s…
sentry[bot] a989e8e
fix(error-reporting): silence ValidationError for ambiguous project s…
sentry[bot] 7d81b40
feat(toolkit): import CLI history
BYK 86902ba
feat(toolkit): import CLI docs history
BYK ec14928
feat(toolkit): integrate imported workspaces
BYK bc3590b
Merge origin/main into feat/toolkit-cli-import
BYK e6a0a8c
fix(cli): update Vitest to 4.1.11
BYK e0ace3d
fix(cli): use catalog Hono version
BYK f0b9d20
fix(cli): bound legacy AI response reads
BYK 04f6e1e
feat(toolkit): update CLI import to source main
BYK d11d849
feat(toolkit): update CLI docs import to source main
BYK a8a1d74
fix(error-reporting): silence ResolutionError for event not found (#1…
sentry[bot] f61fcdd
fix(error-reporting): silence ResolutionError for event not found (#1…
sentry[bot] f68ee08
fix(dsn): ignore macOS 'Unknown system error' in scandir (#1601)
sentry[bot] 154eba8
fix(dsn): ignore macOS 'Unknown system error' in scandir (#1601)
sentry[bot] 1dec1d6
fix(dashboard): log suppressed error in 404 suggestion fetch (#1603)
cursor[bot] 9775f34
fix(dashboard): log suppressed error in 404 suggestion fetch (#1603)
cursor[bot] 2d1235c
docs: weekly documentation audit — agent-conversation syntax, new com…
cursor[bot] 34b43f7
docs: weekly documentation audit — agent-conversation syntax, new com…
cursor[bot] 35499b3
docs: weekly documentation audit — agent-conversation syntax, new com…
cursor[bot] 0a9111c
docs: weekly documentation audit — agent-conversation syntax, new com…
cursor[bot] 9a6382a
fix(db): log suppressed error in trusted region origin seeding (#1604)
cursor[bot] a5c00ce
fix(db): log suppressed error in trusted region origin seeding (#1604)
cursor[bot] 67b8daf
fix(auth): log suppressed error in whoami user cache update (#1605)
cursor[bot] b10ca00
fix(auth): log suppressed error in whoami user cache update (#1605)
cursor[bot] 079ee21
fix(trace): look up traces without timestamp=now (#1611)
betegon 98adf3f
fix(trace): look up traces without timestamp=now (#1611)
betegon 8ad8fc7
fix(project): auto-paginate list when --limit exceeds API page size (…
betegon 617d546
fix(project): auto-paginate list when --limit exceeds API page size (…
betegon 0dfe876
fix(replay): resolve replay view by linked trace id (#1614)
betegon e86860a
fix(replay): resolve replay view by linked trace id (#1614)
betegon 18b937f
fix(replay): resolve replay view by linked trace id (#1614)
betegon 75efa8f
fix(replay): resolve replay view by linked trace id (#1614)
betegon d302e31
fix(api): preserve cursor for partial final pages (#1615)
betegon 2087198
fix(api): preserve cursor for partial final pages (#1615)
betegon ff5c321
docs: weekly documentation audit — fix init features, explore replays…
cursor[bot] 7c92f60
docs: weekly documentation audit — fix init features, explore replays…
cursor[bot] 45ce718
docs: weekly documentation audit — fix init features, explore replays…
cursor[bot] 3b0b046
docs: weekly documentation audit — fix init features, explore replays…
cursor[bot] 7559e0f
fix(error-reporting): silence file-not-found ValidationErrors (#1617)
sentry[bot] fa89bd1
fix(error-reporting): silence file-not-found ValidationErrors (#1617)
sentry[bot] 702eea2
fix(schema): resolve METHOD + path lookups (#1613)
betegon d36795e
fix(schema): resolve METHOD + path lookups (#1613)
betegon 3333450
fix(schema): resolve METHOD + path lookups (#1613)
betegon 043cae7
fix(schema): resolve METHOD + path lookups (#1613)
betegon 6de19fc
fix(project): accept agent framework platforms (#1618)
sentry-junior[bot] add9539
fix(project): accept agent framework platforms (#1618)
sentry-junior[bot] e2bd1b1
fix(event): print full event IDs (#1619)
betegon 54fe5a0
fix(event): print full event IDs (#1619)
betegon 4a0c151
fix(schema): resolve exact operation identifiers (#1620)
betegon 3ddae6a
fix(schema): resolve exact operation identifiers (#1620)
betegon c9d678b
fix(schema): resolve exact operation identifiers (#1620)
betegon 1ce67ca
fix(schema): resolve exact operation identifiers (#1620)
betegon aa92bf4
fix(cli): Validate regionUrl is absolute to prevent URL parsing error…
sentry[bot] c2c0375
fix(cli): Validate regionUrl is absolute to prevent URL parsing error…
sentry[bot] 9b0bc12
feat(event): include attachment metadata on event view (#1610)
betegon 499e0a3
feat(event): include attachment metadata on event view (#1610)
betegon 900667d
feat(event): include attachment metadata on event view (#1610)
betegon 1d807fa
feat(event): include attachment metadata on event view (#1610)
betegon 4a50419
fix(cli): report swallowed best-effort failures to Sentry (#1623)
betegon 7bbcb77
fix(cli): report swallowed best-effort failures to Sentry (#1623)
betegon e4ef98f
Configure independent release workspaces
BYK 89314b9
Update CLI import to source main
BYK 750e485
feat(toolkit): update CLI docs import to source main
BYK f71b0dd
Regenerate CLI skill documentation
BYK 70d6d98
fix(telemetry): tag sentry.org on api and event view (#1612)
betegon f324765
fix(react-native): handle unreadable Xcode sourcemap reports (#1349)
cursor[bot] 3df405f
fix(seer): validate autofix API responses (#1627)
betegon 6ca76cd
Fix CLI release and compatibility workflows
BYK 9e92f5a
fix(issue): resolve shared links with the current API contract (#1628)
betegon c02274d
fix(sourcemap): inject missing runtime snippets for existing debug ID…
betegon 5a15297
fix(sourcemap): inject missing runtime snippets for existing debug ID…
betegon fad78b2
Fix release and installer review findings
BYK 0dcf0d4
fix(span): use ResolutionError for missing spans (#1636)
sentry[bot] 986bf2c
fix(install): use release registry with GitHub fallback (#1637)
betegon f22dc2e
fix(event): resolve DSN from project scan and org/project (#1625)
betegon 0e5426d
fix(event): resolve DSN from project scan and org/project (#1625)
betegon 5e4bcd9
feat(issue): batch view and explain commands (#1609)
betegon 79d27db
feat(issue): batch view and explain commands (#1609)
betegon 8db5b0c
fix(resolve): use an org slug only when no project matches (#1622)
betegon c27f7f6
fix(context): stop crashing when the working directory was deleted (C…
cursor[bot] e041a34
fix(sourcemap): crc32 is not a function on Node.js < 20.15 (CLI-34F) …
cursor[bot] bbb33a4
chore(lint): require target resolution helpers (#1641)
betegon 4cc853e
fix: guard against null status in seer API, plan command, and monitor…
cursor[bot] 13880f8
fix(auth): reject malformed bearer credentials (#1638)
betegon a02fb33
fix(auth): reject malformed bearer credentials (#1638)
betegon 4935913
fix(sdk): type variadic flags as arrays (#1648)
betegon a64e428
chore(deps): bump @sentry/api to 0.337.0 (#1647)
betegon 93e8544
fix(telemetry): redact credentials from CLI diagnostics (#1640)
betegon e34a7c2
fix(search): rewrite numeric project: filters to project_id (#1621)
betegon 775f125
Keep MCP deployment unchanged during CLI import
BYK 7c34509
Fix CLI installer release selection and examples
BYK 44fde2d
Validate CLI and docs builds in full CI
BYK 428c2d2
Fix CLI import CI review findings
BYK 8eb9c0d
Fix installer init and imported CLI examples
BYK 1a1b4ef
Run scoped CI checks per workspace
BYK c3f01b0
Merge current main into CLI import
BYK cb6ab59
Clean up installer files after setup
BYK 1af1ff0
Prepare generated CLI schema for docs CI
BYK 758a0d5
Bridge imported CLI history to getsentry/cli 6f9d3230
BYK aa2bbd7
Refresh imported CLI from upstream
BYK 2c5d9fc
Refresh imported CLI documentation from upstream
BYK 92c9eff
Verify Toolkit first release upgrade path
BYK d330cc3
Fix CLI import review findings
BYK c8d2106
Fix import validation and CLI docs release
BYK 5e1c4bd
Fix CLI import review findings
BYK 5eb9484
fix(error-reporting): silence SeerError on self-hosted (CLI-1WP) (#1651)
sentry[bot] a25a7bb
Fix CLI migration shim review findings
BYK 78b2c1f
Fix CLI import review findings
BYK 880c67a
Fix zsh migration shim host handling
BYK e07a62c
Skip prerelease tags in stable CLI installer
BYK 725a6f8
Parse compact GitHub releases in CLI installer
BYK 5b14779
Keep CLI typecheck offline
BYK 1db99f0
Handle release named new in migration shim
BYK 8ff191c
Refresh imported CLI from upstream
BYK File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,7 +1,97 @@ | ||
| changelogPolicy: none | ||
| preReleaseCommand: bash bin/bump-version.sh | ||
| targets: | ||
| - name: github | ||
| - name: npm | ||
| id: "@sentry/mcp-server" | ||
| includeNames: /^sentry-mcp-server-\d.*\.tgz$/ | ||
| minVersion: '2.29.0' | ||
| workspaces: | ||
| packages/cli: | ||
| changelog: | ||
| policy: auto | ||
| versioning: | ||
| policy: auto | ||
| preReleaseCommand: bash -c 'cd packages/cli && node --experimental-strip-types script/bump-version.ts --pre' | ||
| postReleaseCommand: bash -c 'cd packages/cli && node --experimental-strip-types script/bump-version.ts --post' | ||
| releaseBranchPrefix: release/cli | ||
| artifactProvider: | ||
| name: github | ||
| config: | ||
| artifacts: | ||
| Build: | ||
| - '/^sentry-.*$/' | ||
| - 'npm-package' | ||
| - 'vercel' | ||
|
sentry-warden[bot] marked this conversation as resolved.
|
||
| targets: | ||
| - name: npm | ||
| includeNames: '/^sentry-\d.*\.tgz$/' | ||
| - name: github | ||
| tagPrefix: 'cli@' | ||
|
sentry-warden[bot] marked this conversation as resolved.
sentry-warden[bot] marked this conversation as resolved.
sentry-warden[bot] marked this conversation as resolved.
sentry-warden[bot] marked this conversation as resolved.
|
||
| - name: vercel | ||
| projectId: prj_wVkOnIwI3eIQbGD1Gw7qS1MqFFIK | ||
| - name: registry | ||
| apps: | ||
| 'app:sentry': | ||
| name: 'Sentry CLI' | ||
| packageUrl: 'https://www.npmjs.com/package/sentry' | ||
| mainDocsUrl: 'https://cli.sentry.dev' | ||
| urlTemplate: 'https://github.com/getsentry/sentry-mcp/releases/download/cli@{{version}}/{{file}}' | ||
| includeNames: '/^sentry-.*\.gz$/' | ||
| checksums: | ||
| - algorithm: sha256 | ||
| format: hex | ||
| - name: brew | ||
| tap: getsentry/tools | ||
| formula: sentry | ||
| path: Formula | ||
| includeNames: '/^sentry-(darwin|linux)-(arm64|x64)\.gz$/' | ||
| template: | | ||
| class Sentry < Formula | ||
| desc "Sentry command-line tool for error monitoring and debugging" | ||
| homepage "https://cli.sentry.dev" | ||
| version "{{version}}" | ||
| license "FSL-1.1-Apache-2.0" | ||
|
|
||
| if OS.mac? | ||
| if Hardware::CPU.arm? | ||
| url "https://github.com/getsentry/sentry-mcp/releases/download/cli@{{version}}/sentry-darwin-arm64.gz" | ||
| sha256 "{{checksums.sentry-darwin-arm64__gz}}" | ||
| elsif Hardware::CPU.intel? | ||
| url "https://github.com/getsentry/sentry-mcp/releases/download/cli@{{version}}/sentry-darwin-x64.gz" | ||
| sha256 "{{checksums.sentry-darwin-x64__gz}}" | ||
| else | ||
| raise "Unsupported macOS CPU architecture: #{Hardware::CPU.type}" | ||
| end | ||
| elsif OS.linux? | ||
| if Hardware::CPU.arm? && Hardware::CPU.is_64_bit? | ||
| url "https://github.com/getsentry/sentry-mcp/releases/download/cli@{{version}}/sentry-linux-arm64.gz" | ||
| sha256 "{{checksums.sentry-linux-arm64__gz}}" | ||
| elsif Hardware::CPU.intel? && Hardware::CPU.is_64_bit? | ||
| url "https://github.com/getsentry/sentry-mcp/releases/download/cli@{{version}}/sentry-linux-x64.gz" | ||
|
sentry-warden[bot] marked this conversation as resolved.
|
||
| sha256 "{{checksums.sentry-linux-x64__gz}}" | ||
| else | ||
| raise "Unsupported Linux CPU architecture: #{Hardware::CPU.type} (only 64-bit arm and x86_64 are supported)" | ||
| end | ||
| else | ||
| raise "Unsupported operating system" | ||
| end | ||
|
|
||
| def install | ||
| bin.install Dir["sentry-*"].first => "sentry" | ||
| end | ||
|
|
||
| def post_install | ||
| system bin/"sentry", "cli", "setup", "--method", "brew", "--no-modify-path" | ||
| end | ||
|
|
||
| test do | ||
| assert_match version.to_s, shell_output("#{bin}/sentry --version").chomp | ||
| end | ||
| end | ||
| packages/mcp-server: | ||
| changelogPolicy: none | ||
| preReleaseCommand: >- | ||
| bash -c 'set -e; for package in packages/mcp-* packages/smoke-tests; do | ||
| (cd "$package" && npm version "$CRAFT_NEW_VERSION" --no-git-tag-version); | ||
| done' | ||
| releaseBranchPrefix: release/mcp | ||
|
sentry-warden[bot] marked this conversation as resolved.
BYK marked this conversation as resolved.
|
||
| targets: | ||
| - name: github | ||
| includeNames: '/^sentry-mcp-server-\d.*\.tgz$/' | ||
| - name: npm | ||
| id: '@sentry/mcp-server' | ||
| includeNames: '/^sentry-mcp-server-\d.*\.tgz$/' | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,4 +1,8 @@ | ||
| # React Router's advisory only affects applications using its unstable RSC APIs. | ||
| # This application uses the stable browser router and has no RSC integration. | ||
| # provider-utils 2.2.8 retains APIs required by ui-utils 1.2.11. Its checked-in | ||
| # pnpm patch backports the upstream bounded-response fix, and check:patches | ||
| # exercises oversized-body rejection and cancellation against the nested copy. | ||
| allow-ghsas: | ||
| - GHSA-qwww-vcr4-c8h2 | ||
| - GHSA-866g-f22w-33x8 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,246 @@ | ||
| name: Build | ||
|
|
||
| on: | ||
| push: | ||
| branches: | ||
| - main | ||
| - release/cli/** | ||
| workflow_dispatch: | ||
|
|
||
| concurrency: | ||
| group: cli-build-${{ github.ref }} | ||
| cancel-in-progress: false | ||
|
|
||
| permissions: | ||
| contents: read | ||
| packages: write | ||
|
|
||
| env: | ||
| SENTRY_CLIENT_ID: ${{ vars.SENTRY_CLIENT_ID }} | ||
| NODE_VERSION_20: "20.20.2" | ||
| NODE_VERSION_22: "22.23.1" | ||
| NODE_VERSION_24: "24.18.0" | ||
|
|
||
| jobs: | ||
| build-binary: | ||
| name: Build Binary (${{ matrix.target }}) | ||
| runs-on: ${{ matrix.os }} | ||
| environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/cli/')) && 'production' || '' }} | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| include: | ||
| - target: darwin-arm64 | ||
| os: macos-latest | ||
| - target: darwin-x64 | ||
| os: ubuntu-latest | ||
| - target: linux-x64 | ||
| os: ubuntu-latest | ||
| - target: linux-arm64 | ||
| os: ubuntu-latest | ||
| - target: windows-x64 | ||
| os: ubuntu-latest | ||
| steps: | ||
| - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | ||
| - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4 | ||
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | ||
| with: | ||
| node-version: ${{ env.NODE_VERSION_22 }} | ||
| cache: pnpm | ||
| - name: Install dependencies | ||
| run: pnpm install --frozen-lockfile | ||
| - name: Setup codesign dependencies | ||
| env: | ||
| APPLE_CERT_DATA: ${{ secrets.APPLE_CERT_DATA }} | ||
| APPLE_API_KEY: ${{ secrets.APPLE_API_KEY }} | ||
| shell: bash | ||
| run: | | ||
| if [[ "$RUNNER_OS" == "macOS" && "$RUNNER_ARCH" == "ARM64" ]]; then | ||
| RCODESIGN_ARCHIVE="apple-codesign-0.29.0-aarch64-apple-darwin.tar.gz" | ||
| RCODESIGN_SHA256="d1a532150adaf90048260d76359261aa716abafc45c53c5dc18845029184334a" | ||
| elif [[ "$RUNNER_OS" == "macOS" ]]; then | ||
| RCODESIGN_ARCHIVE="apple-codesign-0.29.0-x86_64-apple-darwin.tar.gz" | ||
| RCODESIGN_SHA256="14ef11bedd51a8d95eafd767939ae96d5900e5a61511bef75bb21db6e7c74140" | ||
| else | ||
| RCODESIGN_ARCHIVE="apple-codesign-0.29.0-x86_64-unknown-linux-musl.tar.gz" | ||
| RCODESIGN_SHA256="dbe85cedd8ee4217b64e9a0e4c2aef92ab8bcaaa41f20bde99781ff02e600002" | ||
| fi | ||
| if [[ "$RUNNER_OS" == "macOS" ]]; then | ||
| BASE64_DECODE="-D" | ||
| else | ||
| BASE64_DECODE="--decode" | ||
| fi | ||
| curl -fsSL "https://github.com/indygreg/apple-platform-rs/releases/download/apple-codesign%2F0.29.0/${RCODESIGN_ARCHIVE}" -o rcodesign.tar.gz | ||
| echo "${RCODESIGN_SHA256} rcodesign.tar.gz" | shasum -a 256 -c | ||
| tar -xzf rcodesign.tar.gz --strip-components=1 | ||
| sudo mv rcodesign /usr/local/bin/rcodesign | ||
| rm rcodesign.tar.gz | ||
| if [[ -n "$APPLE_CERT_DATA" ]]; then | ||
| echo "$APPLE_CERT_DATA" | base64 "$BASE64_DECODE" > /tmp/certs.p12 | ||
| { | ||
| echo 'APPLE_CERT_PATH=/tmp/certs.p12' | ||
| } >> "$GITHUB_ENV" | ||
| fi | ||
| if [[ -n "$APPLE_API_KEY" ]]; then | ||
| echo "$APPLE_API_KEY" | base64 "$BASE64_DECODE" > /tmp/apple_key.json | ||
| jq -r .private_key /tmp/apple_key.json > /tmp/apple_key.pem | ||
| { | ||
| echo "APPLE_API_KEY_ISSUER_ID=$(jq -r .issuer_id /tmp/apple_key.json | tr -d '\n\r')" | ||
| echo "APPLE_API_KEY_ID=$(jq -r .key_id /tmp/apple_key.json | tr -d '\n\r')" | ||
| echo 'APPLE_API_KEY_P8_PATH=/tmp/apple_key.pem' | ||
| echo 'APPLE_API_KEY_PATH=/tmp/apple_key.json' | ||
| } >> "$GITHUB_ENV" | ||
| fi | ||
| - name: Build | ||
| env: | ||
| SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
| RELEASE_BUILD: "1" | ||
| FOSSILIZE_SIGN: ${{ (github.ref_name == 'main' || startsWith(github.ref_name, 'release/cli/')) && 'y' || 'n' }} | ||
| APPLE_CERT_PASSWORD: ${{ secrets.APPLE_CERT_PASSWORD }} | ||
| APPLE_TEAM_ID: ${{ secrets.APPLE_TEAM_ID }} | ||
| run: pnpm --filter sentry run build -- --target ${{ matrix.target }} | ||
| - name: Smoke test | ||
| if: matrix.target == 'linux-x64' | ||
| env: | ||
| SENTRY_AUTH_TOKEN: "" | ||
| SENTRY_TOKEN: "" | ||
| SENTRY_CONFIG_DIR: ${{ runner.temp }}/.sentry-smoke | ||
| run: | | ||
| packages/cli/dist-bin/sentry-linux-x64 --help | ||
| output=$(packages/cli/dist-bin/sentry-linux-x64 auth status 2>&1) && status=$? || status=$? | ||
| test "$status" -eq 10 | ||
| printf '%s\n' "$output" | grep -qi 'not authenticated' | ||
| - name: Upload binary artifact | ||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 | ||
| with: | ||
| name: sentry-${{ matrix.target }} | ||
| path: | | ||
| packages/cli/dist-bin/sentry-* | ||
| !packages/cli/dist-bin/*.gz | ||
| - name: Upload compressed artifact | ||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 | ||
| with: | ||
| name: sentry-${{ matrix.target }}-gz | ||
| path: packages/cli/dist-bin/*.gz | ||
|
|
||
| build-npm: | ||
| name: Build npm Package | ||
| runs-on: ubuntu-latest | ||
| environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/cli/')) && 'production' || '' }} | ||
| steps: | ||
| - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | ||
| - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4 | ||
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | ||
| with: | ||
| node-version: ${{ env.NODE_VERSION_22 }} | ||
| cache: pnpm | ||
| - name: Install dependencies | ||
| run: pnpm install --frozen-lockfile | ||
| - name: Bundle | ||
| env: | ||
| SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
| run: pnpm --filter sentry run bundle | ||
| - name: Smoke test | ||
| env: | ||
| SENTRY_AUTH_TOKEN: "" | ||
| SENTRY_TOKEN: "" | ||
| SENTRY_CONFIG_DIR: ${{ runner.temp }}/.sentry-smoke | ||
| run: node packages/cli/dist/bin.cjs --help | ||
| - name: Pack | ||
| working-directory: packages/cli | ||
| run: npm pack | ||
| - name: Upload npm artifact | ||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 | ||
| with: | ||
| name: npm-package | ||
| path: packages/cli/*.tgz | ||
|
|
||
| test-npm: | ||
| name: Test npm Package (Node ${{ matrix.node }}) | ||
| needs: build-npm | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| fail-fast: false | ||
| matrix: | ||
| node: [20, 22, 24] | ||
| steps: | ||
| - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | ||
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | ||
| with: | ||
| node-version: ${{ matrix.node == 24 && env.NODE_VERSION_24 || matrix.node == 20 && env.NODE_VERSION_20 || env.NODE_VERSION_22 }} | ||
| - name: Download npm artifact | ||
| uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 | ||
| with: | ||
| name: npm-package | ||
| path: packages/cli | ||
| - name: Test packaged CLI | ||
| env: | ||
| SENTRY_AUTH_TOKEN: "" | ||
| SENTRY_TOKEN: "" | ||
| SENTRY_CONFIG_DIR: ${{ runner.temp }}/.sentry-smoke | ||
| run: | | ||
| package_file=$(find packages/cli -maxdepth 1 -name 'sentry-*.tgz' -print -quit) | ||
| test -n "$package_file" | ||
| npm install --ignore-scripts --prefix "$RUNNER_TEMP/npm-smoke" "$GITHUB_WORKSPACE/$package_file" | ||
| node "$RUNNER_TEMP/npm-smoke/node_modules/sentry/dist/bin.cjs" --help | ||
|
|
||
| build-docs: | ||
| name: Build Docs | ||
| needs: build-binary | ||
| runs-on: ubuntu-latest | ||
| environment: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/cli/')) && 'production' || '' }} | ||
| env: | ||
| SENTRY_AUTH_TOKEN: ${{ secrets.SENTRY_AUTH_TOKEN }} | ||
| PUBLIC_SENTRY_ENVIRONMENT: ${{ (github.ref == 'refs/heads/main' || startsWith(github.ref, 'refs/heads/release/cli/')) && 'production' || 'development' }} | ||
| steps: | ||
| - uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4 | ||
| - uses: pnpm/action-setup@a7487c7e89a18df4991f7f222e4898a00d66ddda # v4 | ||
| - uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4 | ||
| with: | ||
| node-version: ${{ env.NODE_VERSION_24 }} | ||
| cache: pnpm | ||
| - name: Install dependencies | ||
| run: pnpm install --frozen-lockfile | ||
| - name: Generate CLI docs | ||
| run: pnpm --filter sentry run generate:schema && pnpm --filter sentry run generate:docs | ||
| - name: Set docs release | ||
| run: | | ||
| release=$(node -p 'require("./packages/cli/package.json").version') | ||
| { | ||
| echo "PUBLIC_SENTRY_RELEASE=$release" | ||
| echo "SENTRY_RELEASE=$release" | ||
| } >> "$GITHUB_ENV" | ||
| - name: Build docs | ||
| run: pnpm --filter sentry-cli-docs run build | ||
|
sentry-warden[bot] marked this conversation as resolved.
sentry-warden[bot] marked this conversation as resolved.
sentry-warden[bot] marked this conversation as resolved.
|
||
| - name: Download Linux binary | ||
| uses: actions/download-artifact@d3f86a106a0bac45b974a628896c90dbdf5c8093 # v4 | ||
| with: | ||
| name: sentry-linux-x64 | ||
| path: dist-bin | ||
| - name: Inject debug IDs and upload sourcemaps | ||
| if: github.event_name == 'push' && env.SENTRY_AUTH_TOKEN != '' | ||
| env: | ||
| SENTRY_ORG: sentry | ||
| SENTRY_PROJECT: cli-website | ||
| run: | | ||
| chmod +x dist-bin/sentry-linux-x64 | ||
| ./dist-bin/sentry-linux-x64 sourcemap inject apps/cli-docs/dist/ | ||
| # shellcheck disable=SC2088 | ||
| ./dist-bin/sentry-linux-x64 sourcemap upload apps/cli-docs/dist/ \ | ||
| --release "$PUBLIC_SENTRY_RELEASE" \ | ||
| --url-prefix "~/" | ||
| - name: Remove sourcemaps | ||
| run: find apps/cli-docs/dist -name '*.map' -delete | ||
| - name: Package docs | ||
| run: | | ||
| output_dir="$RUNNER_TEMP/vercel-output" | ||
| rm -rf "$output_dir" | ||
| mkdir -p "$output_dir/.vercel/output/static" | ||
| cp -R apps/cli-docs/dist/. "$output_dir/.vercel/output/static/" | ||
| printf '%s\n' '{"version":3}' > "$output_dir/.vercel/output/config.json" | ||
| (cd "$output_dir" && zip -qr "$GITHUB_WORKSPACE/vercel.zip" .vercel) | ||
| - name: Upload docs artifact | ||
| uses: actions/upload-artifact@ea165f8d65b6e75b540449e92b4886f43607fa02 # v4 | ||
| with: | ||
| name: vercel | ||
| path: vercel.zip | ||
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.