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-4117: Treat missing include files as FileNotFoundError #7458

Merged
merged 1 commit into from
Jan 29, 2024

Conversation

hadjri
Copy link
Contributor

@hadjri hadjri commented Jan 26, 2024

DEVPROD-4117

Description

Noticed this in the sandbox project in staging, where no mainline commit versions had been triggered in quite some time despite all repotracker configurations being correct. It turns out that one of the older commits in sandbox introduced an include list, even though those included files were nonexistent.

This created a bug in the repotracker job where this conditional doesn't evaluate for missing include files, causing the store revisions loop to error and exit rather than continue. This is because when include files are not found, Evergreen doesn't treat it as a FileNotFoundError hence we miss these checks.

This is a rather concerning bug, as it could lead to a stuck waterfall / fire requiring manual DB update in production if some project were to do the same.

This change makes it such that when an include file is not found, treat the error as a FileNotFoundError.

Testing

Confirmed that deploying this change to staging unblocked the stuck sandbox project.

@hadjri hadjri requested a review from a team January 26, 2024 22:20
@hadjri hadjri merged commit 3fbf3dd into evergreen-ci:main Jan 29, 2024
9 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