Skip to content

feat(snapshots): Wire VCS extension to snapshots upload task#1102

Merged
runningcode merged 2 commits intomainfrom
no/wire-vcs-info-to-snapshots
Mar 13, 2026
Merged

feat(snapshots): Wire VCS extension to snapshots upload task#1102
runningcode merged 2 commits intomainfrom
no/wire-vcs-info-to-snapshots

Conversation

@runningcode
Copy link
Copy Markdown
Contributor

@runningcode runningcode commented Mar 12, 2026

Summary

  • Wires all vcsInfo extension properties (headSha, baseSha, vcsProvider, headRepoName, baseRepoName, headRef, baseRef, prNumber) to SentryUploadSnapshotsTask, matching how they're already wired for SentryUploadAppArtifactTask (build uploads / size analysis)
  • Updates VcsInfoExtension KDoc to reflect that it now also applies to snapshot uploads
  • Adds tests verifying VCS args are passed through and omitted when unset

🤖 Generated with Claude Code

EME-950

The VcsInfoExtension was only wired to the build upload task (size
analysis). This wires the same VCS properties (head-sha, base-sha,
vcs-provider, head/base-repo-name, head/base-ref, pr-number) to the
snapshots upload task so sentry-cli can send git metadata with
snapshot uploads.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 12, 2026

Semver Impact of This PR

🟡 Minor (new features)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

  • (snapshots) Wire VCS extension to snapshots upload task by runningcode in #1102

Internal Changes 🔧

  • (deps) Update CLI to v3.3.3 by github-actions in #1101

🤖 This preview updates automatically when you update the PR.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Mar 12, 2026

Messages
📖 Do not forget to update Sentry-docs with your feature once the pull request gets approved.

Generated by 🚫 dangerJS against 4857aa9

@runningcode runningcode marked this pull request as ready for review March 12, 2026 10:01
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@runningcode runningcode merged commit 99fa709 into main Mar 13, 2026
21 checks passed
@runningcode runningcode deleted the no/wire-vcs-info-to-snapshots branch March 13, 2026 07:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants