8000 [dSYMs] Add Git Information to dSYMs Upload Command by maxep · Pull Request #2001 · DataDog/datadog-ci · GitHub
[go: up one dir, main page]

Skip to content

Conversation

@maxep
Copy link
Member
@maxep maxep commented Dec 4, 2025

What and why?

This PR adds git repository information support to the iOS dSYMs upload command, enabling Source Code Integration for iOS.

The implementation adds:

  • Repository URL and commit SHA metadata to dSYM uploads
  • Repository blob payload containing the complete list of tracked files from the git repository
  • Three new CLI optional args: --repository-url, --commit, and --disable-git
  • Automatic git information detection

How?

The implementation follows the same pattern used in React Native and JS sourcemaps commands:

  • Added GitData interface and updated CompressedDsym class to include git metadata and repository blob in multipart payloads
  • Implemented addRepositoryDataToPayloads() method that collects git data and enriches payloads after creation
  • Implemented getRepositoryPayload() method that creates repository blob JSON with all tracked files from git ls-files

Review checklist

  • Feature or bugfix MUST have appropriate tests (unit, integration)

@maxep maxep added the rum Related to [dsyms, flutter-symbols, react-native, sourcemaps, unity-symbols] label Dec 4, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

rum Related to [dsyms, flutter-symbols, react-native, sourcemaps, unity-symbols]

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants

0