- Notifications
You must be signed in to change notification settings - Fork923
Commitf2fe379
authored
fix: make GetWorkspacesEligibleForTransition return less false-positives (#15429)
Relates to#15082The old implementation of `GetWorkspacesEligibleForTransition` returnsmany workspaces that are not actually eligible for transition. This newimplementation reduces this number significantly (at least on ourdogfood instance).1 parentfa69d1c commitf2fe379
File tree
7 files changed
+210
-116
lines changed- coderd/database
- dbauthz
- dbmem
- dbmetrics
- dbmock
- queries
7 files changed
+210
-116
lines changedLines changed: 1 addition & 1 deletion
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
2803 | 2803 |
| |
2804 | 2804 |
| |
2805 | 2805 |
| |
2806 |
| - | |
| 2806 | + | |
2807 | 2807 |
| |
2808 | 2808 |
| |
2809 | 2809 |
| |
|
Lines changed: 68 additions & 29 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
6868 | 6868 |
| |
6869 | 6869 |
| |
6870 | 6870 |
| |
6871 |
| - | |
| 6871 | + | |
6872 | 6872 |
| |
6873 | 6873 |
| |
6874 | 6874 |
| |
6875 |
| - | |
| 6875 | + | |
6876 | 6876 |
| |
6877 | 6877 |
| |
6878 | 6878 |
| |
6879 |
| - | |
6880 |
| - | |
6881 |
| - | |
6882 |
| - | |
6883 |
| - | |
6884 |
| - | |
6885 |
| - | |
6886 |
| - | |
6887 |
| - | |
| 6879 | + | |
6888 | 6880 |
| |
6889 | 6881 |
| |
6890 |
| - | |
6891 |
| - | |
6892 |
| - | |
6893 |
| - | |
6894 |
| - | |
| 6882 | + | |
| 6883 | + | |
| 6884 | + | |
6895 | 6885 |
| |
6896 | 6886 |
| |
6897 | 6887 |
| |
6898 | 6888 |
| |
6899 | 6889 |
| |
6900 | 6890 |
| |
6901 |
| - | |
6902 |
| - | |
6903 |
| - | |
6904 |
| - | |
6905 | 6891 |
| |
6906 | 6892 |
| |
6907 | 6893 |
| |
6908 | 6894 |
| |
6909 | 6895 |
| |
6910 |
| - | |
6911 |
| - | |
| 6896 | + | |
| 6897 | + | |
6912 | 6898 |
| |
6913 | 6899 |
| |
6914 |
| - | |
6915 |
| - | |
| 6900 | + | |
| 6901 | + | |
| 6902 | + | |
| 6903 | + | |
| 6904 | + | |
| 6905 | + | |
| 6906 | + | |
| 6907 | + | |
| 6908 | + | |
6916 | 6909 |
| |
6917 | 6910 |
| |
6918 | 6911 |
| |
6919 |
| - | |
6920 |
| - | |
6921 |
| - | |
| 6912 | + | |
| 6913 | + | |
| 6914 | + | |
| 6915 | + | |
| 6916 | + | |
| 6917 | + | |
| 6918 | + | |
| 6919 | + | |
| 6920 | + | |
6922 | 6921 |
| |
6923 |
| - | |
6924 |
| - | |
| 6922 | + | |
| 6923 | + | |
| 6924 | + | |
| 6925 | + | |
| 6926 | + | |
| 6927 | + | |
| 6928 | + | |
| 6929 | + | |
| 6930 | + | |
| 6931 | + | |
| 6932 | + | |
| 6933 | + | |
| 6934 | + | |
| 6935 | + | |
| 6936 | + | |
| 6937 | + | |
| 6938 | + | |
| 6939 | + | |
| 6940 | + | |
| 6941 | + | |
| 6942 | + | |
| 6943 | + | |
| 6944 | + | |
| 6945 | + | |
| 6946 | + | |
| 6947 | + | |
| 6948 | + | |
| 6949 | + | |
| 6950 | + | |
| 6951 | + | |
| 6952 | + | |
| 6953 | + | |
| 6954 | + | |
| 6955 | + | |
| 6956 | + | |
| 6957 | + | |
| 6958 | + | |
| 6959 | + | |
| 6960 | + | |
| 6961 | + | |
| 6962 | + | |
| 6963 | + | |
6925 | 6964 |
| |
6926 | 6965 |
| |
6927 | 6966 |
| |
|
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
Lines changed: 73 additions & 50 deletions
Some generated files are not rendered by default. Learn more aboutcustomizing how changed files appear on GitHub.
0 commit comments
Comments
(0)