Skip to content

Commit 7b8261c

Browse files
committed
use wildcards in snapshot files
1 parent 638f23a commit 7b8261c

28 files changed

Lines changed: 109 additions & 123 deletions

tests/integration/_cases/build/build-upload-apk-all-uploaded.trycmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
$ sentry-cli build upload tests/integration/_fixtures/build/apk.apk
33
? success
44
WARN [..] EXPERIMENTAL: The build subcommand is experimental. The command is subject to breaking changes and may be removed without notice in any release.
5-
> Preparing for upload completed in 0s
5+
> Preparing for upload completed in [..]
66
Successfully uploaded 1 file to Sentry
77
- tests/integration/_fixtures/build/apk.apk (https://sentry.io/wat-org/preprod/wat-project/42)
88

tests/integration/_cases/build/build-upload-apk.trycmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
$ sentry-cli build upload tests/integration/_fixtures/build/apk.apk --head-sha test_head_sha
33
? success
44
WARN [..] EXPERIMENTAL: The build subcommand is experimental. The command is subject to breaking changes and may be removed without notice in any release.
5-
> Preparing for upload completed in 0s
6-
> Uploading completed in 0.103s
5+
> Preparing for upload completed in [..]
6+
> Uploading completed in [..]
77
Successfully uploaded 1 file to Sentry
88
- tests/integration/_fixtures/build/apk.apk (http://sentry.io/wat-org/preprod/wat-project/42)
99

tests/integration/_cases/build/build-upload-ipa.trycmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
$ sentry-cli build upload tests/integration/_fixtures/build/ipa.ipa --head-sha test_head_sha
33
? success
44
WARN [..] EXPERIMENTAL: The build subcommand is experimental. The command is subject to breaking changes and may be removed without notice in any release.
5-
> Preparing for upload completed in 0s
5+
> Preparing for upload completed in [..]
66
Successfully uploaded 1 file to Sentry
77
- tests/integration/_fixtures/build/ipa.ipa (http://sentry.io/wat-org/preprod/wat-project/some-text-id)
88

tests/integration/_cases/debug_files/bundle_jvm/debug_files-bundle-jvm-input-dir-empty.trycmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
$ sentry-cli debug-files bundle-jvm --output . --debug-id 48dee70b-4f3f-4a49-9223-de441738f7cd empty-dir
33
? success
44
> Found 0 files
5-
> Bundling completed in 0.005s
5+
> Bundling completed in [..]
66
> Bundled 0 files for upload
7-
> Bundle ID: 48dee70b-4f3f-4a49-9223-de441738f7cd
7+
> Bundle ID: [..]-[..]-[..]-[..]-[..]
88
Created ./48dee70b-4f3f-4a49-9223-de441738f7cd.zip
99

1010
```

tests/integration/_cases/debug_files/bundle_jvm/debug_files-bundle-jvm-output-is-file.trycmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
$ sentry-cli debug-files bundle-jvm --output ./file.txt --debug-id D384DC3B-AB2F-4DC7-903D-2C851E27E094 ./io
33
? failed
44
> Found 2 files
5-
> Bundling completed in 0.012s
5+
> Bundling completed in [..]
66
> Bundled 2 files for upload
7-
> Bundle ID: d384dc3b-ab2f-4dc7-903d-2c851e27e094
7+
> Bundle ID: [..]-[..]-[..]-[..]-[..]
88
error: Unable to write source bundle
99

1010
Caused by:

tests/integration/_cases/debug_files/bundle_jvm/debug_files-bundle-jvm-output-not-found.trycmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
$ sentry-cli debug-files bundle-jvm --output i-do-not-exist --debug-id 0B693ABA-531C-4EB6-99E4-B7320C3C85DA jvm
33
? success
44
> Found 2 files
5-
> Bundling completed in 0.012s
5+
> Bundling completed in [..]
66
> Bundled 2 files for upload
7-
> Bundle ID: 0b693aba-531c-4eb6-99e4-b7320c3c85da
7+
> Bundle ID: [..]-[..]-[..]-[..]-[..]
88
Created i-do-not-exist/0b693aba-531c-4eb6-99e4-b7320c3c85da.zip
99

1010
```

tests/integration/_cases/debug_files/bundle_jvm/debug_files-bundle-jvm.trycmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
$ sentry-cli debug-files bundle-jvm --output . --debug-id a4368a48-0880-40d7-9a26-c9ef5a84d156 ./io
33
? success
44
> Found 2 files
5-
> Bundling completed in 0.017s
5+
> Bundling completed in [..]
66
> Bundled 2 files for upload
7-
> Bundle ID: a4368a48-0880-40d7-9a26-c9ef5a84d156
7+
> Bundle ID: [..]-[..]-[..]-[..]-[..]
88
Created ./a4368a48-0880-40d7-9a26-c9ef5a84d156.zip
99

1010
```

tests/integration/_cases/debug_files/upload/debug_files-upload-mixed-embedded-sources.trycmd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ $ sentry-cli --log-level=debug debug-files upload --include-sources tests/integr
44
INFO [..] Loaded config from [CWD]/.sentryclirc
55
...
66
> Found 1 debug information file (1 with embedded sources)
7-
DEBUG 2025-10-15 16:02:36.445165 +02:00 trying to collect sources for SrcGenSampleApp.pdb
7+
DEBUG [..] trying to collect sources for SrcGenSampleApp.pdb
88
...
99
> Resolved source code for 0 debug information files
1010
> Prepared debug information file for upload

tests/integration/_cases/react_native/xcode-upload-source-maps-invalid-plist.trycmd

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ react-native-xcode.sh called with args:
55
Using React Native Packager bundle and source map.
66
Processing react-native sourcemaps for Sentry upload.
77
> Analyzing 2 sources
8-
> Analyzing completed in 0s
8+
> Analyzing completed in [..]
99
> Rewriting sources
10-
> Rewriting completed in 0s
10+
> Rewriting completed in [..]
1111
> Adding source map references
1212
error: Info.plist was not found or an parsing error occurred
1313

tests/integration/_cases/react_native/xcode-upload-source-maps-release_and_dist_from_env.trycmd

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ react-native-xcode.sh called with args:
88
Using React Native Packager bundle and source map.
99
Processing react-native sourcemaps for Sentry upload.
1010
> Analyzing 2 sources
11-
> Analyzing completed in 0s
11+
> Analyzing completed in [..]
1212
> Rewriting sources
13-
> Rewriting completed in 0s
13+
> Rewriting completed in [..]
1414
> Adding source map references
15-
> Bundling completed in 0.023s
15+
> Bundling completed in [..]
1616
> Bundled 2 files for upload
17-
> Bundle ID: d1c0c04c-7540-5c1a-9f16-872493ee070d
18-
> Optimizing completed in 0s
19-
> Uploading completed in 0.003s
17+
> Bundle ID: [..]-[..]-[..]-[..]-[..]
18+
> Optimizing completed in [..]
19+
> Uploading completed in [..]
2020
> Uploaded files to Sentry
21-
> Processing completed in 0s
21+
> Processing completed in [..]
2222
> File upload complete (processing pending on server)
2323
> Organization: wat-org
2424
> Projects: wat-project

0 commit comments

Comments
 (0)