Skip to content

Commit 3260660

Browse files
mr-danyacodex
andcommitted
chore: merge upstream main and resolve event package conflicts
Preserve package selection alongside updated resource telemetry and nullable event context documentation. Co-Authored-By: GPT-6 (Codex) <noreply@openai.com>
2 parents 11929e5 + af4988b commit 3260660

1,483 files changed

Lines changed: 386784 additions & 2766 deletions

File tree

Some content is hidden

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

‎.claude/settings.json‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,6 @@
7474
"Bash(pnpm -w run:*)",
7575
"Bash(pnpm -r list:*)",
7676
"Bash(pnpm --filter:*)",
77-
"Bash(pnpm turbo:*)",
7877
"Bash(pnpm vitest:*)",
7978
"Bash(pnpx vitest:*)",
8079
"Bash(pnpx tsx:*)",

‎.craft.yml‎

Lines changed: 100 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,100 @@
1-
changelogPolicy: none
2-
preReleaseCommand: bash bin/bump-version.sh
3-
targets:
4-
- name: github
5-
- name: npm
6-
id: "@sentry/mcp-server"
7-
includeNames: /^sentry-mcp-server-\d.*\.tgz$/
1+
minVersion: '2.33.0'
2+
workspaces:
3+
packages/cli:
4+
changelog:
5+
policy: auto
6+
# The CLI release also ships the documentation workspace.
7+
includePaths:
8+
- apps/cli-docs
9+
versioning:
10+
policy: auto
11+
preReleaseCommand: bash -c 'cd packages/cli && node --experimental-strip-types script/bump-version.ts --pre'
12+
postReleaseCommand: bash -c 'cd packages/cli && node --experimental-strip-types script/bump-version.ts --post'
13+
releaseBranchPrefix: release/cli
14+
artifactProvider:
15+
name: github
16+
config:
17+
artifacts:
18+
Build:
19+
- '/^sentry-.*$/'
20+
- 'npm-package'
21+
- 'vercel'
22+
targets:
23+
- name: npm
24+
includeNames: '/^sentry-\d.*\.tgz$/'
25+
- name: github
26+
tagPrefix: 'cli@'
27+
- name: vercel
28+
projectId: prj_wVkOnIwI3eIQbGD1Gw7qS1MqFFIK
29+
- name: registry
30+
apps:
31+
'app:sentry':
32+
name: 'Sentry CLI'
33+
packageUrl: 'https://www.npmjs.com/package/sentry'
34+
mainDocsUrl: 'https://cli.sentry.dev'
35+
urlTemplate: 'https://github.com/getsentry/toolkit/releases/download/cli@{{version}}/{{file}}'
36+
includeNames: '/^sentry-.*\.gz$/'
37+
checksums:
38+
- algorithm: sha256
39+
format: hex
40+
- name: brew
41+
tap: getsentry/tools
42+
formula: sentry
43+
path: Formula
44+
includeNames: '/^sentry-(darwin|linux)-(arm64|x64)\.gz$/'
45+
template: |
46+
class Sentry < Formula
47+
desc "Sentry command-line tool for error monitoring and debugging"
48+
homepage "https://cli.sentry.dev"
49+
version "{{version}}"
50+
license "FSL-1.1-Apache-2.0"
51+
52+
if OS.mac?
53+
if Hardware::CPU.arm?
54+
url "https://github.com/getsentry/toolkit/releases/download/cli@{{version}}/sentry-darwin-arm64.gz"
55+
sha256 "{{checksums.sentry-darwin-arm64__gz}}"
56+
elsif Hardware::CPU.intel?
57+
url "https://github.com/getsentry/toolkit/releases/download/cli@{{version}}/sentry-darwin-x64.gz"
58+
sha256 "{{checksums.sentry-darwin-x64__gz}}"
59+
else
60+
raise "Unsupported macOS CPU architecture: #{Hardware::CPU.type}"
61+
end
62+
elsif OS.linux?
63+
if Hardware::CPU.arm? && Hardware::CPU.is_64_bit?
64+
url "https://github.com/getsentry/toolkit/releases/download/cli@{{version}}/sentry-linux-arm64.gz"
65+
sha256 "{{checksums.sentry-linux-arm64__gz}}"
66+
elsif Hardware::CPU.intel? && Hardware::CPU.is_64_bit?
67+
url "https://github.com/getsentry/toolkit/releases/download/cli@{{version}}/sentry-linux-x64.gz"
68+
sha256 "{{checksums.sentry-linux-x64__gz}}"
69+
else
70+
raise "Unsupported Linux CPU architecture: #{Hardware::CPU.type} (only 64-bit arm and x86_64 are supported)"
71+
end
72+
else
73+
raise "Unsupported operating system"
74+
end
75+
76+
def install
77+
bin.install Dir["sentry-*"].first => "sentry"
78+
end
79+
80+
def post_install
81+
system bin/"sentry", "cli", "setup", "--method", "brew", "--no-modify-path"
82+
end
83+
84+
test do
85+
assert_match version.to_s, shell_output("#{bin}/sentry --version").chomp
86+
end
87+
end
88+
packages/mcp-server:
89+
changelogPolicy: none
90+
preReleaseCommand: >-
91+
bash -c 'set -e; for package in packages/mcp-* packages/smoke-tests; do
92+
(cd "$package" && npm version "$CRAFT_NEW_VERSION" --no-git-tag-version);
93+
done'
94+
releaseBranchPrefix: release/mcp
95+
targets:
96+
- name: github
97+
includeNames: '/^sentry-mcp-server-\d.*\.tgz$/'
98+
- name: npm
99+
id: '@sentry/mcp-server'
100+
includeNames: '/^sentry-mcp-server-\d.*\.tgz$/'
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
11
# React Router's advisory only affects applications using its unstable RSC APIs.
22
# This application uses the stable browser router and has no RSC integration.
3+
# provider-utils 2.2.8 retains APIs required by ui-utils 1.2.11. Its checked-in
4+
# pnpm patch backports the upstream bounded-response fix, and check:patches
5+
# exercises oversized-body rejection and cancellation against the nested copy.
36
allow-ghsas:
47
- GHSA-qwww-vcr4-c8h2
8+
- GHSA-866g-f22w-33x8

0 commit comments

Comments
 (0)