-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Fix failing HyperlinkIdConsistency unit test #7655
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for catching & fixing this. It shall act as a reminder that weirdly these tests may not be running in CI? That’s unsettling. :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for catching this!
Hello @carlos-zamora! Because this pull request has the Do note that I've been instructed to only help merge pull requests of this repository that have been opened for at least 8 hours, a condition that will be fulfilled in about 4 hours 17 minutes. No worries though, I will be back when the time is right! 😉 p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
@msftbot merge this in 1 minute |
Hello @carlos-zamora! Because you've given me some instructions on how to help merge this pull request, I'll be modifying my merge approach. Here's how I understand your requirements for merging this pull request:
If this doesn't seem right to you, you can tell me to cancel these instructions and use the auto-merge policy that has been configured for this repository. Try telling me "forget everything I just told you". |
That was my concern too, but I think it's just a matter of unlucky timing. When PR #7340 was first created the hyperlink PR hadn't yet been merged, so the problem was only exposed once they were both merged together in master. If we want to prevent issues like this, we'd need to require that all PRs rebase or merge from master prior to being approved. I don't know if that's worth the hassle. |
We have something like that in AzureDevOps which will reset the CI state of PRs when there’s new commit merged in the target branch. Wonder if GitHub has this, too. |
We used to have a rule like this. It hurts our velocity too much 😄 and I'm willing to accept a little breakage from merges that expose eachothers' issues. |
Summary of the Pull Request
This fixes a typo in the
HyperlinkIdConsistency
unit test which was causing that test to fail. It was mistakenly using a/
instead of\
for the string terminator sequences.References
The test initially worked because of a bug in the state machine parser, but that bug was recently fixed in PR #7340.
PR Checklist
Validation Steps Performed
I've run the test again and it now passes.