getsentry / sentry

Developer-first error tracking and performance monitoring
https://sentry.io
Other
37.59k stars 4.04k forks source link

Support adding code mapping path in Github integration by API or sentry-cli #71645

Open oriolpiera opened 1 month ago

oriolpiera commented 1 month ago

Problem Statement

In Odoo environment, we have a complex file routing for the code.

Source code:

addons/some_topic/module_1
addons/other_topic/module_2

The app get all addons from folder server/bin/addons/ that has link to source code addons

server/bin/addons/module_1
server/bin/addons/module_2

Solution Brainstorm

As I suspect that you cannot support all the code path escenarios, may be you can add entry point in API or CLI to add massively code mapping entries of all our modules.

Product Area

Settings - Integrations

getsantry[bot] commented 1 month ago

Assigning to @getsentry/support for routing ⏲️

getsantry[bot] commented 1 month ago

Routing to @getsentry/product-owners-settings-projects for triage ⏲️

getsantry[bot] commented 1 month ago

Routing to @getsentry/product-owners-issues for triage ⏲️

cathteng commented 1 month ago

Is this endpoint publishable? https://github.com/getsentry/sentry/blob/416c57863271a32e5a5b20f05581f20f5dac528c/src/sentry/api/endpoints/organization_derive_code_mappings.py