-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
✨ Add cpp test of validator into pr checks #33371
✨ Add cpp test of validator into pr checks #33371
Conversation
Hey @rsimha! These files were changed:
Hey @ampproject/wg-caching! These files were changed:
|
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.
A couple initial comments. Happy to help in addressing them.
5601060
to
21d18af
Compare
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.
Getting closer. A few more suggestions.
During the time the |
We don't ever run So if these tests are stable and won't arbitrarily fail when runtime code changes, I'm in favor of checking them in as is. |
Raghu is correct. |
Nice work in getting this to work @antiphoton! There's one more high-level point that needs to be addressed before this can be checked in. I'm seeing that we've increased the running time of the Unfortunately, this is going to have a non-trivial effect on CI. Restarting a flaky build will now result in a nearly 20 minutes of additional running time, not to mention the fact that we're now going to run this against almost every new AMP PR. A couple questions:
/cc @ampproject/wg-caching |
It can be triggered for validator only changes. I think this should cover it, @caoboxiao can you double check that these are the files/folders we'd want tested when changed by the C++ Validator.
|
Yes, this list covers all dependencies of c++ validator tests. |
I made some changes so that |
Co-authored-by: Raghu Simha <rsimha@ampproject.org>
05ad9be
to
5eb6959
Compare
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 patiently addressing all comments. With a ~7 minute total running time for all three validator test types, this PR now LGTM!
A future clean up item would be to make the bazel logs less noisy, and only print error messages. I'm okay with handling that via a separate PR.
No description provided.