-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
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
Make smoke tests more deterministic #2618
Conversation
|
f2824c6
to
69bc039
Compare
I don't know if we actually want these files in the repo and showing up in diffs? |
If you think of the pros, it means that we can reliably reproduce our tests going all the way back in the git history, in case you need to track down when something broke. If a smoke test passes one day and fails the next, you can guarantee that it's because the code changed and not that there was some network issue, or that two people have two different sets of files downloaded on their machine. From experience, debugging that kind of thing can be a nightmare. FWIW only the nightly job should ever be touching this directory in specific update commits that go directly onto |
I know I jokingly say this all the time, but this actually seems like a case for submodules? When people clone this repo, they'll just get an empty file unless they pass |
Submodules would probably fix some bugs with our current implementation, but doesn't change the main pro/cons around determinism. Likewise, false positives/negatives are possible (likely?) in the current system due to network, fs, git, etc. Basically, if I see a smoke test failure (locally or CI) and you can't reproduce on your machine, there's a huge surface area to go debug whats wrong. |
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.
I'm still not a big fan of this code being checked into our repo, especially since some contributors have already mentioned that the monorepo is difficult to clone on a slow connection. But I won't block this PR if you think this is the best approach for the time being.
Lets try it out for a few weeks and if we don't like it I'm happy to revert. I agree that a longer initial download time is a pain but I have faith that the confidence boost + being able to turn smoke tests back on will be well worth it |
* sync first remote smoke tests * update smoke test scripts
* sync first remote smoke tests * update smoke test scripts
* sync first remote smoke tests * update smoke test scripts
* sync first remote smoke tests * update smoke test scripts
* sync first remote smoke tests * update smoke test scripts
Changes
Testing
Docs