Gracefully handle InvalidTestcaseError in variant and minimize tasks - #5406
Open
dylanjew wants to merge 1 commit into
Open
Gracefully handle InvalidTestcaseError in variant and minimize tasks#5406dylanjew wants to merge 1 commit into
dylanjew wants to merge 1 commit into
Conversation
aakallam
approved these changes
Jul 30, 2026
…ask utasks Catch `errors.InvalidTestcaseError` when retrieving testcase entities in utask_preprocess and utask_postprocess of variant_task and minimize_task, returning cleanly without raising an unhandled exception.
dylanjew
force-pushed
the
dylanj/task-errors-4
branch
from
July 31, 2026 18:14
e66fc23 to
d286fd8
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Catch
errors.InvalidTestcaseErrorwhen retrieving testcase entities in utask_preprocess and utask_postprocess of variant_task and minimize_task, returning cleanly without raising an unhandled exception.Variant tasks are notoriously error prone because we attempt to repro a crash by fanning out across builds/platforms which might not be supported combinations for whatever reasons. The goal here is to reduce the noise from expected failures so we can alert on real issues.
Testing
deployed to dev. haven't seen any of these new metrics yet but no errors either.
Related PRs