-
-
Notifications
You must be signed in to change notification settings - Fork 717
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
Debug git history on test-render
#365
Conversation
Great, so |
Before the typescript migration only one render test out of 1200 fails: |
Failing tests due to usage of |
Yes, but only one render test uses it. See #326 (comment). |
I see your point. Interesting... I saw a report with a lot more failing tests, not sure where I saw it (I think it was #343)... |
Here is a way to see all changes between just before migrating to typescript, and where we are now (Split CI): |
I know, but you can't search there and you need to click on "show diff" like 400 times to see all the file changes content... :-( |
To load all diffs go to the for(i=0; i<document.getElementsByClassName('js-button-text').length; i++){ document.getElementsByClassName('js-button-text')[i].click();} Taken from http://www.antleon.com/2019/12/github-expand-all-collapsed-file-in-pr-diffs/ |
Nice!! Thanks! |
The render test Workflow result is here. This test already failed at tag Let's check now if this test passed before we forked, i.e. at f87090b. OK, it failed already before we forked, see here. |
I tried git-bisect on commits in https://github.com/maplibre/maplibre-gl-js/pull/209/commits on my 2015 macbook pro - it wasn't too helpful since there were large ranges of commits where the render tests weren't runnable, but one thing I found was that if you check out a963b6e (about halfway through) then
(Also, So the text writing mode test failure was introduced somewhere between cf52cc9...a963b6e and the rest between a963b6e...8d789b7 Looking at the failing tests, it definitely seems like we want to fix them before a 2.0 release - sorry I didn't get these render tests up in CI early on, that would have made it easier to fix these during the conversion 😞 |
The branch was not compiling for some time so this is hard to figure out. If the CI was up and running at that time it would only prevent the merge to main, figuring out what causes the tests to fail would have still been hard, much like now... |
In CI on macos, the mentioned commit is failing. Any idea what is different from your environment @msbarry? |
matrix:
ref:
- f87090b70b8a6fbde1a779c44933ce32bffc5d2c # before fork
- 49bc4ca45aba6b6af98df7e1e91735dcb0d6f20f # before typescript |
test-render
currently fails for many tests. I would like to see if in the past this was not the case. GitHub makes it easy to change node versions, which is used in thetest-render.yml
workflow to go back to version 10 of node.My focus is on
debug/overdraw
because it is the first test that fails.