When clicking on a packed / minified .js file Github Desktop hangs
See original GitHub issueDescription
When clicking on a packed / minified .js file Github Desktop hangs
Version
GitHub Desktop version: 1.03
OS version: OSX 10.12.6
Steps to Reproduce
- Open repo that contains a packed / minified .js file (my webview-library.js file is 3.1 MB)
- Attempt to interact with the Github Desktop UI (click on history, click another file, etc)
- No response from UI. The application also does not say it’s not responding.
Expected behavior: Click around and stop attempting to view that .js file
Actual behavior: Entire UI freezes up
Reproduces how often: Everytime I click on that 3.1 MB .js file
Logs
2017-10-11T00:02:47.137Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.472s)
2017-10-11T00:24:09.363Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 8.410s)
2017-10-11T00:40:05.082Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 4.277s)
2017-10-11T02:30:41.228Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 4.569s)
2017-10-11T02:30:56.366Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 2.578s)
2017-10-11T02:46:36.356Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 7.556s)
2017-10-11T03:02:30.365Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.793s)
2017-10-11T03:10:12.493Z - info: [ui] Executing updateIndex: git update-index --add --remove --replace -z --stdin (took 8.348s)
2017-10-11T03:10:54.341Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 39.301s)
2017-10-11T06:14:17.605Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 2.694s)
2017-10-11T07:39:04.050Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 4.035s)
2017-10-11T08:05:34.436Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 3.672s)
2017-10-11T08:10:53.604Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 3.903s)
2017-10-11T08:26:53.010Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 4.016s)
2017-10-11T08:58:46.151Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 4.356s)
2017-10-11T09:30:34.514Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.248s)
2017-10-11T09:46:30.212Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 2.311s)
2017-10-11T10:07:44.487Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 3.240s)
2017-10-11T10:13:04.705Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 3.501s)
2017-10-11T10:18:22.301Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 3.001s)
2017-10-11T10:23:43.112Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 2.281s)
2017-10-11T10:44:53.862Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.082s)
2017-10-11T11:06:03.062Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.355s)
2017-10-11T11:21:59.435Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 4.268s)
2017-10-11T11:59:04.729Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 4.105s)
2017-10-11T12:09:43.732Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 4.022s)
2017-10-11T12:15:05.466Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 2.172s)
2017-10-11T12:25:45.465Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 2.967s)
2017-10-11T12:31:04.862Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 3.717s)
2017-10-11T13:08:05.007Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.644s)
2017-10-11T13:18:44.498Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 2.169s)
2017-10-11T13:24:05.124Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 3.294s)
2017-10-11T13:34:45.814Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 4.141s)
2017-10-11T13:40:06.168Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.771s)
2017-10-11T13:59:08.267Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 33.120s)
2017-10-11T13:59:34.301Z - info: [ui] Executing getCommits: git log origin/master..master --date=raw --max-count=100 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%P -z --no-color (took 26.022s)
2017-10-11T13:59:34.302Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 29.306s)
2017-10-11T13:59:34.315Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 31.543s)
2017-10-11T13:59:34.326Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 35.965s)
2017-10-11T13:59:34.327Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(parent)%00%(subject)%00%(body)%00%1F refs/heads refs/remotes (took 35.969s)
2017-10-11T13:59:34.332Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 35.980s)
2017-10-11T13:59:34.359Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 40.326s)
2017-10-11T13:59:34.373Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 42.521s)
2017-10-11T13:59:34.389Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 44.671s)
2017-10-11T13:59:34.411Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 46.941s)
2017-10-11T13:59:48.611Z - info: [ui] Executing getCommits: git log origin/master..master --date=raw --max-count=100 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%P -z --no-color (took 14.194s)
2017-10-11T13:59:48.611Z - info: [ui] Executing getCommits: git log origin/master..master --date=raw --max-count=100 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%P -z --no-color (took 14.214s)
2017-10-11T13:59:48.611Z - info: [ui] Executing getCommits: git log origin/master..master --date=raw --max-count=100 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%P -z --no-color (took 14.230s)
2017-10-11T13:59:48.612Z - info: [ui] Executing getCommits: git log origin/master..master --date=raw --max-count=100 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%P -z --no-color (took 14.246s)
2017-10-11T13:59:48.616Z - info: [ui] Executing getCommits: git log origin/master..master --date=raw --max-count=100 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%P -z --no-color (took 14.276s)
2017-10-11T13:59:48.616Z - info: [ui] Executing getCommits: git log origin/master..master --date=raw --max-count=100 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%P -z --no-color (took 14.294s)
2017-10-11T13:59:48.616Z - info: [ui] Executing getCommits: git log origin/master..master --date=raw --max-count=100 --pretty=%H%x1F%s%x1F%b%x1F%an <%ae> %ad%x1F%P -z --no-color (took 14.307s)
2017-10-11T13:59:48.617Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 17.591s)
2017-10-11T13:59:48.618Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(parent)%00%(subject)%00%(body)%00%1F refs/heads refs/remotes (took 17.596s)
2017-10-11T13:59:48.619Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 17.603s)
2017-10-11T13:59:48.651Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 24.142s)
2017-10-11T13:59:48.661Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 37.121s)
2017-10-11T13:59:48.662Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(parent)%00%(subject)%00%(body)%00%1F refs/heads refs/remotes (took 37.126s)
2017-10-11T13:59:48.662Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 37.131s)
2017-10-11T13:59:52.960Z - info: [ui] launching: 1.0.3 (Mac OS 10.12.6)
2017-10-11T14:00:02.182Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 9.170s)
2017-10-11T14:00:44.000Z - info: [ui] launching: 1.0.3 (Mac OS 10.12.6)
2017-10-11T14:00:49.888Z - info: [ui] Executing push: git -c credential.helper= push origin master:master --progress (took 3.742s)
2017-10-11T14:11:03.822Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.412s)
2017-10-11T15:28:04.503Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.548s)
2017-10-11T15:59:02.562Z - info: [ui] Executing fetch: git -c credential.helper= fetch --progress --prune origin (took 1.252s)
2017-10-11T18:09:20.369Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 9.033s)
2017-10-11T18:09:20.373Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(parent)%00%(subject)%00%(body)%00%1F refs/heads refs/remotes (took 9.040s)
2017-10-11T18:09:20.373Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 9.035s)
2017-10-11T18:16:43.280Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 12.859s)
2017-10-11T18:16:43.281Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(parent)%00%(subject)%00%(body)%00%1F refs/heads refs/remotes (took 12.865s)
2017-10-11T18:16:43.284Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 12.876s)
2017-10-11T18:17:15.947Z - info: [ui] Executing getAuthorIdentity: git var GIT_AUTHOR_IDENT (took 32.643s)
2017-10-11T18:17:15.948Z - info: [ui] Executing getRemotes: git remote -v (took 32.651s)
2017-10-11T18:17:15.965Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 32.647s)
2017-10-11T18:17:15.971Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(parent)%00%(subject)%00%(body)%00%1F refs/heads refs/remotes (took 32.648s)
2017-10-11T18:17:15.971Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 32.642s)
2017-10-11T18:17:16.078Z - info: [ui] Executing getWorkingDirectoryDiff: git diff HEAD --no-ext-diff --patch-with-raw -z --no-color -- dist/webview-library.js (took 32.793s)
2017-10-11T18:19:50.884Z - info: [ui] Executing getStatus: git status --untracked-files=all --branch --porcelain=2 -z (took 136.640s)
2017-10-11T18:19:50.931Z - info: [ui] Executing getBranches: git for-each-ref --format=%(refname)%00%(refname:short)%00%(upstream:short)%00%(objectname)%00%(author)%00%(parent)%00%(subject)%00%(body)%00%1F refs/heads refs/remotes (took 136.636s)
2017-10-11T18:19:50.931Z - info: [ui] Executing getRecentBranches: git log -g --no-abbrev-commit --pretty=oneline HEAD -n 2500 -- (took 136.633s)
Issue Analytics
- State:
- Created 6 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
introduce some soft limits around diff rendering · Issue #2596
When clicking on a packed / minified .js file Github Desktop hangs #3016 ... @desktop desktop unlocked this conversation on Sep 27, 2018....
Read more >git - GitHub desktop stuck on syncing?
I'm trying out GitHub desktop for windows. I downloaded it from https://desktop.github.com/. Logged in with my GitHub credentials and created a ...
Read more >A Definitive Guide to Handling Errors in JavaScript
These objects contain ample information about the type of the error, the statement that caused the error, and the stack trace when the...
Read more >Debugging in Visual Studio Code
Debugger extensions. VS Code has built-in debugging support for the Node.js runtime and can debug JavaScript, TypeScript, or any other language that gets ......
Read more >Secure Endpoint Best Practices Guide
To improve performance, the file scan process stops, if there is a cache hit. ... Packed Files" Setting, Tetra will no longer detect...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
10/10 would GitHub again 😄
Fair enough 😃 You guys are doing a great job in all aspects so thank you for all your hard work it’s appreciated just about every working hour of every day by me 😃
Last comment / question: Should I put a request in about having some clarity in the github desktop app to know that I’m doing
git pull origin master
or maybe rename in the desktop app nav “Update from Default Branch” -> “Update from Master” or it finds the default name and puts it there. I don’t trust myself to know that Default Branch = Master and I have a few different repos within projects that may have been tampered with by others 😃 Thanks again for the quick response 🏆