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-11922: Prevent task page from erroring due to missing distro #8503

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

minnakt
Copy link
Contributor

@minnakt minnakt commented Nov 22, 2024

DEVPROD-11922

Description

Runtime Environments team wants to delete distros, but they found a bug where deleting the distro makes the task page unviewable due to a 404 error.

This PR fixes the bug by not throwing an error in the case of a missing distro.

Testing

  • I made a new distro on staging called ubuntu1604-large-mina and then ran a task on that distro. Then I deleted the distro, which caused the task page to error with a 404. After applying the changes in this PR, I could view the task page properly again.

@minnakt minnakt marked this pull request as ready for review November 22, 2024 06:03
@minnakt minnakt requested a review from a team November 22, 2024 06:04
@minnakt minnakt changed the title DEVPROD-11922: Prevent task page error due to missing distro DEVPROD-11922: Prevent task page from erroring due to missing distro Nov 25, 2024
@minnakt minnakt merged commit d0a7b12 into evergreen-ci:main Nov 25, 2024
10 checks passed
@minnakt minnakt deleted the DEVPROD-11922 branch November 25, 2024 20:09
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