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

[variant_expiration] Do not rely on is_patch to identify patches #2207

Merged
merged 1 commit into from
Aug 28, 2023

Conversation

suhaibmujahid
Copy link
Member

Fixes #2206

When the attachment is a link to Phabricator, the value of is_patch will be 0 since the attachment itself is not a patch. Therefore, using is_patch to determine if an attachment is a patch will prevent the bot from recognizing that there is a patch attached.

Checklist

  • Type annotations added to new functions
  • Docs added to functions touched in main classes
  • Dry-run produced the expected results
  • The to-be-announced tag added if this is worth announcing

@suhaibmujahid suhaibmujahid merged commit 89f9218 into mozilla:master Aug 28, 2023
1 check passed
@suhaibmujahid suhaibmujahid deleted the variant-ni branch August 28, 2023 14:29
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.

The bot asks for a patch to drop/extend the variant even when there is one attached
2 participants