Skip to content

Commit b03a325

Browse files
runningcodeclaude
andcommitted
fix: Update test expectations to include base ref detection warnings
The new base ref auto-detection feature logs warnings when it cannot find a local branch that points to the merge-base. Updated integration tests to expect these warning messages in their output. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent 19eccf9 commit b03a325

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +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+
WARN [..] No base branch reference found (no local branch points to merge-base)
56
Successfully uploaded 1 file to Sentry
67
- tests/integration/_fixtures/build/apk.apk (http[..]/wat-org/preprod/wat-project/42)
78

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
$ sentry-cli build upload tests/integration/_fixtures/build/apk.apk
33
? failed
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+
WARN [..] No base branch reference found (no local branch points to merge-base)
56
error: Auth token is required for this request. Please run `sentry-cli login` and try again!
67

78
Add --log-level=[info|debug] or export SENTRY_LOG_LEVEL=[info|debug] to see more output.

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
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+
WARN [..] No base branch reference found (no local branch points to merge-base)
56
Successfully uploaded 1 file to Sentry
67
- tests/integration/_fixtures/build/apk.apk (http[..]/wat-org/preprod/wat-project/42)
78

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

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +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+
WARN [..] No base branch reference found (no local branch points to merge-base)
56
Successfully uploaded 1 file to Sentry
67
- tests/integration/_fixtures/build/ipa.ipa (http[..]/wat-org/preprod/wat-project/some-text-id)
78

0 commit comments

Comments
 (0)