Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upBetter handle intermittent JSON parsing error #7182
Conversation
57ba367
to
deb03dc
|
Issue ran into again (nice) and here's how the fix handled it:
Gonna download the log file and look at a different fix; looks like this log is being cut off and needs proper formation before it parses as JSON |
|
Passed on all except Android; going to re-run Android + Linux. Might run Linux a few times, to see if it hits the failed parse condition |
|
CI passed great on Android this time; Linux also worked without issue. Gonna try one more Linux run, then I think this is ready for consideration |
|
Perfect! The last build ran into the issue and this work-around worked great
|
|
@bridiver updated! Ready for re-review |
|
Per #7207 (comment), I added a commit removing the hacks and then using |
|
Looks like even with latest revision (which does More discussion about that in #2787 (comment) Last possible fix I can try would be to only apply the |
|
@bridiver @diracdeltas this is ready for re-review
The Windows only hack from #2787 is preserved, but ONLY on Windows (check done via Given the above, I believe that this PR also solves #7207 |
|
this is a way cleaner solution; nice! |
|
Created #7281 to follow up on idea @bridiver mentioned here: #7207 (comment) |
|
Looking at the PR builder run, noticed the following:
Since a failure was seen even with this PR, I don't think PR this properly solves the issue. The work-around I had before does "fix" the issue, but doesn't ensure integrity of the logs Going to close this and we'll have to revisit at another time |
bsclifton commentedDec 3, 2019
•
edited
Fixes #6189
Fixes #7207
{"phase":2,"source":{"id":73,"type":8}]})}]}Root cause not known. Not sure if Node.js
fs.readFileSyncis waiting for the file to finish writing?Submitter Checklist:
git rebase master(if needed).git rebase -ito squash commits (if needed).Test Plan:
npm run network-audit -- --output_path=src/out/Release/braveReviewer Checklist:
After-merge Checklist:
changes has landed on.