Skip to content

Commit 8643c95

Browse files
cameroncookeclaude
andcommitted
fix: use absolute path for snapshot export dir to avoid test bootstrap crash
The test process working directory differs from the shell's, so a relative path caused the SnapshotCIExportCoordinator to fail creating the export directory, triggering a preconditionFailure (SIGTRAP) during test bootstrapping. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent ffb370f commit 8643c95

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/ios_sentry_upload_snapshots.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242

4343
- name: Generate snapshot images (iPhone)
4444
run: |
45-
set -o pipefail && TEST_RUNNER_SNAPSHOTS_EXPORT_DIR="snapshot-images/" xcodebuild test \
45+
set -o pipefail && TEST_RUNNER_SNAPSHOTS_EXPORT_DIR="$PWD/snapshot-images" xcodebuild test \
4646
-scheme HackerNews \
4747
-sdk iphonesimulator \
4848
-destination 'platform=iOS Simulator,name=iPhone 17 Pro Max' \

0 commit comments

Comments
 (0)