ref(preprod): Remove duplicated project-scoped endpoints from preprod URLs#109878
ref(preprod): Remove duplicated project-scoped endpoints from preprod URLs#109878
Conversation
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 1 potential issue.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
tests/sentry/preprod/api/endpoints/test_preprod_artifact_rerun_status_checks.py
Show resolved
Hide resolved
|
🚨 Warning: This pull request contains Frontend and Backend changes! It's discouraged to make changes to Sentry's Frontend and Backend in a single pull request. The Frontend and Backend are not atomically deployed. If the changes are interdependent of each other, they must be separated into two pull requests and be made forward or backwards compatible, such that the Backend or Frontend can be safely deployed independently. Have questions? Please ask in the |
markstory
left a comment
There was a problem hiding this comment.
Looks good. The review from cursor seems relevant.
Backend Test FailuresFailures on
|
Backend Test FailuresFailures on
|
09d4712 to
cefb51f
Compare
… URLs Per TODO(EME-735), the UI has been migrated to use the organization-scoped endpoints. Remove the 7 duplicated project-based URL patterns from preprod_project_urlpatterns that already exist in preprod_organization_urlpatterns: size-analysis download, build-details, install-details, delete, size-analysis compare, rerun-analysis, and rerun-status-checks. Update tests to use org-scoped URL names and remove project slug from args. Update proxy.py timeout override to reference the org URL name. Agent transcript: https://claudescope.sentry.dev/share/QVgb4Y7aI0i0j_lm39-08H66JLrirM26_yeafNKyp0I
Two test methods inside `with patch()` blocks had deeper indentation and were missed by the initial replace_all.
…on tests - Update test_project_preprod_artifact_install_details to use org-scoped private-install-details URL instead of removed project-scoped URL - Remove PreprodArtifactEndpointProjectSlugValidationTest since it tested project-slug URL validation that no longer applies Agent transcript: https://claudescope.sentry.dev/share/UmEcUgbs0yajQhNWq884gxyoc_X5BsPue7i0iWd_0tI
cefb51f to
92dd50d
Compare
Summary
preprod_project_urlpatternsper TODO(EME-735), now that the UI has migrated to the organization-scoped equivalentsRemoved endpoints (all already exist in
preprod_organization_urlpatterns):Agent transcript: https://claudescope.sentry.dev/share/B2icamYj4DmcDwbY84JTPB8CW5MhX5D7-VWO51Bmy-Q