Closed dkundel closed 4 years ago
I'm not seeing this on the typescript website which is using danger-js - is it possibly the work your doing in the dangerfile?
I tried to debug it locally by running npx danger pr ...
against one of the PRs that was failing. It seems like it's failing during the step where I call danger.git.JSONPatchForFile('_data/pixels.json');
.
So it seems to be an internal danger
issue.
If you want to replicate it, you can clone https://github.com/twilio-labs/open-pixel-art and run npx danger pr https://github.com/twilio-labs/open-pixel-art/pull/1943
Cool, thanks for the repro!
I think I found some additional info. This error seems to happen if people do a change to the JSON at the bottom while it's passing if it's in the middle.
@orta do you have an update on this? It's breaking the experience of Open Pixel Art :(
Nope, you're welcome to look into it 👍
Great! I'll try to work on it live on Friday at 1pm PT on twitch.tv/dkundel. Let's see how that goes
Woo! Good luck!
Hi there,
I'm running Danger for a project using GitHub Actions. For most of the time this worked great but recently it started crashing on every run because it's running out of memory. There hasn't been any changes to the GitHub workflow file or to the Dangerfile.
You can find an example of the error here https://github.com/twilio-labs/open-pixel-art/pull/1946/checks?check_run_id=426717243
Full error message