Skip to content
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-9920 Don't block single host TG deps if host terminates aftergroup finishes #8331

Merged
merged 4 commits into from
Sep 23, 2024

Conversation

hadjri
Copy link
Contributor

@hadjri hadjri commented Sep 20, 2024

DEVPROD-9920

Description

The change in #8323 resolves the BFs, but it does not need to run the dependency blocking logic if the task group has ran its final task.

Testing

Updated unit tests.

@hadjri hadjri requested a review from a team September 20, 2024 18:30
Copy link
Contributor

@Kimchelly Kimchelly left a comment

Choose a reason for hiding this comment

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

LGTM mod nit.


dbTask, err := task.FindOneId(nonTgTask.Id)
require.NoError(t, err)
assert.False(t, dbTask.UnattainableDependency)
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: should check if dbTask is nil before dereferencing.

# Conflicts:
#	units/host_termination.go
#	units/host_termination_test.go
@hadjri hadjri merged commit b02c38e into evergreen-ci:main Sep 23, 2024
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants