Investigate source file upload duplication
Description
Adds investigation.md detailing whether sentry-cli can upload source files twice during sourcemap uploads. The investigation concludes that duplication can occur when original .js source files are present in the upload directory alongside sourcemaps that embed their sourcesContent. It also outlines scenarios where this happens and where it doesn't, along with technical details and potential solutions.
Issues
Cursor Agent can help with this pull request. Just @cursor in comments and I'll start working on changes in this branch.
Learn more about Cursor Agents
| Fails | |
|---|---|
| :no_entry_sign: | Please consider adding a changelog entry for the next release. |
Instructions and example for changelog
Please add an entry to CHANGELOG.md to the "Unreleased" section. Make sure the entry includes this PR's number.
Example:
## Unreleased
### Features
- Investigate source file upload duplication ([#2977](https://github.com/getsentry/sentry-cli/pull/2977))
If none of the above apply, you can opt out of this check by adding #skip-changelog to the PR description or adding a skip-changelog label.
Generated by :no_entry_sign: dangerJS against c6f28faff91880662aac5f10320ec696e9b81c83