-
Notifications
You must be signed in to change notification settings - Fork 131
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
DEVPROD-11928 remove legacy task planner #8745
base: main
Are you sure you want to change the base?
Conversation
@@ -214,8 +214,6 @@ func (r *plannerSettingsResolver) Version(ctx context.Context, obj *model.APIPla | |||
} | |||
|
|||
switch utility.FromStringPtr(obj.Version) { | |||
case evergreen.PlannerVersionLegacy: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The E2E tests are failing because the default case is triggered after removing this case statement. This can probably be fixed by adjusting the testdata and verified locally by running Spruce and Cypress.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM mod nits.
rest/model/scheduler.go
Outdated
@@ -1,8 +1,7 @@ | |||
package model | |||
|
|||
type CompareTasksRequest struct { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can delete this file since the compare tasks route is removed.
rest/route/distro_test.go
Outdated
@@ -729,6 +732,7 @@ func (s *DistroPatchByIDSuite) TestRunProviderSettingsList() { | |||
resp := s.rm.Run(ctx) | |||
s.NotNil(resp.Data()) | |||
s.Equal(http.StatusOK, resp.Status()) | |||
fmt.Println(resp.Data()) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
nit: remove stray print
DEVPROD-11928
Description
Remove the legacy task planner. Similarly to how we removed legacy dispatcher versions, not fully removing the list structure or anything, since we could presumably add new versions one day.
All distros in prod are explicitly using tunable. Before merging, will update distros in staging.
evergreen-ci/ui#654
Testing
Ensured existing tests pass.
Documentation
Updated docs.