Skip to content

Conversation

@armenzg
Copy link
Member

@armenzg armenzg commented Oct 16, 2025

Reverts PR #100515 ("ci(api): Create a list of valid api urls").

This PR undoes the changes introduced by #100515, which aimed to generate TypeScript API URL definitions from Python.

Key changes reverted:

  • Removal of the tools/api_urls_to_typescript.py script and its associated pre-commit hook.
  • Deletion of the generated static/app/utils/api/knownSentryApiUrls.generated.ts and static/app/utils/api/knownGetsentryApiUrls.ts files.
  • Restoration of the original API utility files and their test counterparts, moving them back to static/app/api/.
  • Reversion of modifications to .github/file-filters.yml and .github/workflows/frontend.yml.

Conflict Resolution:
A merge conflict in .github/file-filters.yml was resolved by restoring the file to its state prior to PR #100515, as subsequent PR #101568 had introduced fixes related to the original PR's changes.

Legal Boilerplate

Look, I get it. The entity doing business as "Sentry" was incorporated in the State of Delaware in 2015 as Functional Software, Inc. and is gonna need some rights from me in order to utilize my contributions in this here PR. So here's the deal: I retain all rights, title and interest in and to my contributions, and by keeping this boilerplate intact I confirm that Sentry can use, modify, copy, and redistribute my contributions, under Sentry's choice of terms.


Slack Thread

Open in Cursor Open in Web

@cursor
Copy link
Contributor

cursor bot commented Oct 16, 2025

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

@github-actions github-actions bot added Scope: Frontend Automatically applied to PRs that change frontend components Scope: Backend Automatically applied to PRs that change backend components labels Oct 16, 2025
@github-actions
Copy link
Contributor

🚨 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 #discuss-dev-infra channel.

- added|modified: '.github/file-filters.yml'
- added|deleted|modified: '**/tsconfig*.json'
- added|deleted|modified: 'static/**/*.{ts,tsx,js,jsx,mjs}'
- added|deleted|modified: 'static/**/*.[tj]{s,sx}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: CI Inconsistency with .mjs File Handling

The updated file patterns for testable_modified and typecheckable_rules_changed now use static/**/*.[tj]{s,sx}, which excludes .mjs files. This means changes to .mjs files will no longer trigger relevant CI workflows, and creates an inconsistency with the frontend_all filter that still includes them.

Fix in Cursor Fix in Web

- added|modified: '.github/file-filters.yml'
- added|deleted|modified: '**/tsconfig*.json'
- added|deleted|modified: 'static/**/*.{ts,tsx,js,jsx,mjs}'
- added|deleted|modified: 'static/**/*.[tj]{s,sx}'
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bug: Workflow Filter Fails After Anchor Renaming

The frontend_all filter no longer triggers on changes to .github/workflows/frontend.yml. The sentry_frontend_workflow_file anchor was renamed to sentry_specific_workflow, but its reference in frontend_all was removed instead of being updated, potentially impacting CI workflows.

Fix in Cursor Fix in Web

@github-actions github-actions bot locked and limited conversation to collaborators Oct 31, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components Scope: Frontend Automatically applied to PRs that change frontend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants