Skip to content

ref(deletion): Simplify finding Group deletion errors #93511

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jun 13, 2025

Conversation

armenzg
Copy link
Member

@armenzg armenzg commented Jun 13, 2025

This will remove the need for extra logging.

This will remove the need for extra logging.
@armenzg armenzg self-assigned this Jun 13, 2025
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jun 13, 2025
@@ -68,6 +68,8 @@ def delete_group_list(
{
"project_id": project.id,
"transaction_id": transaction_id,
Copy link
Member Author

Choose a reason for hiding this comment

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

I have managed to use Discover and transaction_id to find an error, however, it requires doing various Redash queries and GCP searches. This will remove the need of all the added logging.

@armenzg armenzg requested review from markstory and a team June 13, 2025 15:02
@armenzg armenzg marked this pull request as ready for review June 13, 2025 15:02
@armenzg armenzg requested a review from a team as a code owner June 13, 2025 15:02
@armenzg armenzg enabled auto-merge (squash) June 13, 2025 15:11
@@ -68,6 +68,8 @@ def delete_group_list(
{
"project_id": project.id,
"transaction_id": transaction_id,
"group_deletion_project_id": project.id,
"group_deletion_group_ids": group_ids,
Copy link
Member

Choose a reason for hiding this comment

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

I don't think group_deletion_group_ids is going to work as expected, tag values are always strings. group_deletion_project_id is also the same value as project_id, is that intentional?

Copy link
Member Author

Choose a reason for hiding this comment

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

It is intentional. Starting with group_deletion_ is clearer.

I have updated group_ids to be a string. Thanks for catching that!

Copy link
Member

@mrduncan mrduncan left a comment

Choose a reason for hiding this comment

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

If you're not actually filtering on them, group_deletion_group_ids will be on the object.delete.api log line on the issues as well (logged above on line 58)

@armenzg
Copy link
Member Author

armenzg commented Jun 13, 2025

If you're not actually filtering on them, group_deletion_group_ids will be on the object.delete.api log line on the issues as well (logged above on line 58)

I want to avoid GCP altogether

@armenzg armenzg merged commit 163fd66 into master Jun 13, 2025
63 checks passed
@armenzg armenzg deleted the ref/tag_deletion/group/armenzg branch June 13, 2025 15:35
Copy link

codecov bot commented Jun 13, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

✅ All tests successful. No failed tests found.

Additional details and impacted files
@@            Coverage Diff             @@
##           master   #93511      +/-   ##
==========================================
+ Coverage   86.70%   88.00%   +1.29%     
==========================================
  Files       10305    10316      +11     
  Lines      594364   594501     +137     
  Branches    23086    23086              
==========================================
+ Hits       515324   523161    +7837     
+ Misses      78591    70891    -7700     
  Partials      449      449              

billyvg pushed a commit that referenced this pull request Jun 18, 2025
This will remove the need for extra logging.
andrewshie-sentry pushed a commit that referenced this pull request Jun 19, 2025
This will remove the need for extra logging.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants