Skip to content

Conversation

@ceorourke
Copy link
Member

Now that the betterPriority sort is out and has replaced the old priority, just rename everything to priority for simplicity.

Step 1: FE PR: #52910
Step 2: Migration: #52909
Step 3: This PR!

@ceorourke ceorourke requested a review from a team as a code owner July 14, 2023 20:19
@ceorourke ceorourke requested review from a team and removed request for a team July 14, 2023 20:19
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 14, 2023
@codecov
Copy link

codecov bot commented Jul 14, 2023

Codecov Report

Merging #52915 (8abb7c1) into master (f039bc9) will increase coverage by 0.00%.
The diff coverage is 100.00%.

Additional details and impacted files
@@           Coverage Diff           @@
##           master   #52915   +/-   ##
=======================================
  Coverage   79.37%   79.37%           
=======================================
  Files        4934     4934           
  Lines      207222   207221    -1     
  Branches    35405    35405           
=======================================
+ Hits       164486   164489    +3     
+ Misses      37704    37702    -2     
+ Partials     5032     5030    -2     
Impacted Files Coverage Δ
src/sentry/models/savedsearch.py 100.00% <ø> (ø)
src/sentry/search/snuba/executors.py 90.51% <100.00%> (ø)

... and 3 files with indirect coverage changes

ceorourke added a commit that referenced this pull request Jul 17, 2023
Change references to the new priority sort to just "priority" for
simplicity and to prevent more saved searches being created with the
sort string "betterPriority".

After this is merged we'll run a migration to make all saved searches
for priority sort the same
(#52909) and then finish by
cleaning up the backend to only accept "priority" (right now it treats
betterPriority and priority the same".

Step 1: This PR
Step 2: Migration #52909
Step 3: Backend PR #52915
ceorourke added a commit that referenced this pull request Jul 17, 2023
Now that we've GA'd the new priority sort, we should clean up the saved
searches that were made with the sort "betterPriority".

Step 1: Front end PR to stop saving searches w/ betterPriority
#52910
Step 2: This PR
Step 3: Backend PR #52915
@ceorourke ceorourke merged commit 91ef3f0 into master Jul 17, 2023
@ceorourke ceorourke deleted the ceorourke/only-support-priority branch July 17, 2023 22:14
@github-actions github-actions bot locked and limited conversation to collaborators Aug 2, 2023
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants