How It Works
Source context is displayed when:- Source maps are uploaded for the release
- GitHub integration is configured for the project
- The error includes a release/commit SHA
Requirements
1
Upload Source Maps
2
Connect GitHub
Connect your GitHub repository to your Proliferate project:
- Go to Settings → Integrations
- Click Install GitHub App
- Select the repositories to grant access
- Link the repository to your project
3
Set Release Version
Errors must include a release version (commit SHA):
What You See
Stack Frame with Source
Each stack frame can show source context:Source Map Resolution
When source maps are available, minified locations are resolved to original source:GitHub Link
Click View in GitHub to jump directly to the code:Parsed Stack Trace
The stack trace is parsed to show:| Field | Description |
|---|---|
file | Original file path |
line | Line number |
column | Column number |
function | Function name |
resolved_file | Source-mapped file (if different) |
resolved_line | Source-mapped line |
can_fetch_source | Whether source can be displayed |
github_url | Direct link to GitHub |
Configuration
Project Settings
Configure source context in project settings:- GitHub Repository: Link to your code repository
- Source Path Prefix: Strip prefix from file paths (e.g.,
webpack://)
Source Path Prefix
If your source maps include webpack or other prefixes:Troubleshooting
Source Not Displaying
Source Not Displaying
Check source maps are uploaded:Check GitHub integration:
- Verify repository is linked in Settings → Integrations
- Ensure the GitHub App has access to the repository
- Verify errors include the
releasefield - Ensure release version matches uploaded source maps
Wrong Source Showing
Wrong Source Showing
Source map mismatch:
- Rebuild and re-upload source maps
- Verify the source map file matches the minified file
- Check source path prefix in project settings
- Verify paths in source maps match your repository structure
Source Maps Not Resolving
Source Maps Not Resolving
Check URL matching:
- Source map URL must match the error’s file URL
- Check
url_prefixconfiguration in build plugin
Best Practices
Upload in CI/CD
Use Commit SHAs
Keep Maps Private
Configure Prefixes
Security
Source context uses read-only access to your repository. The GitHub App cannot modify your code.
What Data is Accessed
- Repository contents: Only source files at specific commits
- No credentials stored: GitHub App uses temporary installation tokens
- Read-only access: Cannot modify your repository
Access Control
- Only users with project access can view source context
- Source is fetched on-demand, not stored permanently
- GitHub access is per-organization, managed via the GitHub App
Sensitive Code
For sensitive code:- Use
.gitignoreto exclude files - Mark files as
blockedin your source maps - Configure the GitHub App to exclude specific paths

